API ReferenceAccount
Get credit usage
Returns the current billing period's credit usage for the API key's organization.
AuthorizationBearer <token>
API key as a Bearer token: Authorization: Bearer docr_sk_…
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://app.docr.dev/api/v1/usage"{
"usage": {
"plan": "free",
"planStatus": "active",
"included": 100,
"used": 37,
"available": 63,
"periodStart": "2026-06-01"
}
}{
"error": "Invalid or revoked API key"
}{
"error": "IP 203.0.113.4 is not whitelisted"
}