Skip to content
Primary navigation

Delete a model response

DELETE/responses/{response_id}

Deletes a model response with the given ID.

Path ParametersExpand Collapse
response_id: string

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_6786a1bec27481909a17d673315b29f6",
  "object": "response",
  "deleted": true
}
Returns Examples
{
  "id": "resp_6786a1bec27481909a17d673315b29f6",
  "object": "response",
  "deleted": true
}