API · Account
Workspace, plan, credits and limits
/api/v1/account
Rate limited but not charged, so you can poll it. Read credits.available_micro before a big batch, and limits to size uploads: exceeding max_upload_bytes is a 413 and exceeding max_pages_per_document a 422.
Returns 200
The workspace, its plan, credit and limits.
-
creditsobjectWhat the workspace can spend.
1 fields
-
available_microintegerCredit available now, in micro-USD (25000000 is US$25).
-
-
keyobjectThe key that made the call. Only a prefix of it, never the secret.
4 fields
-
idstring -
modelive | test -
namestring -
prefixstring
-
-
limitsobjectWhat one document may be on this plan.
4 fields
-
max_concurrent_jobsintegerDocuments processed at once; more wait in the queue.
-
max_pages_per_documentintegerMore pages is a 422.
-
max_retention_secondsintegerThe longest
retention_secondsallowed;0means no limit. -
max_upload_bytesintegerA bigger file is a 413.
-
-
organizationobjectThe workspace the key belongs to.
3 fields
-
idstring -
namestring -
slugstring
-
-
planobjectThe workspace's plan.
2 fields
-
idstring -
namestring
-
-
rate_limit_per_secondintegerRequests allowed per second.
Errors
-
401Missing, revoked or expired key
-
429Per-second burst limit for the plan exceeded; retry after
Retry-Afterseconds
Every error has the same shape. See Errors.