Skip to main content
The QueueItem schema represents an emergency call in the dispatch queue, including priority information and routing context.

Schema definition

call_id
string
required
Unique identifier for the emergency call, matching the call_id in the CallPacket
priority
integer
default:"0"
Priority level for the call in the queue. Higher values indicate higher priority. Default is 0 for standard priority calls.
reason
string
Optional explanation for the assigned priority level or special routing instructions

Example

{
  "call_id": "call_abc123xyz",
  "priority": 10,
  "reason": "High distress score detected with fire hazard indicators"
}

Priority levels

Priority levels are typically assigned based on analysis of the CallPacket data, including distress scores, detected hazards, and identified intents.
Common priority assignments:
  • 0-3: Standard calls, non-emergency situations
  • 4-6: Moderate priority, minor emergencies
  • 7-9: High priority, serious situations requiring rapid response
  • 10+: Critical emergencies, life-threatening situations

Build docs developers (and LLMs) love