Count memories

Return the total number of memories for your tenant.

GET/api/v1/memories/count

API Key

Stored locally, never sent to servers

Count memories
const options = {  method: 'GET',  headers: {'X-API-Key': 'mb_live_xxx'},};fetch('https://api.mem-brain.io/api/v1/memories/count', options)  .then(res => res.json())  .then(res => console.log(res))  .catch(err => console.error(err));
{
"count": 42
}