Get account or owned-key daily rollups
Without resource, daily usage rollups for the account or one owned key. With resource=ledger, the append-only credit ledger (newest first) paged with limit and offset; the CSV format applies to rollups only.
Request
- Base URL: https://api.scripthaul.com
- URL: https://api.scripthaul.com/v1/usage
- Auth: HTTP bearer
Query parameters
Select the credit ledger instead of usage rollups.
Ledger rows per page (resource=ledger only).
Ledger paging offset (resource=ledger only). Prefer cursor: offsets are capped at 100000.
Opaque position from a previous page's pagination.next_cursor (resource=ledger only). Walks the whole ledger with no ceiling and stays stable while new rows arrive; offset is ignored when a cursor is given.
Only rows created at or after this ISO 8601 date or date-time (resource=ledger only).
Only rows created before this ISO 8601 date or date-time (resource=ledger only).
Response
JSON rollups or CSV attachment
Changes
No recorded changes to this operation across all 1 revision of this API.