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

# API limits

> Understand absentify API rate limits (150 requests per second per workspace), the 1826-day date range cap, and the limit of 5 concurrent API exports.

> [!WARNING]
>
> Exceeding the API rate limit of 150 requests per second per workspace may lead to temporary errors or interruptions. To ensure stable operation, plan your requests to stay within this limit.

The absentify API supports up to **150 requests per second per workspace**. The limit is counted in fixed one-second windows, and requests over it are rejected with `429`. Staying within this limit is essential for maintaining smooth and uninterrupted API access.

### Best practices for staying within limits

* **Optimize request timing**: Distribute requests evenly to avoid sudden spikes that might exceed the rate limit. Consider scheduling or batching requests when possible.
* **Implement backoff logic**: If you reach the rate limit, add retry logic with a brief delay. This approach helps manage occasional bursts without impacting the application.
* **Monitor usage**: Regularly track your request volume to identify high-traffic periods or patterns, allowing for adjustments to stay within the limit.
* **Set alerts**: If available, set up alerts to notify you when request volumes approach the rate limit.

> [!NOTE]
>
> Summary: The absentify API has a rate limit of 150 requests per second per workspace. Properly managing request timing, retry logic, and monitoring helps prevent outages and ensures efficient API usage.

### List endpoint date range limit

The `start`…`end` window for `GET /requests`, `GET /requests_per_day`, and `GET /absences_per_day` may span at most **1826 days (5 years)**. Wider or inverted ranges return `400`; retrieve longer periods in consecutive, smaller windows.

### Concurrent API exports

At most **5** API exports can run per workspace at once. A further `POST /exports` returns `429` with `Retry-After: 60`. Wait for one to finish, then retry. See [Exports](https://absentify.com/docs/en/api-reference/exports.md).


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