Get Usage Statistics
Account
Get Usage Statistics
Retrieve time-series usage data for your account, including requests, tokens, crawls, and credit consumption over a chosen period.
GET
Get Usage Statistics
This endpoint returns aggregated usage metrics for your account over a selected time window. Use it to build usage dashboards, monitor credit burn rate, or understand how your workloads are distributed across days and weeks.
Time Ranges
Pass therange query parameter to select the window you want:
Response Fields
Each item in thedata array represents one time period.
Example Response
Errors
If you omit therange parameter or pass an unsupported value, the API returns a 400 error:
For a full explanation of what each metric means and how to read your usage data, see the Usage and Analytics guide.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Time range: '7d' (last 7 days), '30d' (last 30 days), or 'weekly' (last 7 weeks)
Available options:
7d, 30d, weekly 
