Skip to main content
POST
/
v4
/
profile
/
buckets
Get profile buckets
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: JSON.stringify({containerTag: '<string>'})
};

fetch('https://api.supermemory.ai/v4/profile/buckets', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "buckets": [
    {
      "key": "<string>",
      "description": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json
containerTag
string
required

Tag to resolve effective bucket definitions for. Can be a user ID, project ID, or any identifier used to scope memories.

Response

Effective bucket definitions

buckets
object[]
required