Skip to content

GET /v1/usage

GET https://api.deskew.dev/v1/usage

Returns usage for the organization that owns the key, across all its projects, for the key’s mode (test or live), within the current billing cycle. Any valid key may call it today; give integration keys usage:read so they keep working when scope enforcement lands.

Terminal window
curl https://api.deskew.dev/v1/usage -H "Authorization: Bearer $DESKEW_API_KEY"
{
"object": "usage",
"plan": "pro",
"env": "live",
"cycle": { "start": "2026-11-15", "end": "2026-12-15" },
"pages": 6210,
"credits": 6874,
"premium_credits": 412,
"jobs": 1893,
"included_pages": 10000
}
Field Meaning
plan free, pro, scale or enterprise
env test or live, from the key
cycle Start (inclusive) and end (exclusive) dates of the current monthly cycle, anchored on the organization’s billing day
pages Pages processed
credits Credits consumed; this is what is compared against included_pages
premium_credits The part of credits that came from premium engine use, handwriting, fields and schema
jobs Jobs created, including failed ones
included_pages The plan’s monthly allowance; null on Enterprise

Test usage is reported with the same shape but is never billed.

Status Code
401 missing_api_key, invalid_api_key, key_revoked, key_expired
403 ip_not_allowed
429 rate_limited