FishMem

Delete memories by scope

Delete all memories within a scope.

DELETE /v1/memories

Deletes every memory in a scope. Provide at least one of user_id, agent_id, or run_id.

Parameters

FieldTypeRequiredDescription
user_idstringnoDelete all in this user scope
agent_idstringnoDelete all in this agent scope
run_idstringnoDelete all in this run scope

Request

curl -X DELETE "https://fishmem.com/v1/memories?user_id=alex" \
  -H "Authorization: Bearer fm_..."

Response

{ "deleted": 12 }

deleted is the count of removed memories.

Credits

Free.

Errors

Returns the standard error shape. A missing or invalid key returns 401 with "error": "INVALID_API_KEY".

On this page