v2
OpenAPI 3.0.02026-08-051996591.2 MBChats
Get a turn
Returns a specific turn from a chat. A turn is a message and response pair from the conversation.
get/v2/chats/{chat_id}/turns/{turn_id}
Path parameters
chat_idstring required
The ID of the chat.
turn_idstring required
The ID of the turn.
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
The turn.
Example response
{
"id": "trn_987654321",
"chat_id": "cht_123456789",
"query": "How do you turn this widget?",
"answer": "The widget turns counter clockwise.",
"enabled": true
}