Endpoints / get-usage
Your API usage
GET
/api/v1/usagedeveloperreadReturns request and error counts for the calling key over the requested window. Use to self-monitor your budget.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| window | 24h | 7d | 30d | 12m | no | Bucket window |
Examples
curl -H "x-api-key: $INTELLIGENCE_API_KEY" \
"https://intelligence-beryl.vercel.app/api/v1/usage?window=24h"Responses
200Usage rollup