v51

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-01979563.0 MB
Chats

Delete Chat

delete/chat/{id}

Path parameters

idstring required

Response

assistantIdstring

This is the assistant that will be used for the chat. To use an existing assistant, use assistantId instead.

squadIdstring

This is the squad that will be used for the chat. To use a transient squad, use squad instead.

namestring

This is the name of the chat. This is just for your own reference.

sessionIdstring

This is the ID of the session that will be used for the chat. Mutually exclusive with previousChatId.

streamboolean

This is a flag that determines whether the response should be streamed. When true, the response will be sent as chunks of text.

previousChatIdstring

This is the ID of the chat that will be used as context for the new chat. The messages from the previous chat will be used as context. Mutually exclusive with sessionId.

idstring required

This is the unique identifier for the chat.

orgIdstring required

This is the unique identifier for the org that this chat belongs to.

createdAtstring date-time required

This is the ISO 8601 date-time string of when the chat was created.

updatedAtstring date-time required

This is the ISO 8601 date-time string of when the chat was last updated.

costnumber

This is the cost of the chat in USD.