Skip to content
Proud to collaborate with Microsoft for Startups

queue.peek ​

Show the next eligible item per partition key without claiming it, plus the keys currently blocked by an active item.

Show what would be claimed next per partition key, without claiming.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-queue
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
queue_namestringYes——
limitintegerNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
next_itemsjsonNo——
blocked_keysjsonNo——
countintegerNo——
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.peek",
  "initial_data": {
    "organization_uuid": "value",
    "queue_name": "value"
  }
}