> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useautumn.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Usage Alert Triggered

> Fired when a customer crosses a configured usage alert threshold.

### Payload Fields

**customer\_id** `string`

The ID of the customer whose usage alert was triggered.

**feature\_id** `string`

The feature ID the alert applies to.

**entity\_id** `string`

The entity ID the alert applies to, if the usage was entity-scoped.

**usage\_alert** `object`

Details of the usage alert that was triggered.

**properties**

**name** `string`

User-defined label for the alert, if provided.

**threshold** `number` *required*

The threshold value that was crossed.

**threshold\_type** `'usage' | 'usage_percentage' | 'remaining' | 'remaining_percentage'` *required*

Whether the threshold is an absolute usage count or a percentage.

**basis** `'balance' | 'included' | 'recurring'` *required*

What 100% meant for this alert.

**balance** `object`

The balance the alert measured.

**properties**

**usage** `number` *required*

Units consumed on the feature, after this event.

**granted** `number` *required*

Every grant on the feature: included, prepaid and rollover.

**included** `number` *required*

Grants from plan allowances only.

**remaining** `number` *required*

The alert's denominator minus usage. Clamped at zero for included and recurring; balance can go negative on overage.


## OpenAPI

````yaml api/openapi.yml webhook balances.usage_alert_triggered
openapi: 3.1.0
info:
  title: Autumn API
  version: 2.6.0
servers:
  - url: https://api.useautumn.com
    description: Production server
security:
  - secretKey: []
paths: {}
components:
  securitySchemes:
    secretKey:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.