responses

Delete a model response

Changed on

Deletes a stored response and its input and output items. Responses that chain from it stay retrievable. A create request whose previous_response_id chain passes through the deleted response still works, but the replayed history starts after the deleted response. A response that is still in progress is not stored yet and returns 404.

delete/api/v1/responses/{response_id}

Request

Path parameters

response_idstring required
Example:resp_123

Identifier of the stored response.

Headers

X-Organization-Idstring

Required for JWT authentication. API keys are already bound to an organization.

Response

The response was deleted.

idstring required
object'response.deleted' required
deletedtrue required

Changes