Billing

Usage Api Token

Changed on

Deprecated: 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

initial_monthstring required

The first month for this account

Changes