You can think of these as a dynamic compaction that’s done by supermemory in real-time.This profile should be injected into the agent context for truly personalized experiences. To read more, visit User profiles - Concept Get a user’s profile — their static facts and dynamic context — with a single API call.
Quick start
- TypeScript
- Python
- cURL
Profile + search
Get profile and search results in one call by adding theq parameter:
- TypeScript
- Python
Parameters
Filtering profiles
Profiles support the same metadata filters as/search and /documents/list — filters narrows which memories are eligible to contribute to static, dynamic, and buckets, not just which search results come back.
- TypeScript
- Python
- cURL
filters with q to scope both the profile synthesis and the accompanying search results in one call:
string_contains, numeric, array_contains, nested AND/OR, and negate.
Building prompts
The most common pattern — inject profile into your LLM’s system prompt:Full context pattern
Get profile + query-specific memories in one call:Profile buckets
Buckets are custom topical categories for a profile — an axis that sits alongsidestatic and dynamic, grouping facts by subject (e.g. preferences, goals,
work) instead of by how long-lived they are.
Profile buckets
Read and configure buckets — request bucketed profiles, create org/space buckets,
get AI-generated bucket suggestions, and see validation limits.
Framework examples
Express.js middleware
Express.js middleware
Next.js API route
Next.js API route
AI SDK integration
AI SDK integration
Response schema
Next steps
- Profile Buckets — Custom topical categories for profiles
- User Profiles Concept — Understand static vs dynamic
- Ingesting Content — Build profiles by adding content
- AI SDK Integration — Automatic profile injection