Skip to main content
GET
Get Task by ID

Path Parameters

task_id
string
required

Query Parameters

relationships
enum<string>[]

Task relationships that can be loaded

Available options:
agents

Response

Successful Response

Task response model with optional related data based on relationships

filesystem_id
string
required
id
string
required
namespace_id
string
required
agents
Agent · object[] | null
created_at
string<date-time> | null
created_version_id
string | null
current_version_id
string | null
name
string | null
params
Task parameters · object
status
enum<string> | null
Available options:
IDLE,
CANCELED,
COMPLETED,
FAILED,
RUNNING,
TERMINATED,
TIMED_OUT,
DELETED
status_reason
string | null
task_metadata
Task metadata · object
updated_at
string<date-time> | null