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

Response

Successful Response

Headline rollup for a single task, derived from the event log.

Backed by the task_summary Postgres view. Stable contract — when the view's implementation moves to a materialized view or projection table, this shape stays the same. Per-tool breakdowns and per-artifact lists are deliberately not here; they live in their own endpoints so this stays small and additive.

agent_id
string<uuid>
required
status
string
required
task_id
string<uuid>
required
workspace_id
string
required
cost_usd
number
default:0
delegations_completed
integer
default:0
delegations_failed
integer
default:0
delegations_started
integer
default:0
duration_ms
number | null
ended_at
string | null
final_response
string | null
iterations
integer
default:0
last_error
string | null
llm_calls
integer
default:0
llm_calls_failed
integer
default:0
started_at
string | null
tools_called
integer
default:0
tools_failed
integer
default:0