Create a new turn in the chat
POST/v2/chats/:chat_id/turns
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Creates a new turn in the chat. Each chat has a series of turn objects. Each turn is a message and response pair in the dialog.
Request
Responses
- 200
- 400
- 403
- 404
- 429
A response to a chat request.
Turn creation request was malformed.
Permissions do not allow creating a turn in the chat.
Corpus or chat not found.
An LLM quota configured on the LLM used for generation is exhausted. Returned when the request is not streamed, or when a streamed request is refused before anything was emitted; a streamed request that has already begun emitting receives the refusal as an error event in the stream. The message in the body names the quota and the seconds until its window resets. No Retry-After header is sent.