Sessions
GET /api/v1/usage with the secret key returns the meter for that key's environment:
{ "data": { "meteredBytes": 0, "capBytes": 1073741824, "sessionCount": 0 } }meteredBytes is the UTF-8 size of comment bodies plus mention user ids. capBytes is 1 GiB. sessionCount is an operational total for the workspace. It is not a per-seat bill and it is not a per-comment invoice. The dashboard sessions list is a recent page. The total is not limited to that page.
Session rows record the app, workspace, environment, time, and action. They do not store comment bodies. At the cap, new growing writes return quota_exceeded and existing reads stay available. See limits.
Related: Environments · Export and purge · API overview