Get Task Summary
Per-task rollup from the task row and the spend ledger.
Workspace-scoped: the task must belong to the caller’s workspace and the agent must match, or we return 404 (same shape as other task endpoints — no information leak).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Slug of the workspace the request acts in
120^[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.