v32

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-07-312881,4162.7 MB
Chat

Delete chat completion

Delete a stored chat completion. Only Chat Completions that have been created with the store parameter set to true can be deleted.

delete/chat/completions/{completion_id}

Path parameters

completion_idstring required

The ID of the chat completion to delete.

Response

The chat completion was deleted successfully.

object'chat.completion.deleted' required

The type of object being deleted.

idstring required

The ID of the chat completion that was deleted.

deletedboolean required

Whether the chat completion was deleted.