Skip to content

Delete a model response

DELETE https://api.fastapi.ai/v1/responses/{response_id}

Deletes a model response with the given ID.

Path parameters


response_id string Required
The ID of the response to delete.

Returns


A success message.

Example

bash
curl -X DELETE https://api.fastapi.ai/v1/responses/resp_123 \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $FAST_API_KEY"

Response

bash
{
  "id": "resp_123",
  "object": "response",
  "deleted": true
}

那年我双手插兜, 让bug稳如老狗