Skip to main content
The conversations endpoints give you access to the full history of agent interactions: transcripts, audio recordings, metadata, evaluation results, and collected data variables. You can also use them to generate short-lived credentials for starting new conversations from client-side code.

Get a conversation

Retrieve all data for a single completed conversation.
string
required
The ID of the conversation to retrieve.
Response fields:
object[]
Turn-by-turn transcript of the conversation, including speaker labels and timestamps.
string
URL to the recorded audio for the conversation.
object
Conversation metadata including start time, end time, duration, and agent ID.
object
Scores and feedback from any evaluation criteria configured on the agent.
object
Values collected via data collection tools during the conversation.

List conversations

Return a paginated list of conversations, optionally filtered by agent.
string
Filter results to conversations for a specific agent. Omit to list all conversations in your account.

Delete a conversation

Permanently delete a conversation and all its associated data, including audio and transcripts.
string
required
The ID of the conversation to delete.
Deletion is permanent. Conversation audio and transcripts cannot be recovered after this call.

Get a signed URL

Generate a pre-authenticated WebSocket URL so a client can start a conversation without exposing your API key.
string
required
The ID of the agent to connect to.
string
required
A wss:// URL your client opens directly. Valid for a short period — generate a new one for each session.
Call this endpoint from your server and return the signed URL to the client. Never expose your API key to the client.

Get a conversation token

Generate a short-lived token for WebRTC-based connections.
string
required
The ID of the agent to connect to.
string
required
A short-lived token passed by your client when initiating a WebRTC connection.
For a full explanation of when to use signed URLs vs. conversation tokens, see Authentication.