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));import requests
url = "https://api.supermemory.ai/v4/profile/buckets"
payload = { "containerTag": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)curl --request POST \
--url https://api.supermemory.ai/v4/profile/buckets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"containerTag": "<string>"
}
'{
"buckets": [
{
"key": "<string>",
"description": "<string>"
}
]
}{
"error": "Invalid request parameters",
"details": "Query must be at least 1 character long"
}Get profile buckets
Returns the effective profile bucket definitions for a given container tag — org-level buckets merged with any container-tag-level additions.
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));import requests
url = "https://api.supermemory.ai/v4/profile/buckets"
payload = { "containerTag": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)curl --request POST \
--url https://api.supermemory.ai/v4/profile/buckets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"containerTag": "<string>"
}
'{
"buckets": [
{
"key": "<string>",
"description": "<string>"
}
]
}{
"error": "Invalid request parameters",
"details": "Query must be at least 1 character long"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
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
Show child attributes
Show child attributes
Was this page helpful?