Scale mode
Get queue statistics
GET
Self-hosted only. How deep the run queue is: the runs waiting in Redis, and the runs running now. See Scale mode.
apiKeyheader
AuthorizationBearer <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.
The queue.
application/json- response
queue_name?stringqueued?integeractive?integerSelf-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}