POST
/
v3
/
projects
Create project
const url = 'https://api.supermemory.ai/v3/projects';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"name":"My Awesome Project"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "id": "proj_abc123",
  "name": "My Awesome Project",
  "containerTag": "sm_project_my_awesome_project",
  "createdAt": "1970-01-01T00:00:00.000Z",
  "updatedAt": "1970-01-01T00:00:00.000Z",
  "documentCount": 42
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Request body for creating a new project

Response

201
application/json

Project created

Project object for organizing memories