Get orchestration queue stats
GET/v1/projects/:project_id/orchestrations/queue/stats
Returns a point-in-time snapshot of the orchestration run queue: how many tasks are waiting to be claimed (queue_depth), how many are currently claimed with a valid lease (claimed_tasks), the age of the oldest waiting task, recent claim-latency percentiles over a rolling in-process window. The per-project breakdown is listed by GET /v1/projects/{project_id}/orchestrations/queue/stats/projects.
Every figure is scoped to what the caller may see. A project-scoped caller gets queue_depth and claimed_tasks summed over their own projects, and null for oldest_queued_age_seconds and the claim_latency_ms percentiles — both describe the whole deployment and cannot be narrowed, so they are withheld rather than approximated.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Queue stats snapshot
The request was malformed or failed validation.
Unauthorized
Forbidden
The project does not exist or the caller is not a member of it (RESOURCE_NOT_FOUND).
QUOTA_EXCEEDED — a requests quota on the calling API key or its project is spent for the window; Retry-After says when it reopens
Response Headers
Seconds until the quota window admits a request again
Unexpected server error — INTERNAL_ERROR, with the raw message never forwarded