Events
For live caller turns, use the outbound Agent Relay. It reconnects, retains events until ACK, and works without a public inbound URL. Use the mailbox for non-live fallback awareness when neither relay nor webhook is available. See Agent Relay for the two-command runtime setup.Poll (fallback, consume once)
poll returns pending events and deletes them — treat it as a
one-time read.
{ event_id, agent_id, event_type, payload, created_at }.
Common event_types include call.utterance, call.completed, call.failed,
call.owner_task, and sms.received.
Peek (non-destructive)
peek previews what’s queued without consuming it — handy to check before
committing to retrieve.