main

Get Billing Credits

Changed on

Return per-key MPS credits (OSS) or the org's paginated billing ledger.

get/api/v1/organizations/billing/credits

Request

  • Base URL
    https://app.dograh.com
  • URL
    https://app.dograh.com/api/v1/organizations/billing/credits
  • Auth
    none declared

Query parameters

pageinteger
limitinteger
entry_type'credit' | 'purchase' | 'debit' | 'grant' | 'additional_credit' nullable

Entry type; credit includes purchases, grants, and additional credits

start_datestring date nullable

Inclusive calendar date in timezone

end_datestring date nullable

Inclusive calendar date in timezone

timezonestring

IANA timezone for the selected calendar dates

Headers

authorizationstring nullable
X-API-Keystring nullable

Response

Successful Response

total_credits_usednumber
remaining_creditsnumber
total_quotanumber
total_countinteger
pageinteger
limitinteger
total_pagesinteger

Changes