responses

Delete Response

Delete a response by ID.

Supports both:

  • Polling IDs (litellm_poll_*): Deletes from Redis cache
  • Provider response IDs: Passes through to provider API

Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses/delete

curl -X DELETE http://localhost:4000/v1/responses/resp_abc123     -H "Authorization: Bearer $LITELLM_MASTER_KEY"
delete/openai/v1/responses/{response_id}

Request

  • Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
  • URL: https://docs.litellm.com.cn/openai/v1/responses/{response_id}
  • Auth: API key in header x-litellm-api-key

Path parameters

response_idstring required

Response

Successful Response

idstring nullable required
objectstring nullable required
deletedboolean nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.