> ## 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.

# Limit Reached

> Fired when a customer reaches the limit for a feature (included allowance, max purchase, spend limit, or a usage-limit billing control).

### Payload Fields

**customer\_id** `string` *required*

The ID of the customer who hit the limit.

**entity\_id** `string`

The entity ID, if the limit was reached on a specific entity.

**feature\_id** `string` *required*

The feature ID whose limit was reached.

**limit\_type** `'included' | 'max_purchase' | 'spend_limit' | 'usage_limit'` *required*

Which limit was hit: included allowance, max purchase cap, spend limit, or a usage-limit billing control.

**filter** `object`

The filter of the usage limit that blocked, when a filtered cap was hit.

**properties**

**properties.\{key}** `string` *required*

**usage\_limit** `object`

The usage limit that blocked, with its live window. Present only when limit\_type is usage\_limit.

**properties**

**limit** `number` *required*

Maximum units allowed per interval.

**interval** `'day' | 'week' | 'month' | 'year'` *required*

Interval of the cap.

**anchor** `'billing_cycle' | 'utc'` *required*

Window alignment the cap was configured with.

**usage** `number` *required*

Units consumed in the current window, after this event.

**remaining** `number` *required*

Units left in the current window, never below zero.

**window\_start\_at** `number` *required*

Start of the current window, in milliseconds since epoch.

**window\_end\_at** `number` *required*

End of the current window, in milliseconds since epoch.


## OpenAPI

````yaml api/openapi.yml webhook balances.limit_reached
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.