Your AI team, working in Mem0

Mem0 is an universal, self-improving memory layer for LLM applications.

Start your company

What your team can do in Mem0

47 tools to work with, connected with an API key.

Add member to project

Adds an existing user to a project (identified by `project_id` within organization `org_id`), assigning a valid system role.

Add new memory records

Adds memory records from messages, optionally inferring structured content. Requires an agent, user, app, or run ID; processing defaults to asynchronous and can be requested synchronously.

Add organization member

Adds a new member, who must be a registered user, to an organization, assigning them a specific role.

Create a new agent

Creates a new agent with a unique agent ID and a required name; additional metadata may be assigned by the system.

Create a new agent run

Creates a new agent run in the mem0.ai system.

Create a new application

Creates a new application with an application ID and name; ensure the app ID is unique to avoid potential errors or unintended updates.

Create a new organization entry

Creates a new organization entry using the provided name and returns its details.

Create a new user

Creates a new user with the specified unique user ID and optional metadata.

Create memory entryReads only

Lists or searches existing memory entries using required nonempty filters and optional pagination. Despite its name, this action retrieves memories rather than creating them.

Create project

Creates a new project with a given name within an organization that must already exist.

Create webhook

Creates a new webhook for a specific project to receive real-time notifications. Use when you need to set up event-driven integrations that trigger on memory operations.

Delete an organization

Permanently deletes an existing organization identified by its unique ID.

Delete entity by type and id

Call to permanently and irreversibly hard-delete an existing entity (user, agent, app, or run) and all its associated data, using its type and ID.

Delete memories

Deletes all memories matching specified filter criteria. IMPORTANT: At least one filter (agent_id, user_id, app_id, or run_id) must be provided to prevent accidental deletion of all memories. Requires delete permissions on the organization/project.

Delete memory batch with uuids

Deletes a batch of up to 1000 existing memories, identified by their UUIDs, in a single API call.

Delete memory by id

Permanently deletes a specific memory by its unique ID; ensure the `memory_id` exists as this operation is irreversible.

Delete project

Permanently deletes a specific project and all its associated data from an organization; this action cannot be undone and requires the project to exist within the specified organization.

Delete project member

Removes an existing member, specified by email address, from a project, immediately revoking their project-specific access; the user is not removed from the organization.

Delete webhook

Deletes a webhook and stops receiving notifications for the specified webhook ID. Use this when you no longer need webhook notifications or want to remove a specific webhook configuration.

Export data based on filtersReads only

Creates a memory export job requiring organization and project IDs and at least one user, agent, app or run filter. Returns a job ID and confirmation message; uses a default memory schema if none is specified.

Fetch details of a specific organizationReads only

Fetches comprehensive details for an organization using its `org_id`; the `org_id` must be valid and for an existing organization.

Get entity by idReads only

Fetches detailed information for an existing entity (user, agent, app, or run) identified by its type and unique ID.

Get event status by event IDReads only

Retrieves a single async event by ID to check its current status and results. Use this after operations that return event IDs (e.g., add_new_memory_records) to poll for completion before proceeding with dependent operations.

Get list of entity filtersReads only

Retrieves entity filters from the entity filters endpoint, with a response modeled as a list of entities.

Get memories by entityReads only

Retrieves memories associated with a specified user, agent, app, or run by entity type and ID, with optional pagination.

Get memory exportReads only

Retrieves the status and results of a memory export job by its ID. Use this after creating an export job to fetch the processed memory data. The response structure matches the schema defined during export creation.

Get organization membersReads only

Fetches a list of members for a specified, existing organization.

Get project detailsReads only

Fetches comprehensive details for a specified project within an organization.

Get project membersReads only

Retrieves all members for a specified project within an organization.

Get project webhooksReads only

Retrieves all webhooks configured for a specific project. Use this to list webhook configurations including their event types, URLs, and active status.

Get projectsReads only

Retrieves all projects for a given organization `org_id` to which the caller has access.

Get user memory statsReads only

Retrieves a summary of the authenticated user's memory activity, including total memories created, search events, and add events. Note: This endpoint is undocumented in the official mem0 API specification but is functional.

List entitiesReads only

Retrieves entities with optional organization and project filters; results may be summaries and subject to limits. Organization and project IDs must be supplied together and are preferred over deprecated name filters.

List organizationsReads only

Retrieves a list of organizations with their details, including IDs, names, ownership, members and plan information.

Perform semantic search on memoriesReads only

Searches memories using a natural language query and optional filters, or requests metadata-only search. At least one user, agent, or run ID and a query string are required; the query may be blank for metadata-only search.

Remove a member from the organization

Removes a member from an organization using the organization ID and member's email address.

Retrieve all events for the currently logged in userReads only

Retrieves a paginated list of events for the authenticated user in a read-only operation.

Retrieve list of memory eventsReads only

Retrieves memory events from the Mem0 platform, providing interaction history and context for AI assistants. The response can include pagination information.

Retrieve memory by idReads only

Retrieves a complete memory entry by its unique identifier; `memory_id` must be valid and for an existing memory.

Retrieve memory history by idReads only

Retrieves the version history of a Mem0 memory by its ID, allowing you to inspect its evolution and audit changes.

Retrieve memory listReads only

Retrieves a paginated list of memories filtered by IDs, metadata, keywords, dates, and other criteria. At least one of agent_id, user_id, app_id, or run_id is required; org_id and project_id must be supplied together or both omitted.

Search memories with filtersReads only

Searches memories using a required nonempty set of structured filters and an optional natural language query, which defaults to '*'. Supports reranking, field selection, similarity thresholds, and keyword search.

Update memory batch with uuid

Updates text for up to 1000 memories in a single batch, using their UUIDs.

Update memory text content

Updates the text and/or metadata of an existing memory identified by its memory ID.

Update organization member role

Updates the role of an existing member to a new valid role within an existing organization.

Update project

Updates a project within an organization using the provided name, description, custom instructions, or custom categories. Category objects are submitted without their input fields; an empty category list can be sent to clear them.

Update project member role

Updates the role of a specific member within a designated project, ensuring the new role is valid and recognized by the system.

More in Artificial intelligence

See them all β†’

Your company, run by an AI team

Start your company

BRAINER

Continue to B.R.A.I.N.E.R.

Continue with Google or your email.

or