Skip to content
Last updated

Subscribe to real-time diagnostic log entries using Server-Sent Events (SSE).

GEThttps://api.aitronos.com/v1/meeting-buddy/sessions/{session_id}/logs/stream

Opens a persistent SSE connection that delivers diagnostic log entries for a Meeting Buddy session in real time. The response uses the text/event-stream content type. This is useful for debugging bot connection issues, monitoring audio relay health, and observing session lifecycle events as they happen.

The server sends a keepalive comment (: keepalive) every 15 seconds to prevent proxy timeouts. When the session reaches a terminal state, a close event is sent and the stream ends.

Path Parameters

session_id string required

The session identifier. Must start with mbsess_.

Event Types

log — Diagnostic log entry

Sent when a notable event occurs during the session lifecycle.

FieldTypeDescription
session_idstringSession identifier
levelstringLog level: "info", "warning", or "error"
messagestringHuman-readable log message
timestampstringISO 8601 timestamp
detailsobject or nullAdditional context (e.g., meeting ID, error details)

close — Stream termination

Sent when the session reaches a terminal state. The stream closes after this event.

FieldTypeDescription
reasonstringAlways "session_ended"

Common Log Messages

LevelMessageDescription
infoBot audio relay connectedBot successfully connected to the audio relay
infoBot leaving meeting (end_session)Session stop was requested
warningBot disconnected from audio relayBot lost connection unexpectedly
errorAudio relay errorAn error occurred in the audio pipeline

Returns

A text/event-stream response. Each event is formatted as:

event: <event_type>
data: <json_payload>

A keepalive comment is sent every 15 seconds:

: keepalive
cURL
curl -N -H "Authorization: Bearer $ACCESS_TOKEN" \
  "https://api.aitronos.com/v1/meeting-buddy/sessions/mbsess_abc123def456/logs/stream"