Maniac Docs
Api referenceChat

Delete a stored chat completion

DELETE
/v1/chat/completions/{completion_id}

Delete a stored chat completion by id, scoped to the caller's organization.

Authorization

bearerAuth
AuthorizationBearer <token>

A Maniac API key, sent as Authorization: Bearer <key>. (Internal service-to-service calls use a separate internal service key and are not documented here.)

In: header

Path Parameters

completion_id*string

The chat completion id (e.g. chatcmpl-...).

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/chat/completions/string"
{  "id": "string",  "object": "chat.completion.deleted",  "deleted": true}
{  "error": {    "message": "string",    "type": "string",    "param": "string",    "code": "string"  }}
{  "error": {    "message": "string",    "type": "string",    "param": "string",    "code": "string"  }}