Overview
When User Memory is enabled on your agent, it automatically remembers details about each user across conversations. Use these endpoints to list, count, and delete memories programmatically.User Memory is a per-user feature — each user gets their own private memory store. Enable it in your agent’s Settings → Features & Options → Access to Memory.
List Memories
Retrieve memories stored for a specific user or all users on the bot.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
bot_id | string | Yes | Bot ID |
user_uuid | string | No | Filter by user UUID |
type | string | No | Filter by type: semantic, episodic, procedural, or all (default: all) |
page | number | No | Page number (default: 1) |
per_page | number | No | Results per page (default: 50) |
Response
Count Memories
Get the total number of active memories for a specific user.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
bot_id | string | Yes | Bot ID |
user_uuid | string | Yes | User UUID to count memories for |
Response
Delete a Memory
Delete a specific memory by its ID.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
bot_id | string | Yes | Bot ID |
memory_id | string | Yes | Memory UUID (path parameter) |
Response
Memory Types
Memories are categorized into three types:| Type | Description | Example |
|---|---|---|
semantic | Facts and knowledge about the user | ”User’s company is Acme Corp” |
episodic | Events and interactions | ”User reported a billing issue on Feb 5” |
procedural | Preferences and workflows | ”User prefers step-by-step explanations” |
Next Steps
Chat API
Send messages and receive AI responses
User Memory (Creators)
Learn how User Memory works for your agent