Skip to main content
GET
https://your-rootprint-host
/
api
/
admin
/
activity
/
api-keys
/
{apiKeyId}
/
volume
Get API key volume buckets
curl --request GET \
  --url https://your-rootprint-host/api/admin/activity/api-keys/{apiKeyId}/volume \
  --cookie better-auth.session_token=
[
  {
    "t": "2023-11-07T05:31:56Z",
    "count": 123
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.rootprint.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

better-auth.session_token
string
cookie
required

Better Auth session cookie used by the Rootprint web UI.

Path Parameters

apiKeyId
integer
required

API key ID.

Required range: x >= 1

Query Parameters

window
enum<string>

Activity lookback window. Defaults to 7d.

Available options:
24h,
7d,
30d

Response

API key volume buckets.

t
string<date-time>
required
count
integer
required