Skip to main content
GET
Get Task Summary

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string<uuid>
required
task_id
string<uuid>
required
workspace
string
required

Slug of the workspace the request acts in

Maximum string length: 120
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$

Response

Successful Response

Headline rollup for a single task: its run times, answer, error and spend.

Read from the task row and the spend ledger. cost sums the task's current ledger lines in currency, the billing currency. duration_ms runs from the task's first start to its last end, idle waits between turns included.

agent_id
string<uuid>
required
currency
string
required
status
string
required
task_id
string<uuid>
required
workspace_id
string
required
cost
number
default:0
duration_ms
number | null
ended_at
string<date-time> | null
final_response
string | null
last_error
string | null
started_at
string<date-time> | null