v1

latestOpenAPI 3.0.02026-07-1329122146.2 KB
ChatService

Disables specific turns from a conversation within the chat history corpus. This is useful for excluding specific turns from a conversation.

Some tips for this API:

  • This operation authenticates with either an API Key or OAuth 2.0 (in a JWT "Bearer Token"). You can find details of how to set up an API key or use OAuth 2.0 here.
post/v1/disable-turns

Headers

customer-idinteger required

Enter the Customer ID to use for the request.

timeoutstring

(Optional) Enter the timeout value of the request in seconds, such as 10S or 30S.

Request body

conversationIdstring

The ID of the conversations from which to disable turns.

turnIdstring

The ID of the turn to start disabling from. All turns in this conversation starting from this turn will be disabled.

Response

A successful response.