Skip to content
Proud to collaborate with Microsoft for Startups

queue.stats ​

Aggregate queue depth by status, plus the deepest partition keys.

Aggregate counts by status and by queue.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-queue
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
queue_namestringNo——
top_keysintegerNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
by_statusjsonNo——
by_queuejsonNo——
deepest_keysjsonNo——
totalintegerNo——
errorstringNo—Error-as-field envelope populated when query() raises.
error_typestringNo—Error-as-field envelope populated when query() raises.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
doneYesYesYes——

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "queue.stats",
  "initial_data": {
    "organization_uuid": "value"
  }
}