Get usage
GET /v1/usageFreeRead-only
The organization's daily usage for the last N days (default 30), by op, with cache hit counts, across every member and key. Use it to explain a bill or spot a runaway client.
MCP tool get_usage · CLI geocode get-usage · RPC POST /v1/ops/get_usage
Input
| Field | Type | Description |
|---|---|---|
daysquery | integer | How many days back. Default 30. |
Example request
curl "https://geocodeai.dev/v1/usage" \
-H "Authorization: Bearer $GEOCODE_API_KEY"Example response
See the description above for what this returns.
Errors
Failures are RFC 9457 problems. Common ones here: 400 invalid_input, 401 unauthorized, 429 rate_limited.