Repository Public
1> For the complete documentation index, see [llms.txt](/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL.23## Delete a conversation45**delete** `/conversations/{conversation_id}`67Delete a conversation. Items in the conversation will not be deleted.89### Path Parameters1011- `conversation_id: string`1213### Returns1415- `ConversationDeletedResource object { id, deleted, object }`1617 - `id: string`1819 - `deleted: boolean`2021 - `object: "conversation.deleted"`2223 - `"conversation.deleted"`2425### Example2627```http28curl https://api.openai.com/v1/conversations/$CONVERSATION_ID \29 -X DELETE \30 -H "Authorization: Bearer $OPENAI_API_KEY"31```3233#### Response3435```json36{37 "id": "id",38 "deleted": true,39 "object": "conversation.deleted"40}41```4243### Example4445```http46curl -X DELETE https://api.openai.com/v1/conversations/conv_123 \47 -H "Authorization: Bearer $OPENAI_API_KEY"48```4950#### Response5152```json53{54 "id": "conv_123",55 "object": "conversation.deleted",56 "deleted": true57}58```59