Billing
Usage Api Token By Id
Changed onUsage for a single API token, by token_id.
token_id comes from Get Api Tokens (GET /v1/api-tokens).
get/payment/usage/id/{token_id}
Request
- Base URL: https://api.deepinfra.com
- URL: https://api.deepinfra.com/payment/usage/id/{token_id}
- Auth: HTTP bearer
Path parameters
token_idstring 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
- ○
endpoint added
- ○