Delete a response
Delete a stored response, with the input it kept.
DELETE
/responses/{response_id}Delete a stored response, with the input it kept.
The input includes the text of any file you sent as input_file, so deleting the response removes that copy. Deleting a file does not. A response that does not exist, or that belongs to another account, answers 404.
Authorization
BearerAuth AuthorizationBearer <token>
Your Avey API key, sent as Authorization: Bearer <key>. This is the header the OpenAI SDKs already send, so pass the key as the client's ordinary api_key and no further configuration is needed.
In: header
Path Parameters
response_id*string
The id of a stored response, as returned in its id.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE https://api.avey.ai/llm/responses/resp_5c7a2e1f8b3d4a609e1c7f2b4d8a6e30 \ -H "Authorization: Bearer $AVEY_API_KEY"{ "id": "resp_5c7a2e1f8b3d4a609e1c7f2b4d8a6e30", "object": "response", "deleted": true}