API reference

API reference · Account

Spend alerts and where they stand

GET/api/account/alertsSigned in session

Parameters

Path and query parameters
FieldTypeWhat it is
orgId (query)integerAn organization's alerts instead of your own.

Answer 200

Armed thresholds and this window's spend.

The answer's fields are not named in the document.

Errors

  • 401OpenAI shaped error.
  • 403OpenAI shaped error.
  • 404OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter