Get container tag settings

JavaScript

const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.supermemory.ai/v3/container-tags/{containerTag}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));

Response Status Codes

  • 200: Container tag settings retrieved successfully
  • 401: Unauthorized
  • 404: Not found
  • 500: Internal server error

Example Response

{
  "containerTag": "sm_project_default",
  "entityContext": "This project contains research papers about machine learning.",
  "memoryFilesystemPaths": [
    "/memory/",
    "/user.md"
  ],
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

  • Authorization: Bearer <token> (required)

Path Parameters

  • containerTag: string (required)

Response Structure

  • containerTag: string (required); The container tag identifier. Maximum string length: 100
  • entityContext: string or null (required); Custom context prompt for this container tag.
  • memoryFilesystemPaths: array of strings or null (required); Per-tag allowlist of filesystem paths.
  • createdAt: datetime (required); Creation timestamp.
  • updatedAt: datetime (required); Last update timestamp.