The caller's work queue

View as Markdown
Everything waiting on the caller across all runs they can see, in four kinds: pending `approval`s (any space member with access may decide), ready `human_task`s assigned to them or unassigned (anyone in the space may complete those; claiming is optional), `run_attention` — a run **they started** that failed, or that parked on a person with nobody watching (an overnight automation or a channel message) — and `connector`, a connection in a space they can read whose authorization broke and needs re-auth. A run that already has an approval or task row never also gets a `run_attention` row. Grouped by run, newest run first, cursor-paginated via `starting_after` (up to 20 runs per page); `connector` items ride one extra group with `runId: null`. Reads best-effort projections — `asOf` (response) and per-run `asOf` mark staleness; a decision made seconds ago may still appear until the projection catches up, and clients poll this route (there is no push), so the badge can lag the thread you are looking at by up to 30 seconds. Both scans are capped at 200 rows, so `totalCount` — the badge number: all pending items for the caller across all pages — saturates there. Authorization: any authenticated member; non-admins see only spaces they hold `space:read` on.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

The work queue, grouped by run.
datalist of objects
totalCountinteger-9007199254740991-9007199254740991
nextCursorstring or null
asOfdatetime