Skip to main content
wss://api.medera.info/sessions is the stateful, diarized live-capture WebSocket for therapy sessions. Same engine, same calibration, same structured output as /transcribe and /transcripts — but architected for the full 50-minute encounter with 2-speaker diarization, in-line C-SSRS markers, and structured instrument-score emission.

Connection

Configuration (client → server)

Events (server → client)

Lifecycle

Audio

  • 16 kHz 16-bit PCM mono recommended
  • Opus at 32 kbps for bandwidth-constrained edges
  • 20 ms frames (320 samples at 16 kHz)
  • See Audio Configuration for full formats

What you get back at session close

C-SSRS crisis markers are non-bypassable. When crisis.detected fires, the practice escalation tree is invoked immediately. The agent cannot gate, suppress, or delay the event.

What’s next

/transcribe

Stateless between-visit dictation.

/transcripts

Async batch processing.

Diarization

2-speaker separation.

Audio configuration

Formats and frame size.