Overview
Fetch memories for one of your app’s end-users. The backend derives the storage namespace from:
- your authenticated tenant (API key / token)
- the provided
end_user_id
- the provided
expert_id
So you never need (and cannot) pass a raw entity_id.
Authentication
Send your API key:
Alias header for your BBOT API key
Query Parameters
Expert id (scopes memories per expert)
Your own end-user identifier (string)
Memory layers to fetch. Allowed: core, mid, long
Optional semantic query (applies to Store search)
Response
Server-derived namespace id (for debugging only)
Example Request
curl --location 'https://api.b-bot.space/api/v0/api-user/memories?expert_id=42&end_user_id=user-123&layers=core&layers=long&layers=mid&limit=50' \
--header 'BBOT-API-Key: <your-bbot-api-key>'