Eavesdrop
Listen to a live call and send supervisor commands. Connect with the JWT from POST /v1/calls/{callId}/eavesdrop-token via Authorization: Bearer {token} or ?token={token}. The call id is embedded in the token.
No examples found{
"type": "<string>",
"data": {
"number": "<string>",
"transfer_type": "<string>"
}
}{
"type": "<string>"
}{
"type": "<string>",
"data": {
"audio": "<string>"
}
}{
"type": "<string>",
"data": {
"audio": "<string>"
}
}{
"type": "<string>",
"data": {
"transcript": "<string>",
"turn_id": "<string>",
"is_final": true
}
}{
"type": "<string>",
"data": {
"text": "<string>",
"turn_id": "<string>",
"is_final": true
}
}No examples found{
"type": "<string>",
"data": {
"itemId": "<string>",
"callId": "<string>",
"toolName": "<string>",
"arguments": "<string>",
"output": "<string>",
"startedAt": "<string>",
"endedAt": "<string>"
}
}No examples foundNo examples foundSupervisor command to end the monitored call.
Supervisor command to transfer the monitored call.
Discriminated by type; payload in data. One of: user_audio, agent_audio, input_audio_transcript, response_text, transcript, tool_call, system_event, progress.
User-side audio chunk.
Agent-side audio chunk.
Interim or final user speech transcript.
Interim or final agent text.
Initial committed transcript history after the eavesdrop room is ready.
Server tool invocation observed on the call.
Answering-machine detection or a DTMF digit on the call.
Graph progress for the monitored call.
No examples found{
"type": "<string>",
"data": {
"number": "<string>",
"transfer_type": "<string>"
}
}{
"type": "<string>"
}{
"type": "<string>",
"data": {
"audio": "<string>"
}
}{
"type": "<string>",
"data": {
"audio": "<string>"
}
}{
"type": "<string>",
"data": {
"transcript": "<string>",
"turn_id": "<string>",
"is_final": true
}
}{
"type": "<string>",
"data": {
"text": "<string>",
"turn_id": "<string>",
"is_final": true
}
}No examples found{
"type": "<string>",
"data": {
"itemId": "<string>",
"callId": "<string>",
"toolName": "<string>",
"arguments": "<string>",
"output": "<string>",
"startedAt": "<string>",
"endedAt": "<string>"
}
}No examples foundNo examples found
