Runs

Trigger and manage process runs. Start new runs and view details about run executions.

List Runs

get
/runs

Get a list of all the runs for a specified process and agent.

Authorizations
x-api-keystringRequired
Query parameters
process_idstringRequired

The unique identifier of the process.

agent_idstringRequired

The unique identifier of the agent.

limitany ofOptional

Maximum number of items to return.

Default: 10
integer · max: 100Optional
or
nullOptional
stageany ofOptional

The process stage.

string · enumOptional

Stage of a process

Possible values:
or
nullOptional
continuation_tokenany ofOptional

Pagination token used to retrieve the next page of results. It is returned in a prior response from a call made to this endpoint.

stringOptional
or
nullOptional
Responses
200

A List of runs

application/json
get
/runs

Start a Run

post
/runs

Initiates a new run (execution) of a specified process. Each run is an independent instance that can be tracked for status and results.

Authorizations
x-api-keystringRequired
Body
agent_idstring · min: 1 · max: 26Required

The ID of the agent containing the process

Example: b4fznghynbdemslfd5k044fgdPattern: ^[a-zA-Z0-9-_]+$
file_idsany ofOptional

List of IDs of files given as input to the process

Example: ["b4fznghynbdemslfd5k044fgd","9nvx1hdm9bd74rp585oe81t5i"]
string[]Optional
or
nullOptional
inputsany ofOptional

Inputs to the process

Example: [{"name":"order_id","value":"b4fznghynbdemslfd5k044fgd"}]
or
nullOptional
namestring · min: 1 · max: 100Required

Name for this run

Example: Process invoice 42
process_idstring · min: 1 · max: 26Required

The ID of the process to run

Example: b4fznghynbdemslfd5k044fgdPattern: ^[a-zA-Z0-9-_]+$
stagestring · enumRequired

The stage of the process

Example: DraftPossible values:
Responses
post
/runs

Get Run

get
/runs/{run_id}

Get the details of a specific run.

Authorizations
x-api-keystringRequired
Path parameters
run_idstringRequired

The unique identifier of the run.

Responses
200

The requested run

application/json
get
/runs/{run_id}

Last updated

Was this helpful?