apicheats.dev Cheat sheet Raw .md
POST

Try POST /organization/spend_limit — OpenAI API

OpenAI playground

Update organization spend limit

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.openai.com; the proxy stores and logs nothing about them.

Body application/json

3 body fields
  • threshold_amount · required · integer — The hard spend limit amount, in cents.
  • currency · required · string — The currency for the threshold amount. Currently, only `USD` is supported.
  • interval · required · string — The time interval for evaluating spend against the threshold. Currently, only `month` is supported.