v3
latestOpenAPI 3.0.02026-08-081996601.2 MBChats
List turns in a chat
Lists all turns in a chat. Each turn is a message and response pair in the dialog.
get/v2/chats/{chat_id}/turns
Path parameters
chat_idstring required
The ID of the chat.
Headers
Request-Timeoutinteger
The platform makes a best effort to complete the request in the specified seconds, or it times out.
Request-Timeout-Millisinteger
The platform makes a best effort to complete the request in the specified milliseconds, or it times out.
Response
List of turns.
Example response
{
"turns": [
{
"id": "trn_987654321",
"chat_id": "cht_123456789",
"query": "How do you turn this widget?",
"answer": "The widget turns counter clockwise.",
"enabled": true
}
]
}