Skip to main content
POST
/
v2
/
projects
Create Project
curl --request POST \
  --url https://api.memmachine.ai/v2/projects \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "",
  "description": "Test project for RAG pipeline"
}
'
{
  "org_id": "<string>",
  "project_id": "<string>",
  "config": {
    "embedder": "bge-base-en",
    "reranker": "bge-reranker-large"
  },
  "description": ""
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Specification model for creating a new project.

The project ID must be unique for the authenticated user.

project_id
string
default:""

The identifier of the project. If empty, the user's default project is used.

Pattern: ^[\p{L}\p{N}_:-]*$
description
string
default:""

A human-readable description of the project. Used for display purposes in UIs and dashboards. Optional; defaults to an empty string.

Example:

"Test project for RAG pipeline"

Response

Successful Response

Response model returned after project operations (e.g., creation, update, fetch).

Contains the resolved identifiers and configuration of the project as stored in the system. Field formats follow the same validation rules as in CreateProjectSpec.

org_id
string
required

The unique identifier of the organization this project belongs to.

Returned exactly as stored by the system.

project_id
string
required

The identifier of the project.

This value uniquely identifies the project within the organization.

config
ProjectConfig · object

Project configuration model.

This section defines which reranker and embedder models should be used for the project. If any field is left empty (""), the system automatically falls back to the globally configured defaults in the server configuration file.

description
string
default:""

A human-readable description of the project. Used for display purposes in UIs and dashboards. Optional; defaults to an empty string.