Send a message to a debug chat session
Send a user turn into an existing debug chat session and return the agent’s response. Served from api..poly.ai.
Documentation Index
Fetch the complete documentation index at: https://docs.poly.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Contact your PolyAI representative.
Path Parameters
Agent ID.
Debug chat session conversation ID returned by POST /v1/agents/{agentId}/debug-chat.
Body
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).
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.
User input metadata.
Response
Successful response
A chat turn's result: the agent's reply text, the conversation's updated state, and whether the conversation has ended.
ID of the debug chat session.
User input that produced this response.
Agent's reply text.
Metadata returned with each chat response.
Whether the conversation has ended after this turn.
Whether the agent's response was delayed (e.g. awaiting a long-running tool).

