Skip to the documentation
API

Delete a chat

The chat and every message in it, for good.

DELETE/chats/{id}

Runs the real call on your workspace.

DELETE /chats/{id}

The chat and every message in it, for good.

Example

Needs threads:write. Nothing the assistant did in the mailbox is undone.

curl
curl -X DELETE "$OE/chats/8f3c2a71-5e9d-4b06-a1c4-7d2e9f0b3a65" -H "$AUTH"
Response
{  "object": "chat",  "id": "8f3c2a71-5e9d-4b06-a1c4-7d2e9f0b3a65",  "deleted": true}

Reference