Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Delete a model response

DELETE/responses/{response_id}

Deletes a model response with the given ID.

Header ParametersExpand Collapse
"openai-beta": optional array of "responses_multi_agent=v1"
Path ParametersExpand Collapse
response_id: string
ReturnsExpand Collapse
id: string
deleted: boolean
object: "response.deleted"

Delete a model response

curl -X DELETE https://api.openai.com/v1/responses/resp_123 \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $OPENAI_API_KEY"
{
  "id": "resp_123",
  "object": "response.deleted",
  "deleted": true
}
Returns Examples
{
  "id": "resp_123",
  "object": "response.deleted",
  "deleted": true
}