GET /v1/usage
https://api.voygr.tech/v1/usage
Overview
Get current usage, quota, and reset date for the API key.
Authentication
- API key in header
X-API-Key: Your customer API key (pk_live_...), sent on every request. Self-serve at https://api.voygr.tech/checkout.
Responses
200
Successful Response
application/json
Schema: UsageResponse
401
Missing or invalid X-API-Key.
application/json
X-API-Key header absent
{
"detail": {
"error": "API key required"
}
}X-API-Key doesn't resolve to an active key
{
"detail": {
"error": "invalid API key"
}
}403
The key is expired, or its tier is not permitted to use the API.
application/json
expired
{
"detail": {
"error": "API key expired on 2026-01-01"
}
}429
Rate limit exceeded; wait and follow Retry-After when returned. Free keys are limited to 10 requests per second and 120 requests per minute, and can place 1 call at a time, up to 25 calls per day. Paid keys are limited to 10 requests per second and 120 requests per minute. A top-up raises a key's daily cap to 5,000 calls and its concurrent-call ceiling to 10. Enterprise limits are set per contract.
application/json
ratelimited
{
"detail": {
"error": "rate limit exceeded"
}
}Schemas
UsageResponse
Type: object
Response model for usage endpoint.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
tier | string | required | Account plan identifier associated with the API key. |
api_key_id | string | required | API key ID |
customer_id | string | required | The account this key belongs to. Stable across key rotation; key per-customer client state on this, not on api_key_id. |
key_hint | string | null | optional | Last 4 characters of the key's plaintext, so the holder can recognize it. null on keys minted before this was recorded. |
key_created_at | string | null | optional | When this key was minted (ISO 8601). null if unknown. |
customer_name | string | required | Customer name |
quota_limit | integer | required | Credit allowance for the current period, not a number of requests. |
current_usage | integer | required | Credits charged plus credits reserved by requests still in progress. Unused reservations are released on settlement. |
remaining | integer | required | Credits available to spend, after charges and current holds. Same value as available. |
available | integer | null | optional | Credits you can spend now; the same value as remaining. Already net of credits frozen by in-flight reservations. |
owed | integer | null | optional | Credits owed after a refunded or disputed top-up took back credits that were already spent. The next top-up covers this first, so it adds this much less to available. 0 for an account in credit. |
call_credit_hold | integer | null | optional | Credits one outbound call freezes at dial time (a refundable hold, not a charge). available // call_credit_hold is the credit-limited bound on calls in flight. Entitlement and the per-customer concurrency cap apply separately, so that many calls are not guaranteed to start. |
max_places | integer | null | optional | Total places search and import may deliver to this key (self-serve trial cap). Null when the key is uncapped. |
places_used | integer | null | optional | Places delivered so far, plus those reserved by in-flight requests, against max_places. Null when uncapped. |
contact_email | string | null | optional | The address a support or sales reply would be sent to: the email on this key. Empty string when the key carries none. Null from a backend that predates the field. |
credits_per_field | integer | null | optional | Credits one (place × field) fill costs in deep research. |
credits_per_place | integer | null | optional | Credits one found/imported place costs (places search + import). |
enrichment | object | null | optional | Per-lane pricing for POST /v1/enrich: lanes (standard and deep_research, each with credits and unit), mixed, and the deprecated aliases that resolve to the same handler. |
open_invoices | array of object | null | optional | Open (unpaid) invoices raised for this key, newest first. |
percentage_used | number | required | Percentage of quota used |
reset_date | string | required | When a periodic quota resets. Informational only on a lifetime key. |
period | string | required | Quota period. lifetime for self-serve keys: their credits never expire. |
status | string | required | API key status (active, revoked, suspended) |
validation_timestamp | string | null | optional | UTC timestamp when usage response was produced (ISO 8601). |
mcp_confirm_limit | integer | optional | Credits above which the Places MCP connector asks before running a request. |
mcp_daily_credit_cap | integer | optional | The most an AI assistant may spend from this account per UTC day: the account's own cap, else the default. |
mcp_daily_credit_cap_default | integer | optional | The default daily cap, so a client can offer a reset to it. |
mcp_spent_today | integer | optional | Credits counted against today's MCP cap, in UTC. A hold counts in full even when the final charge is lower; a request that never ran gives its count back. |
Example 1
{
"api_key_id": "f4d0a2c2-f73f-4de6-ac3e-f42ce35af4d6",
"customer_id": "cus_0001example",
"customer_name": "Acme Inc",
"quota_limit": 10000,
"current_usage": 2375,
"remaining": 7625,
"percentage_used": 23.75,
"reset_date": "2026-03-31",
"period": "monthly",
"status": "active",
"tier": "<account-plan>"
}Example 2
{
"api_key_id": "eaa59659-7fab-4d1f-a80d-4f1e0f9388e4",
"customer_id": "cus_0002example",
"customer_name": "Beta Foods",
"quota_limit": 5000,
"current_usage": 5000,
"remaining": 0,
"percentage_used": 100.0,
"reset_date": "2026-03-01",
"period": "monthly",
"status": "active",
"tier": "<account-plan>"
}On this page
