Skip to main content
The CallPacket schema represents the complete data structure returned after processing an emergency call, including both NLP analysis and audio processing results.

Schema definition

call_id
string
required
Unique identifier for the emergency call
nlp
object
required
Natural language processing results from the call transcript
audio
object
required
Audio analysis results including distress detection and hazard identification

Example

{
  "call_id": "call_abc123xyz",
  "nlp": {
    "transcript": "There's a fire in my kitchen, I need help immediately!",
    "intent": "fire emergency",
    "summary": "Caller reports active kitchen fire and requests immediate assistance"
  },
  "audio": {
    "distress_score": 8.5,
    "hazards": ["smoke alarm", "elevated voice"]
  }
}

Build docs developers (and LLMs) love