billing

Get usage-alert settings

Changed on

Returns the organization's balance-alert configuration and any currently open alerts (low balance, negative balance).

get/billing/usage-alerts

Request

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

enabledboolean required

Whether low-balance alerts are active. Negative-balance alerts are always on.

threshold_microdollarsinteger required

Alert while the balance sits below this amount, in microdollars. Must be positive while enabled.

Example response

{
  "$schema": "/api/v1/SubscriptionUsageAlertSettingsResponse.json"
}

Changes

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property to the response with the status

    • info

      the endpoint scheme security bearerAuth was removed from the API