{ …envelope fields…,
"subscriptions": [ { "name": "billing-worker", "state": "acked", "attempt_count": 1 } ] }| 404 | no message with id {id} |
| 403 | a project API key naming a resource outside its project |
{ "message_id": "msg_…", "stream": "orders", "project": "payments",
"key": "tenant_42", "status": "available",
"published_at": "…", "scheduled_for": null, "deduplicated": false,
"subscriptions": [ {
"name": "billing-worker", "state": "retrying", "attempt_count": 2,
"next_attempt_at": "…", "last_error": "downstream 500",
"attempts": [ { "n": 1, "consumer": "worker-1", "started": "…",
"outcome": "nack", "error": "downstream 500", "duration_ms": 812 } ],
"blocked_by": { "message_id": "msg_earlier", "reason": "earlier message on the same key is retrying" }
} ],
"events": [ { "type": "published", "sub": null, "ts": "…", "data": { … } } ],
"envelope": { … } }| 404 | no message with id {id} |
| 403 | a project API key naming a resource outside its project |
| project | Project the name is scoped to. Omitted = "default". Ignored for project API keys — their project is enforced server-side. |
{ "keys": [ { "key": "tenant_42", "pending": 3, "in_flight": 1,
"retrying": 0, "oldest_pending": "…",
"lane_state": "flowing" } ] }| project | Project the name is scoped to. Omitted = "default". Ignored for project API keys — their project is enforced server-side. |
{ "scheduled": [ …envelopes, soonest first… ] }| project | Project the name is scoped to. Omitted = "default". Ignored for project API keys — their project is enforced server-side. |
{ "lanes": [ { "key": "tenant_7", "state": "retrying", "pending": 4,
"oldest_pending": "…", "in_flight_message": null,
"retrying_message": "msg_…", "attempts": 2, "next_attempt_at": "…" } ] }| 404 | no subscription named {sub} in project {project} |
| project | Project the name is scoped to. Omitted = "default". Ignored for project API keys — their project is enforced server-side. |
{ "sub": "billing-worker", "project": "payments", "key": "tenant_7",
"lane_state": "retrying", "next_retry_at": "…",
"deliveries": [ { "delivery_id": "dlv_…", "message_id": "msg_…", "offset": 12,
"state": "retrying", "attempt_count": 2, "next_attempt_at": "…",
"last_error": "downstream 500" } ] }| project | Project the name is scoped to. Omitted = "default". Ignored for project API keys — their project is enforced server-side. |
{ "retries": [ { "delivery_id": "dlv_…", "message_id": "msg_…",
"key": "tenant_7", "attempt_count": 2,
"next_attempt_at": "…", "last_error": "downstream 500" } ] }| 404 | no subscription named {sub} in project {project} |
{ "rates_last_minute": { "published": 120, "delivered": 118, "failed": 2 },
"rates_prev_minute": { … },
"totals": { "backlog": 14, "dead": 41, "scheduled": 2, "subscriptions": 3 },
"streams": [ { "name": "orders", "project": "payments", "messages": 1204 } ],
"subscriptions": [ { "name": "billing-worker", "project": "payments",
"stream": "orders", "paused": false, "backlog": 12, "oldest_pending": "…" } ],
"blocked_keys": [ { "sub": "billing-worker", "project": "payments",
"key": "tenant_7", "state": "retrying", "next_retry_at": "…" } ],
"recent_dead_letters": [ { "sub": "…", "project": "…", "message_id": "msg_…",
"key": "…", "error": "…", "dead_at": "…" } ] }