Add annotations to a conversation
Path Parameters
Body
application/json
Body
AddAnnotationsBody
Request body for adding annotations to a conversation.
>= 1 items
Response
application/json
Response
Successful response
OperationSuccessResponse
Minimal success payload for mutation endpoints.
Default:true
Authentication
Path Parameters
Body
Get audio recording for a conversation
Query Parameters
Audio direction: “combined”, “user”, or “agent”
Allowed values:combineduseragent
Default:combined
Whether to return redacted audio
Default:false
Path Parameters
Response
audio/wav
Response
Successful response
Authentication
Path Parameters
Query Parameters
Upsert a note on a conversation
Path Parameters
Body
application/json
Body
UpsertNoteBody
Request body for upserting a note on a conversation.
Response
application/json
Response
Successful response
OperationSuccessResponse
Minimal success payload for mutation endpoints.
Default:true
Authentication
Path Parameters
Body
Create a new debug chat session
Path Parameters
Body
application/json
Body
CreateDebugChatBody
Starting parameters for a debug chat session: which agent variant,
which language codes, and which environment to run in.
Client environment (sandbox, pre-release, live)
ASR language code (e.g. en-US). Defaults to server config.
TTS language code (e.g. en-US). Defaults to server config.
Custom conversation ID. Auto-generated if omitted.
Variant ID to use
Channel type (e.g. chat.polyai)
Custom attributes accessible via conv.integration_attributes in project functions
Response
application/json
Response
Successful response
DebugChatResponse
A chat turn’s result: the agent’s reply text, the conversation’s
updated state, and whether the conversation has ended.
Metadata returned with each chat response.
Show Child Parameters
Authentication
Path Parameters
Body
Send a message to a debug chat session
Path Parameters
Body
application/json
Body
RespondDebugChatBody
A user turn sent into an existing debug chat session, with the
runtime overrides that apply to this message.
Client environment (sandbox, pre-release, live)
ASR language code (e.g. en-US). Defaults to server config.
TTS language code (e.g. en-US). Defaults to server config.
User input message
Default:
User input metadata
Response
application/json
Response
Successful response
DebugChatResponse
A chat turn’s result: the agent’s reply text, the conversation’s
updated state, and whether the conversation has ended.
Metadata returned with each chat response.