OrganizationSpending
Manages organization and project hard spend limits and notification alerts using an Admin API key. Default operations throw UnsupportedOperationException so custom clients can omit this capability.
Inheritors
Functions
Creates an organization-level spend notification alert.
Creates a spend notification alert for a project.
Deletes an organization-level alert and returns its ID and service confirmation.
Deletes the organization's hard spend limit and returns the service confirmation.
Deletes a project's alert and returns its ID and service confirmation.
Deletes a project's hard spend limit and returns the service confirmation.
Retrieves one organization-level spend alert.
Lists organization alerts with forward or backward cursors and optional sort order.
Retrieves the organization's hard spend limit and enforcement state.
Retrieves one project's spend alert.
Lists project alerts with forward or backward cursors and optional sort order.
Retrieves a project's hard spend limit and enforcement state.
Replaces an organization's alert configuration, including its complete notification channel.
Creates or completely replaces the organization's hard spend limit. Amounts are in cents.
Replaces a project's alert configuration, including its complete notification channel.
Creates or completely replaces a project's hard spend limit. Amounts are in cents.