---
title: "API keys — scopes, rotation and rate limits · Fettle"
description: "How Fettle API keys work: read and write scopes, expiry and rotation, IP allow-lists, and the per-plan request limits all of an organization's keys share."
url: "https://fettle.sh/docs/api-keys"
---

/ docs / api-keys

# API keys

How Fettle API keys work: read and write scopes, expiry and rotation, IP allow-lists, and the per-plan request limits all of an organization's keys share.

Updated 2026-10-31 · Published 2026-08-24

## Scopes

A key carries one of two scopes, chosen when you create it in the dashboard:

- **Read** — list and inspect monitors, incidents, heartbeats and status pages.
- **Write** — everything read allows, plus creating, changing, pausing and deleting.

The dashboard does not widen an existing key: for write access, create a write key rather than upgrading a read one. Calling a write route with a read key returns `403`, never a partial success.

Scopes are deliberately coarse. A key reaches only the routes Fettle marks as public API — billing, organization management and user management are never reachable with a key, whatever its scope. What those routes cover is on the [uptime monitoring API](https://fettle.sh/api) page.

## The secret

The secret is shown once, when the key is created, and never again. Fettle stores only a hash; nobody at Fettle can read your key back to you, and neither can the dashboard.

What the dashboard does show is the prefix — the first characters of the secret — so you can tell which key a log line or an alert refers to without holding the secret itself.

## Rotation

Rotating a key issues a new secret while the old one keeps working for a **24-hour grace period**. That window is the point: it lets you deploy the new secret everywhere it is used before the old one stops, so rotation is not an outage.

When a key is compromised, do not rotate — revoke. Revocation takes effect immediately, with no grace window, and cannot be undone.

## Expiry and IP allow-lists

A key can be given an expiry date, after which it stops working on its own. Useful for a contractor, a demo, or a one-off migration script — the cleanup happens whether or not anyone remembers it.

A key can also be pinned to one or more CIDR ranges. Requests from anywhere else are rejected before the key is even considered valid. This is worth setting for a key that only ever calls from a known CI runner or a fixed egress address.

## Limits

Two limits apply per organization: how many keys may exist at once, and how many requests per minute all of them together may make.

| Plan       | Keys | Requests / minute |
| ---------- | ---- | ----------------- |
| Free       | 2    | 30                |
| Plus       | 5    | 60                |
| Pro        | 10   | 120               |
| Max        | 25   | 300               |
| Enterprise | 100  | 1000              |

The rate limit is shared across every key in the organization, not budgeted per key — a second key does not buy a second allowance. Exceeding it returns `429` with a `retry_after` value telling you how many seconds to wait.

MCP tool calls spend the same budget: one tool call is one request, whichever channel it arrives on. See [MCP](https://fettle.sh/docs/mcp).

## Managing keys

Keys are created, rotated and revoked under [API keys](https://dashboard.fettle.sh/api-keys) in the dashboard sidebar. Each key records when it was last used, so a key nothing calls any more is easy to find and remove.
