Billing

Get settled usage

Settled usage between from and to (ISO dates; default the last 30 days, at most a year), grouped by action, key, user or run.

Any valid API key.

get/usage

Request

  • Base URL
    https://api.tarifflo.com/api/v2
  • URL
    https://api.tarifflo.com/api/v2/usage
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Query parameters

groupBy'action' | 'key' | 'user' | 'run'
fromstring
tostring
limitstring

Response

Successful response

fromstring required
tostring required
groupBy'action' | 'key' | 'user' | 'run' required
unit'token' | 'credit' required

Always "credit": every amount here is presented in credits, whatever the ledger counts in.

Changes

No recorded changes to this operation across all 1 revision of this API.