NovaActClient

The Nova Act service provides a REST API for managing AI-powered workflow automation. It enables users to create workflow definitions, execute workflow runs, manage sessions, and orchestrate acts (individual AI tasks) with tool integrations.

Properties

Link copied to clipboard
abstract override val config: NovaActClient.Config

NovaActClient's configuration

Functions

Link copied to clipboard
abstract suspend fun createAct(input: CreateActRequest): CreateActResponse

Creates a new AI task (act) within a session that can interact with tools and perform specific actions.

Link copied to clipboard

Creates a new session context within a workflow run to manage conversation state and acts.

Link copied to clipboard

Creates a new workflow definition template that can be used to execute multiple workflow runs.

Link copied to clipboard

Creates a new execution instance of a workflow definition with specified parameters.

Link copied to clipboard

Deletes a workflow definition and all associated resources. This operation cannot be undone.

Link copied to clipboard

Terminates and cleans up a workflow run, stopping all associated acts and sessions.

Link copied to clipboard

Retrieves the details and configuration of a specific workflow definition.

Link copied to clipboard

Retrieves the current state, configuration, and execution details of a workflow run.

Link copied to clipboard

Executes the next step of an act, processing tool call results and returning new tool calls if needed.

Link copied to clipboard
abstract suspend fun listActs(input: ListActsRequest): ListActsResponse

Lists all acts within a specific session with their current status and execution details.

Link copied to clipboard
abstract suspend fun listModels(input: ListModelsRequest): ListModelsResponse

Lists all available AI models that can be used for workflow execution, including their status and compatibility information.

Link copied to clipboard

Lists all sessions within a specific workflow run.

Link copied to clipboard
abstract suspend fun listWorkflowDefinitions(input: ListWorkflowDefinitionsRequest = ListWorkflowDefinitionsRequest { }): ListWorkflowDefinitionsResponse

Lists all workflow definitions in your account with optional filtering and pagination.

Link copied to clipboard

Lists all workflow runs for a specific workflow definition with optional filtering and pagination.

Link copied to clipboard
abstract suspend fun updateAct(input: UpdateActRequest): UpdateActResponse

Updates an existing act's configuration, status, or error information.

Link copied to clipboard

Updates the configuration or state of an active workflow run.

Inherited functions

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard
inline suspend fun NovaActClient.createAct(crossinline block: CreateActRequest.Builder.() -> Unit): CreateActResponse

Creates a new AI task (act) within a session that can interact with tools and perform specific actions.

Link copied to clipboard

Creates a new session context within a workflow run to manage conversation state and acts.

Link copied to clipboard

Creates a new workflow definition template that can be used to execute multiple workflow runs.

Link copied to clipboard

Creates a new execution instance of a workflow definition with specified parameters.

Link copied to clipboard

Deletes a workflow definition and all associated resources. This operation cannot be undone.

Link copied to clipboard

Terminates and cleans up a workflow run, stopping all associated acts and sessions.

Link copied to clipboard

Retrieves the details and configuration of a specific workflow definition.

Link copied to clipboard

Retrieves the current state, configuration, and execution details of a workflow run.

Link copied to clipboard

Executes the next step of an act, processing tool call results and returning new tool calls if needed.

Link copied to clipboard
inline suspend fun NovaActClient.listActs(crossinline block: ListActsRequest.Builder.() -> Unit): ListActsResponse

Lists all acts within a specific session with their current status and execution details.

Link copied to clipboard
inline suspend fun NovaActClient.listModels(crossinline block: ListModelsRequest.Builder.() -> Unit): ListModelsResponse

Lists all available AI models that can be used for workflow execution, including their status and compatibility information.

Link copied to clipboard

Lists all sessions within a specific workflow run.

Link copied to clipboard

Lists all workflow definitions in your account with optional filtering and pagination.

Link copied to clipboard

Lists all workflow runs for a specific workflow definition with optional filtering and pagination.

Link copied to clipboard
inline suspend fun NovaActClient.updateAct(crossinline block: UpdateActRequest.Builder.() -> Unit): UpdateActResponse

Updates an existing act's configuration, status, or error information.

Link copied to clipboard

Updates the configuration or state of an active workflow run.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.