Mem0 icon

Mem0

Interact with the Mem0 API - intelligent memory layer for AI

Project → Create

AI-generated

Summary

Create a new Mem0 project

Inputs

  • authType — Authentication method: "cloud" for Mem0.ai service or "selfHosted" for a self‑hosted instance.
  • projectOrganizationId (required) — Identifier of the organization that owns the project.
  • projectName (required) — Display name of the newly created project.
  • projectAdditionalFields — Optional extra fields for the project; includes a description string and a metadata collection.

Output shape

a single project record

Contains at least an id field; may include additional fields such as name, organization_id, and metadata; on success the created object is returned, on failure an error is thrown.

Examples

Example 1: Create a project using the cloud service

Set authType to cloud, provide projectOrganizationId and projectName, optionally add description and metadata via projectAdditionalFields.

Example 2: Create a project on a self‑hosted Mem0 instance

Set authType to selfHosted, supply the self‑hosted credentials, and fill required organization and project names.

Example 3: Create a project with additional metadata

Add a description and metadata entries through the projectAdditionalFields collection.

Links

Discussion