lively-horse-90722
11/05/2025, 10:52 AMtall-airline-16756
11/05/2025, 10:52 AMtall-airline-16756
11/05/2025, 10:53 AMWebhookConfig on each egress request to be notified when jobs start/end/fail. Egress API | LiveKit Docs
• Agents runtime errors: If you use Agents, subscribe to ErrorEvent to detect recoverable/unrecoverable errors in sessions. Events and error handling | LiveKit docs
If you’re building reliability around alerts, you can also monitor webhook delivery health (retries/drops) and alert from your metrics pipeline. I can share example event filters or a minimal webhook handler—what kinds of errors do you need to catch (egress failures, room issues, agent errors)?
Sources: Webhooks | LiveKit docs | Webhook & Event System | livekit/livekit_composite | DeepWiki | Egress API | LiveKit Docs | Events and error handling | LiveKit docs | Troubleshooting & Common Issues | livekit/livekit_composite | DeepWikilively-horse-90722
11/05/2025, 11:00 AMtall-airline-16756
11/05/2025, 11:01 AMWebhookConfig in each egress request to get start/end/fail notifications for that job. Egress API
• Agents failures (if applicable): Poll lk agent status and alert on states like Error/CrashLoop/Build Failed. Agent CLI
Would you like a minimal webhook handler example and the specific event filters to catch failure cases you care about (e.g., egress failures vs. room/ingress issues)?
Sources: Deploying to custom environments | LiveKit Docs | Deploying to production | LiveKit Docs | Agent deployment CLI reference | LiveKit Docs | Webhooks | LiveKit docs | Webhook & Event System | livekit/livekit_composite | DeepWikilively-horse-90722
11/05/2025, 11:05 AMtall-airline-16756
11/05/2025, 11:07 AMparticipant_connection_aborted, participant_left, room_finished, and any `egress_*`/`ingress_*` if used.
◦ Each webhook includes room.name and participant/egress identifiers so you can pinpoint the exact call. Webhooks
• Filter to just failure/termination events and alert on those. The dispatcher keeps events ordered per resource (room, participant, egress) to preserve context. Webhook & Event System
• For deeper per-call diagnostics, query the Analytics API for that session (match by roomName + time window to get sessionId, then fetch details: participants, devices, connection times/quality). Analytics API
• If recording/streaming is involved, add per-request WebhookConfig to egress jobs and alert on egress_ended with error details. Egress API
Want a minimal event filter list and example payload fields to key on (room, participant, egress) for your handler?
Sources: Webhooks | LiveKit docs | Webhook & Event System | livekit/livekit_composite | DeepWiki | Analytics API | LiveKit docs | Egress API | LiveKit Docs