GET
/
v3
/
projects
List projects
const url = 'https://api.supermemory.ai/v3/projects';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}, body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "projects": [
    {
      "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.

Response

200
application/json

Projects list

Response containing list of projects