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
| Parameter | Type | Required | Description |
|---|---|---|---|
containerTag | string | Yes | User/project identifier |
q | string | No | Search query (includes search results in response) |
threshold | 0-1 | No | Filter search results by relevance score |
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: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
- User Profiles Concept — Understand static vs dynamic
- Ingesting Content — Build profiles by adding content
- AI SDK Integration — Automatic profile injection