GET /api/v1/chats/{chatId}/runs/{runId}
Send and completion return before the model finishes. Poll this route. The public snapshot does not include a realtime token.
Status
QUEUED → THINKING → WORKING → WAITING or STOPPING → COMPLETE, FAILED, or CANCELLED.
Each tool call:
toolCallId, toolName, status (PENDING, RUNNING, SUCCESS, FAILED, CANCELLED), and errorMessage.Present while the turn is paused.
type is PLAN, CREDIT, MEDIA, or OPTIONS. An unanswered waitpoint expires on read so a stale overlay does not stick. timeoutAt is when it expires.Assistant message so far:
id, status, and contentBlocks (text, thinking, tool use, tool result, assets).Credit exhaustion stops the turn safely. Completed tool work stays on the snapshot. The run ends
FAILED rather than dropping the chat.409 RUN_ACTIVE.