latestOpenAPI 3.1.02026-08-22172405521.1 KB

6dac6bb49f72

chat

Delete a chat completion and its conversation

Delete a stored chat completion together with its entire conversation.

Every completion connected through previous_completion_id (earlier and later turns, including branches) is deleted; a conversation is removed as a unit.

delete/v1/chat/completions/{completion_id}

Path parameters

completion_idstring required

ID of the chat completion

ID of the chat completion

Response

Deletion confirmation

idstring required
object'chat.completion.deleted'
deletedboolean