Licence-enforced consumption for an account
Units an account consumed over a window: the number its licence allowance is enforced against, summed over every workspace of the account.
Authenticate with an API key of any workspace in the account, or a bearer token of a member with permission to read the account's billing information. Any other account answers 403.
Counted in whole UTC days. Days before the counter began (counted_from) count as zero. A window that ends after today answers 503 rather than a smaller number, and so does any failure to read the count: a 200 is never a stand-in for a count that could not be read.
breakdown=day adds days, the quantity for every UTC day in the window (at most 366 days), for charting; weeks and months roll up from it.
split=strategy adds strategies: the pages by processing strategy (fast, hi_res, vlm), with other for every other kind of page and unattributed for pages counted before the split began (strategies_counted_from) or asserted as an opening balance. The five always sum to the quantity they split. The split is informational: the licence counts every page as one, whatever its strategy.
Call this endpoint at most 15 times per minute for each authenticated identity.
Request
- Base URLhttps://platform-api.transform.unstructured.io (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
Unit to count. Today only pages.
Start of the window, RFC 3339. Counted in whole UTC days: the day containing start counts in full.
End of the window, RFC 3339. Counted in whole UTC days: the day containing end counts in full, unless end is exactly midnight UTC, which ends the window with the previous day.
day adds days: the quantity for every UTC day in the window, at most 366 days.
strategy adds strategies to the total, and to each of days: pages by processing strategy (fast, hi_res, vlm, other, unattributed), summing to the quantity they split. Informational: every page counts as one against the licence.
Headers
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.