Tasks Runs Post
Initiates a single task run.
POST
Authorizations
Body
application/json
Request to run a task.
Input to the task, either text or a JSON object.
Example:
"France (2023)"
Processor to use for the task.
Task specification.
User-provided metadata stored with the run. Keys and values must be strings with a maximum length of 16 and 512 characters respectively.
Response
200
application/json
Successful Response
Status of a task.
ID of the task run.
Status of the run.
Available options:
queued
, action_required
, running
, completed
, failed
, cancelling
, cancelled
Example:
"queued"
Whether the run is currently active; i.e. status is one of {'running', 'queued', 'cancelling'}.
Processor used for the run.
Timestamp of the creation of the task, as an RFC 3339 string.
Timestamp of the last modification to the task, as an RFC 3339 string.
Warnings for the run.
Human-readable message for a task.
User-provided metadata stored with the run.