Memory Operations
Search
Recall memories with hybrid retrieval.
POST /v1/memories/search
curl https://fishmem.com/v1/memories/search \
-H "Authorization: Bearer fm_..." \
-H "Content-Type: application/json" \
-d '{"query": "where does alex live?", "user_id": "alex", "top_k": 5}'| Field | Notes |
|---|---|
query | natural-language query |
user_id / agent_id / run_id | scope to search within |
top_k | max results to return |
Search costs 1 credit; reads (GET) are free. See Hybrid recall
for how results are ranked.