# Rate limits, quotas & plans

Audiobly has two plans. The API and the MCP server come with **Enterprise**, and an Enterprise key sees everything: every module, every event and every data point the dashboard shows.

| | Per day | Enterprise |
|---|---|---|
| **Price** | £499 per event day | contract |
| **What you get** | standard reports and the live webpage with its features | everything in Per day, plus API access, MCP access and every module, including the Event Intelligence Hub |
| **API keys and MCP server** | — | ✓ |
| **Insights, Intelligence, Experience, Podcast modules** | — | ✓ all included |
| **Plan ID** (as returned by the API) | — | `enterprise` |
| **API-key request rate (sustained)** | — | 3,000 / min |
| **API-key request burst** | — | 60 / sec |
| **Transcription minutes** | — | unlimited (contractual, monitored, never blocked) |

Limits apply per **organisation**: all of an organisation's API keys share one allowance.

- Creating an API key needs Enterprise. On any other plan, `POST /v1/api-keys` returns `403 PLAN_REQUIRED` (*"API and MCP access come with the Enterprise plan."*).
- If an organisation leaves Enterprise, its existing keys stop working with the same `403 PLAN_REQUIRED` on every call (including MCP). They work again when Enterprise is back.
- A key with no `scopes` can read and write everything its organisation holds. A key created with `scopes` is limited to those permissions (see [API key scopes](#api-key-scopes)).
- The MCP server is read-only on top of that: it returns signed-off (editor-reviewed) transcripts only and never returns attendee or delegate personal data.

Check your organisation's plan and this month's usage at any time:

```bash
curl -s https://api.audiobly.com/v1/organizations/current/usage -H "Authorization: Bearer $KEY"
# → { "minutes_processed_this_month": 312, "subscription_tier": "enterprise" }
```

Any member of the organisation, and any key with the `read` scope, can call it.

---

## 1. Request rate

API-key traffic is limited per organisation by two windows that must both have room: a **burst** window (per second) and a **sustained** window (per minute), using the numbers in the table above. Signed-in dashboard sessions are not bound by the API rate: they share a separate fixed allowance, so normal use of the dashboard is never throttled.

Every authenticated response carries:

| Header | Meaning |
|---|---|
| `X-RateLimit-Limit` | the sustained per-minute limit that applies to this request |
| `X-RateLimit-Remaining` | requests left in the current sustained window |
| `Retry-After` | seconds to wait — only on a `429` |

Over the limit you get:

```json
HTTP/1.1 429 Too Many Requests
Retry-After: 4

{"error": {"code": "RATE_LIMITED", "message": "Rate limit exceeded for this organisation's plan", "request_id": "…"}}
```

Wait `Retry-After` seconds and retry.

## 2. Transcription minutes

Transcription time is the only metered resource. Events, reports, content assets and analysis runs are **not capped**.

- Minutes are counted from the audio actually transcribed, and reset at the start of each calendar month.
- The check happens when a new transcription would start — when you complete an upload (`POST /v1/uploads/sessions/{session_id}/complete` or `POST /v1/uploads/{event_id}/complete`). Once the month's minutes are used up, starting another one returns:

```json
HTTP/1.1 402 Payment Required

{"error": {"code": "QUOTA_EXCEEDED", "message": "Monthly transcription minutes quota reached (600) for this plan — upgrade or wait for the next billing month.", "request_id": "…"}}
```

- A transcription already running is never stopped part-way.
- Enterprise usage is metered and monitored against the contract but never blocked, so API callers do not see `402 QUOTA_EXCEEDED` for transcription minutes.
- If your contract includes a monthly cap on **live capture** minutes, provisioning a new live capture over that cap returns `402 LIVE_MINUTES_EXCEEDED`; `GET /v1/events/{event_id}/live` shows `minutes_used` and `minutes_cap`.

## 3. Entitlements

### Every module is included

With an Enterprise key, every module's endpoints answer: Insights (analysis, audience and demand, room insights, event intelligence, themes, debates, quotes, branded and stored reports), Intelligence (cross-event portfolio, companies, contacts), Experience (ticketing, check-in, session sign-up, contact export) and Podcast. A key never gets `MODULE_DISABLED` or a module `PLAN_REQUIRED`.

These areas are what the Insights module and the Event Intelligence Hub show; [Build your own Event Intelligence module](/developers/guides/event-intelligence.md) maps each view to its endpoints:

| Area | Endpoints |
|---|---|
| Event Intelligence snapshot | `/v1/events/{event_id}/hub/insights` |
| Headline figures | `/v1/events/{event_id}/stats`, `/qa-stats`, `/poll-stats`, `/engagement/stats`, `/live-translation/usage` |
| Themes | `/v1/events/{event_id}/themes`, `/themes/matrix`, `/themes/{key}` |
| Debates, quotes, takeaways, entities, airtime | `/v1/events/{event_id}/debates`, `/quotes/search`, `/sessions/{session_id}/takeaways`, `/sessions/{session_id}/quotes`, `/entities`, `/airtime` |
| Transcript analysis | `/v1/events/{event_id}/analysis`, `/analysis/status`, `/analysis/{scope}`, `/sessions/{session_id}/analysis` |
| Audience & demand | `/v1/events/{event_id}/audience`, `/audience/resonance`, `/demand`, `/leads` |
| Room insights | `/v1/events/{event_id}/voice`, `/influence`, `/network` |
| Event intelligence & questions | `/v1/events/{event_id}/intelligence`, `/insights/ask`, `/ask`, `/ask/suggestions` (Ask the event also has its own limits: 30 questions a day per delegate, 60 a minute per organisation; see [Ask the event](/developers/guides/ask-the-event.md)) |
| Branded and stored reports | `/v1/events/{event_id}/reports/*`, `/report:generate`, `/sponsors/{sponsor_id}/reports/value`, `/sessions/{session_id}/reports…`, `/content-reports…` |
| Cross-event intelligence | `/v1/intelligence/*`, `GET /v1/companies/{company_id}`, `GET /v1/contacts/{contact_id}`, `GET /v1/contacts/{contact_id}/affiliations` |
| Experience | `/v1/events/{event_id}/ticket-types`, `/orders`, `/checkins`, `/promo-codes`, `/tickets/…`; `/sessions/{session_id}/register`, `/registrations`, `/attended`, `/attendance`; `GET /v1/contacts/export` |
| Podcast | `/v1/podcast/*` |
| Live Q&A and polls (read) | `/v1/events/{event_id}/sessions/{session_id}/live-qa/questions`, `/live-qa/polls` (a key with `read` is enough) |

### Live page features

**Live translation**, **Q&A** and **Polls** are the live webpage's features, switched on per event account by Audiobly. They decide what the live webpage offers attendees; reading their data through the API (usage, questions, polls) always works for an Enterprise key. `GET /v1/me` shows which ones you have (`live_translation_enabled`, `qa_enabled`, `polls_enabled`), and so does `GET /v1/events/{event_id}/live-translation` (`translation_entitled`, `qa_entitled`, `polls_entitled`). Without the feature, the calls below return `403 NOT_ENTITLED`:

| Feature | Refused without it |
|---|---|
| any of the three | `PUT /v1/events/{event_id}/live-translation` (the live page needs at least one) |
| Live translation | `PUT /v1/events/{event_id}/live-translation` that changes `languages`, `audio` or `allow_other_languages` — the page offers the spoken language only |
| Q&A | `PUT /v1/events/{event_id}/live-qa/settings` with `qa_sessions`; attendees asking a question get `403 QA_OFF` |
| Polls | `PUT /v1/events/{event_id}/live-qa/settings` with `poll_sessions`, and opening a poll (`POST /v1/events/{event_id}/live-qa/polls/{poll_id}/open`); attendees answering a poll get `403 POLLS_OFF` |

See *Live translation* (Sections 2 and 7).

### API key scopes

A key created with `scopes` can only call what those permissions allow. A scoped key calling outside them gets `403 FORBIDDEN` — see *Create a complete event via the API* (Section 1).

## Error summary

| Status | `error.code` | Meaning | What to do |
|---|---|---|---|
| `429` | `RATE_LIMITED` | request rate exceeded | wait `Retry-After` seconds, then retry |
| `402` | `LIVE_MINUTES_EXCEEDED` | contractual live-capture cap reached | contact Audiobly |
| `403` | `PLAN_REQUIRED` | the organisation is not on Enterprise (API and MCP access) | move to Enterprise |
| `403` | `NOT_ENTITLED` | live translation, Q&A or Polls not enabled for your account | ask Audiobly to enable it |
| `403` | `FORBIDDEN` | the key's scopes (or the user's role) don't allow this call | use a key with the right scopes |

## Client guidance

- Treat `429` as normal: honour `Retry-After`, and use exponential backoff with jitter for repeated retries.
- Read `X-RateLimit-Remaining` to pace bulk jobs (imports, backfills) before you hit the wall.
- Don't retry `402` or `403` automatically — they won't clear on their own within seconds. Surface a clear message instead (move to Enterprise, or ask Audiobly to switch on a live webpage feature).
- Spread large backfills over time and use the bulk endpoints (CSV imports, list endpoints with `limit=200`) rather than many single calls.
