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

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Get booking limits

> Retrieves the connected user's booking frequency and duration limits.

`calcom.getBookingLimits` retrieves the connected user's booking frequency and duration limits.

```ts automations/get-booking-limits.automation.ts theme={null}
import { automation, markSignificant } from "automate.ax"
import { calcom } from "automate.ax/calcom"

export default automation("Get booking limits", () => {
  markSignificant(calcom.getBookingLimits({}))
})
```

## Input

This action takes no input.

## Output

Returns an object with these fields:

| Field      | Type             | Required | Description |
| ---------- | ---------------- | -------- | ----------- |
| `perDay`   | `number \| null` | Yes      | —           |
| `perWeek`  | `number \| null` | Yes      | —           |
| `perMonth` | `number \| null` | Yes      | —           |
| `perYear`  | `number \| null` | Yes      | —           |

Cal.com enforces account role, plan, and availability requirements. Provider rejections surface as structured action failures with the HTTP status and any `Retry-After` delay.
