Overview - Mem0

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 \n\nStore new memories from conversations and interactions

Search Memories \n\nFind relevant memories using semantic search with filters

Update Memory \n\nModify existing memory content and metadata

Delete Memory \n\nRemove specific memories or batch delete operations


API Categories

Explore the full API organized by functionality:

Memory APIs \n\nCore and advanced operations: CRUD, search, batch updates, history, and exports

Events APIs \n\nTrack and monitor the status of asynchronous memory operations

Entities APIs \n\nManage users, agents, and their associated memory data

Organizations & Projects \n\nMulti-tenant support, access control, and team collaboration

Webhooks \n\nReal-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 \n\nStart storing memories via the REST API

Search with Filters \n\nLearn advanced search and filtering techniques

Build with cookbooks \n\nSee the API used end to end in real projects.