v1

latestOpenAPI 3.1.0MIT2026-07-132429592.7 MB
Chat

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.