Authentication
Usage endpoints belong to the Management API. They are called with a management key (mgmt-eden-…) that has the manage:read scope, not with an inference key:
sk-eden-…) returns 401.
Endpoints
Key Concepts
Date window
Provide both or neither. Without them you get the last 7 days. The window may not exceed 366 days.
Batch cost
A chat batch shows as cost on the day it was created. The launch records the reservation and the settlement adds the difference between the final cost and the reservation. The settlement counts as no request and carries no tokens.Response caching
Responses are cached for 60 seconds per organization and query parameters, so repeated calls within that window return the cached summary.Step parameter
step is required and controls how the time series is bucketed:
Filtering Options
Narrow the data with any of these query parameters:Monitor Usage
Get the last 7 days of usage, grouped by day, and total it per key:Python
begin and end. Remember that end is exclusive: this returns one monthly bucket covering all of October 2026.
Python
Response Format
The organization and per-key endpoints return the same shape: ausage list with one entry per API key, whose data is keyed by period start date, then by feature:
Response Fields
Feature Naming Convention
Features follow the pattern{category}__{subfeature}:
Cost per Member
Addgroup_by=user to get one total per organization member over the window instead of a time series:
Python
member set on their API keys.
Usage of One Key
GET /v3/manage/keys/{key_id}/usage/ returns the time series of a single key. It takes the same begin, end, step, feature, subfeature, provider and phase parameters. The key_id is the id returned when the key was created or by the key list:
Python
404.
Checking Your Credit Balance
The account credit balance is not exposed by the Management API. Check it in the Eden AI dashboard, or cap spending per key with a key budget so a runaway integration cannot drain the account.Error Responses
401 with an inference key