Billing
Usage Api Token
Changed onDeprecated: use Usage Api Token By Id (GET /payment/usage/id/{token_id}).
get/payment/usage/{api_token}
Request
- Base URL: https://api.deepinfra.com
- URL: https://api.deepinfra.com/payment/usage/{api_token}
- Auth: HTTP bearer
Path parameters
api_tokenstring required
Query parameters
fromstring required
start of period in YYYY.MM, current(-N), unix_timestamp (in seconds, UTC) format
tostring nullable
end of period (if missing a single month marked by from is return), same format as from
Cookies
sessionunknown
Response
Successful Response
Changes
- info
endpoint deprecated
- info
- info
api tag
Billingadded - info
added the optional property
/////to the response with the status
- info