Run a task
Executes a task, creating a new task run. The run executes asynchronously. Use events or poll the task run endpoint to track progress.
Path parameters
Unique identifier for the task (prefixed with task_).
Request body
The credential to authenticate with. Prefixed with cred_.
The source to run the task against. Prefixed with src_.
An existing session to reuse for this run. Prefixed with sess_.
Client-specified request identifier for tracing.
Response
Created
Unique identifier for the task run, prefixed with trun_.
Always task_run.
Run status: queued, running, canceling, interaction_required, review_required, completed, canceled, or failed.
Run result after completion: success, failure, or unknown. Null while running.
The task that was executed. Prefixed with task_.
The trigger that created this run, if any. Prefixed with trg_. null for runs created directly through the API.
The credential used for authentication, if any. Prefixed with cred_.
The session this run executed within, if any. Prefixed with sess_.
The agent that executed this run. Prefixed with agt_.
The source this run connected to, if any. Prefixed with src_.
Names of input fields whose values were tokenized when the run was created. The listed fields are removed from input. Returned alongside input (only when include=input is requested and one or more fields were vaulted); omitted otherwise.
ISO 8601 timestamp of when the resource was created.
ISO 8601 timestamp of when the resource was last updated.
Unique identifier for the API request. Include this when contacting support.
Changes
No recorded changes to this endpoint across all 1 revision of this API.