Skip to content

Forget a fact

View .md
DELETE

Delete one fact. Idempotent: deleting a fact that is not there, or no longer there, still answers 204. Deletes are never refused for quota reasons.

Authorization

  • Authorizationheaderrequired

    Bearer YOUR_API_KEY. Create a key in the dashboard.

Path parameters

  • memoryIdstringrequired

    Memory (fact) ID.

Query parameters

  • scopestring

    Which scope to address: contact:<contactId>, conversation:<conversationId>, or omitted for the project scope.

    Note the asymmetry with POST /v1/memory and POST /v1/memory/search, which take the scope in the request BODY as scope plus contactId/conversationId. Every other Memory endpoint takes it here.

Responses

204Fact deleted.
400Malformed memory id or `scope`.
  • codestringrequired
  • messagestringrequired
  • detailsobject
401Unauthorized.
  • codestringrequired
  • messagestringrequired
  • detailsobject