ReferenceUsage

Get memory usage

Stored bytes and token consumption, per day and per department.

GET
/api/v1/memories/{memory_id}/usage

Authorization

ApiKeyAuth
x-api-key<token>

A platform key (ck_live_…). Mint one in the console under Settings → API Keys.

In: header

Path Parameters

memory_id*string

Response Body

application/json

curl -X GET "https://example.com/api/v1/memories/csmbx-wsp_a1b2c3d4/usage"
{  "stored_bytes": 0,  "quota_bytes": 0,  "by_day": [    {      "date": "2019-08-24",      "stored_bytes": 0,      "tokens": 0    }  ]}
Was this page helpful?
Report an issue