Brain

GET /v1/brain/jobs/stats

Aggregate job-queue stats (pending/running/failed counts by kind)

unison-brain
GET /v1/brain/jobs/stats

Aggregate job-queue stats (pending/running/failed counts by kind).

Required scope: brain:admin

Example

curl -X GET 'https://brain.unisonlabs.ai/v1/brain/jobs/stats' \
  -H "Authorization: Bearer $UNISON_TOKEN"

Returns the JSON described above on success, or an error envelope { "error": { "code", "message" } } on failure.