putty
API ReferenceInference

Delete a thread

Removes the thread and every message and attachment in it. The operation is idempotent: a missing thread returns 404, a thread owned by a different user also returns 404 so the endpoint cannot be used to probe other users' ids.

DELETE
/inference/threads/{id}

Removes the thread and every message and attachment in it. The operation is idempotent: a missing thread returns 404, a thread owned by a different user also returns 404 so the endpoint cannot be used to probe other users' ids.

Authorization

bearerAuth
AuthorizationBearer <token>

A bearer token. The Account routes accept a Privy access token; the MCP transport accepts an sk- API key issued by POST /account/api-keys.

In: header

Path Parameters

id*string

The id of the thread to delete.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/inference/threads/string"
Empty