v2

latestOpenAPI 3.1.02026-08-05267431678.1 KB
observability

Get Observability Categories

Spend / tokens / task count per work category.

Fixed to the 7-day classification window; the response restates the window so the UI labels it. non_coding is a first-class slice, never hidden.

get/observability/categories

Query parameters

scope'team' | 'personal'

team (default) aggregates the active team's coding-agent tasks; personal narrows to tasks on keys the requesting user created.

team (default) aggregates the active team's coding-agent tasks; personal narrows to tasks on keys the requesting user created.

Response

Successful Response

window_daysinteger required
window_startstring date-time required
unclassified_spendnumber

Spend in the window on tasks with no category — no stored prompt to classify (never persisted inline or offloaded to S3). Shown as an explicit slice, never silently dropped.

unclassified_tokensinteger

Tokens for unclassified tasks in the window.

unclassified_task_countinteger

Number of tasks with no category in the window.