Api / Conversations

DELETE/v1/conversations/:id

Auth: tenant — Status: stable

Permanently delete a conversation and all its messages, artifacts, and memory-entry artifact links:

  • Messages cascade-delete via FK.
  • Artifacts cascade-delete via FK.
  • Memory entries that referenced any of those artifacts have their artifact_id nullified by trigger (the entry survives; the link is cleared).

Request

Path paramTypeDescription
idintConversation id.
curl -X DELETE \
  -H "Authorization: Bearer atr_…" \
  http://arbiter.example.com/v1/conversations/1

Response

200 OK

{ "deleted": true }

Failure modes

StatusWhenBody
401Missing / invalid bearer.{"error": "..."}
404Id doesn't exist or belongs to another tenant.{"error": "conversation not found"}

See also