Run

List Runs

get

Retrieves a paginated list of runs for the authenticated user

Authorizations
x-api-keystringRequired
Query parameters
includeEventsbooleanOptionalDefault: false
userIdstringOptional

Filter runs by user ID

Example: user_12345
statusstring · enumOptional

Filter runs by a single status value

Example: RUNNINGPossible values:
customerIntegrationIdsstring[]Optional

Filter runs by customer integration IDs. Use repeated query params, for example: ?customerIntegrationIds=salesforce_abcd1234&customerIntegrationIds=hubspot_efgh5678

pagenumber · min: 1 · max: 1000OptionalDefault: 1
pageSizenumber · min: 1 · max: 100OptionalDefault: 10
Responses
chevron-right
200

Runs retrieved successfully

application/json
runIdstring · uuidRequired

Unique identifier for the run

repeatKeystring · stringRequired

Key passed or generated during creation to repeat the run later

repeatRunIdstring · uuidOptional

The UUID of the run that was repeated

statusstring · enumRequired

Current status of the run

Example: RUNNINGPossible values:
executionPlanIdstring · uuidRequired

The UUID of the execution plan that was used for the run

Example: 550e8400-e29b-41d4-a716-446655440000
eventsobject[]Required

Array of events in the run

resultobjectOptional

Result of the run execution

intentstringRequired

The intent or goal for the run

Example: Create a summary of the latest sales data
contextstringRequired

Additional context that was provided during run creation

Example: Focus on Q4 2023 data with regional breakdown
createdAtstring · date-timeRequired

Timestamp when the run was created

updatedAtstring · date-timeRequired

Timestamp when the run was last updated

get
/v1/runs

Create a new Run

post

Creates a new run with the specified intent and selected integrations

Authorizations
x-api-keystringRequired
Body
intentstringRequired

The intent or goal for the run

Example: Create a summary of the latest sales data
selectedCustomerIntegrationIdsstring[]Required

Array of selected customer integration IDs to use for the run, or use ["*"] to include all active integrations

Example: ["integration-1","integration-2"]
contextstringRequired

Additional context for the run execution

Example: Focus on Q4 2023 data with regional breakdown
userIdstringRequired

The ID of the user who is initiating the run

Example: user-123
approvalStrategystring · enumOptional

Approval strategy for the run

Example: NONEPossible values:
repeatKeystring · stringOptional

The key of the run to repeat

outputSchemaobject · json-schemaOptional

JSON Schema draft 7 schema for the run output format

Responses
post
/v1/runs

Approve or deny a run or its individual steps

get

Approve or deny a run or its individual steps

Authorizations
x-api-keystringRequired
Query parameters
tokenstringRequired
Responses
get
/v1/runs/approval

No content

Get Run details

get

Retrieves detailed information about a specific run

Authorizations
x-api-keystringRequired
Path parameters
runIdstring · uuidRequired

Unique identifier of the run to retrieve

Query parameters
includeEventsstringOptional

Include run events in the response (e.g., "true" or "false")

Responses
chevron-right
200

Run details retrieved successfully

application/json
runIdstring · uuidRequired

Unique identifier for the run

repeatKeystring · stringRequired

Key passed or generated during creation to repeat the run later

repeatRunIdstring · uuidOptional

The UUID of the run that was repeated

statusstring · enumRequired

Current status of the run

Example: RUNNINGPossible values:
executionPlanIdstring · uuidRequired

The UUID of the execution plan that was used for the run

Example: 550e8400-e29b-41d4-a716-446655440000
eventsobject[]Required

Array of events in the run

resultobjectOptional

Result of the run execution

intentstringRequired

The intent or goal for the run

Example: Create a summary of the latest sales data
contextstringRequired

Additional context that was provided during run creation

Example: Focus on Q4 2023 data with regional breakdown
createdAtstring · date-timeRequired

Timestamp when the run was created

updatedAtstring · date-timeRequired

Timestamp when the run was last updated

get
/v1/runs/{runId}

Abort a Run

delete

Aborts a running or queued run by its ID

Authorizations
x-api-keystringRequired
Path parameters
runIdstring · uuidRequired

Unique identifier of the run to abort

Responses
chevron-right
200

Run successfully aborted

No content

delete
/v1/runs/{runId}

No content

Server-Sent Events stream for a Run

get

Establishes a Server-Sent Events connection to stream real-time updates for a run

Authorizations
x-api-keystringRequired
Path parameters
runIdstring · uuidRequired

Unique identifier of the run to stream events for

Query parameters
includeToolCallsstringOptional

Include tool call details in the stream (e.g., "true" or "false"). By default, tool calls are not included and for step events, only text (description of the step) is included.

Responses
chevron-right
200

SSE stream established successfully

text/event-stream
stringOptional

Server-sent events stream with run updates

get
/v1/runs/{runId}/sse

Last updated