Skip to main content
POST
Cancel Task

Path Parameters

task_id
string
required

Body

application/json
reason
string | null

Response

Successful Response

id
string
required
name
string | null
status
enum<string> | null
Available options:
CANCELED,
COMPLETED,
FAILED,
RUNNING,
TERMINATED,
TIMED_OUT,
DELETED
status_reason
string | null
created_at
string<date-time> | null
updated_at
string<date-time> | null
cleaned_at
string<date-time> | null
params
Task parameters · object | null
task_metadata
Task metadata · object | null