Run

List Runs

get

Retrieves a paginated list of runs for the authenticated user

Authorizations
x-api-keystringRequired
Query parameters
includeEventsbooleanOptionalDefault: false
pagenumber · min: 1 · max: 1000OptionalDefault: 1
pageSizenumber · min: 1 · max: 100OptionalDefault: 10
Responses
200

Runs retrieved successfully

application/json
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

passThroughobject[]Optional

Pass through data for the run, e.g. credentials for the integrations used in the run

Example: [{"customerIntegrationId":"integration-1","headers":{"Authorization":"Bearer 1234567890"}}]
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

Responses
200

Run details retrieved successfully

application/json
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
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

Responses
200

SSE stream established successfully

text/event-stream
Responsestring

Server-sent events stream with run updates

get
/v1/runs/{runId}/sse

Last updated