Billing
post/payment/key-limits

Request

  • Base URL: https://api.deepinfra.com
  • URL: https://api.deepinfra.com/payment/key-limits
  • Auth: HTTP bearer

Cookies

sessionunknown

Request body

token_idstring required

Api key id, as returned by /v1/api-tokens

limitnumber nullable

Monthly spending limit (in USD) for this key. Null or negative removes it; 0 blocks the key

Response

Successful Response

token_idstring required
namestring required

Api key name

limitnumber nullable required

Monthly spending limit (in USD), if set

spendnumber nullable required

Spent so far this month (in USD). Null when not yet computed for this key

Changes