Scale mode

Get queue statistics

GET
/api/v2/queue/stats

Self-hosted only. How deep the run queue is: the runs waiting in Redis, and the runs running now. See Scale mode.

apiKey
headerAuthorizationBearer <token>

An API key, sk-syn- and 32 characters. On SynapseOrch Cloud an owner or admin makes it under Settings → Developer; on a self-hosted install, under Settings → API Keys.

Response Body

The queue.

application/json
  1. response
queue_name?string
queued?integer
active?integer

Self-hosted only

curl -X GET "http://localhost:3000/api/v2/queue/stats" \  -H "Authorization: Bearer sk-syn-..."
{  "queue_name": "synapse:orchestrations",  "queued": 3,  "active": 2}