Set or remove this key's monthly spend cap on live sessions (resets on the 1st, UTC)

put/api/keys/{keyId}/spend-cap

Request

  • Base URL: https://api.askingahuman.com
  • URL: https://api.askingahuman.com/api/keys/{keyId}/spend-cap
  • Auth: HTTP bearer

Path parameters

keyIdstring required

The key's id, or me

Request body

monthlySpendCapCentsinteger nullable required

null removes the cap; 0 pauses paid sessions

Response

Saved

keyIdstring
monthlySpendCapCentsinteger nullable
spentThisMonthCentsinteger

Changes

No recorded changes to this operation across all 1 revision of this API.