Skip to main content

Mem0 REST API

Mem0 provides a comprehensive REST API for integrating advanced memory capabilities into your applications. Create, search, update, and manage memories across users, agents, and custom entities with simple HTTP requests.
Quick start: Get your API key from the Mem0 Dashboard and make your first memory operation in minutes.

Quick Start Guide

Get started with Mem0 API in three simple steps:
  1. Add Memories - Store information and context from user conversations
  2. Search Memories - Retrieve relevant memories using semantic search
  3. Get Memories - Fetch all memories for a specific entity

Core Operations

Add Memories

Store new memories from conversations and interactions

Search Memories

Find relevant memories using semantic search with filters

Update Memory

Modify existing memory content and metadata

Delete Memory

Remove specific memories or batch delete operations

API Categories

Explore the full API organized by functionality:

Memory APIs

Core and advanced operations: CRUD, search, batch updates, history, and exports

Events APIs

Track and monitor the status of asynchronous memory operations

Entities APIs

Manage users, agents, and their associated memory data

Organizations & Projects

Multi-tenant support, access control, and team collaboration

Webhooks

Real-time notifications for memory events and updates
Building multi-tenant apps? Learn about Organizations & Projects for team isolation and access control.

Authentication

All API requests require authentication using Token-based authentication. Include your API key in the Authorization header:
Authorization: Token <your-api-key>
Get your API key from the Mem0 Dashboard.
Keep your API key secure. Never expose it in client-side code or public repositories. Use environment variables and server-side requests only.

Next Steps

Add Your First Memory

Start storing memories via the REST API

Search with Filters

Learn advanced search and filtering techniques