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