Api / Artifacts

DELETE/v1/conversations/:id/artifacts/:aid

Auth: tenant — Status: stable

Permanently delete an artifact. Memory entries that referenced it have their artifact_id nullified by trigger (the entry survives; the link clears). Quota counters decrement immediately.

Request

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

Response

200 OK

{ "deleted": true }

Failure modes

StatusWhenBody
401Missing / invalid bearer.{"error": "..."}
404Id doesn't exist for this tenant + conversation pair.{"error": "artifact not found"}

See also