v12

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01251238661.6 KB
v1
protected
agent-tasks

Get Task Summary

Per-task rollup derived from the event log via the task_summary view.

Workspace-scoped: the row 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).

get/v1/agents/{agent_id}/tasks/{task_id}/summary

Path parameters

agent_idstring uuid required
task_idstring uuid required

Response

Successful Response

agent_idstring uuid required
cost_usdnumber
delegations_completedinteger
delegations_failedinteger
delegations_startedinteger
duration_msnumber nullable
ended_atstring nullable
final_responsestring nullable
iterationsinteger
last_errorstring nullable
llm_callsinteger
llm_calls_failedinteger
started_atstring nullable
statusstring required
task_idstring uuid required
tools_calledinteger
tools_failedinteger
workspace_idstring required