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).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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.