# Rate limits and usage

> Canonical URL: https://docs.mountaya.com/en/apis/conventions/rate-limits/
> Last updated: 2026-11-27
> Rules for agents: https://docs.mountaya.com/llms.txt#rules-for-agents

The per-minute limits and monthly allowances of each Mountaya API, what counts toward them, and how to handle a 429.

Limits apply per organization and per API, across every key you own. Past one, the API answers `429 Too Many Requests` with a `Retry-After` header: wait that many seconds, then send the request again.

## Default limits

| API | Per minute, for your own clients | Per billing period |
| --- | --- | --- |
| Data API | 60 requests | 300,000 root fields |
| Tile API | 600 tiles | 2,000,000 tiles |
| Map Studio API | 600 reads per IP address, then 6,000 per organization | No allowance |

An agreement may set other figures. A second publishable key adds no quota: every key of your organization shares the same limits.

You pay the Data API for each root field answered without an error: each top-level query of a request, such as `directions`, of which a request holds up to four. The allowance caps a billing period: past it, requests answer `429` until the next period begins. See [pricing](https://mountaya.com/pricing/).

- Quotas apply per organization, per API, per minute, across every key you own, so a second publishable key adds none. They are 60 requests per minute for the Data API and 600 for the Tile API unless your agreement sets other figures.
- Every organization also has a monthly allowance on each of the two: 300,000 root fields answered without an error on the Data API and 2,000,000 tiles on the Tile API per billing period, unless its agreement sets another figure or leaves the allowance unlimited.
- Before the Tile API's quota, a key sent without a session token, or with one minted without `user_id`, from your own pages or in the hosted embed, is held to the larger of 120 a minute and a quarter of your organization's per-minute limit for each client IP address, an IPv6 address counted by its `/64` prefix, and to no per-address bound while that limit is unlimited. A request that bound refuses spends nothing of your organization's quota, so one busy page cannot spend the minute for every other. A key sent with a session token naming a user is not held per address; one minted without `user_id` is held per address as a bare key is.
- The Tile API also bounds a key used without a session token, or with one minted without `user_id`, per client IP address.
- "Per client IP address" counts the requests from one client IP address, an IPv6 address counted by its `/64` prefix, so the addresses of one network share a count.
- Of two bounds in a row, the first is checked first, and a request it refuses spends nothing of the second.
- A limit counts a request when it arrives, so a refused request counts in its window too. Every limit is best-effort: a request that cannot be counted at that moment is allowed rather than refused, so treat a `429` as the signal rather than a count to plan against.
- Two Map Studio API limits count what a request weighs rather than the request. A co-pilot request counts the bytes of its body, in full when it arrives. An import counts the requests it sends the routing engine: while it runs it holds the most it may send, which is what it is admitted on, and once it ends, whatever its answer, it is charged the ones it sent. A request refused for its weight counts what it weighed or held, and none weighs or holds more than its limit allows in a minute, so one refused for its weight fits once the minute `Retry-After` names has turned.
- A replayed idempotent request is never counted again.

Bounds by caller, on the Data API and the Tile API:

| Who calls | Data API | Tile API |
| --- | --- | --- |
| Your own clients (`api`, and `mcp` on the Data API) | 60 a minute per organization, unless your agreement says otherwise | 600 a minute per organization, unless your agreement says otherwise |
| The hosted embed (`embedding`) | Not used: it draws tiles only | Your organization's quota, shared with your own clients |
| An Embedded Studio (`studio-embedded`) | 300 a minute per member its token names, or per client IP address for a token minted without `user_id`, then 3,000 per organization | 6,000 a minute per member, or per client IP address for a token minted without `user_id`, then 60,000 per organization |
| A person in the Mountaya web application (`studio-online`) | 300 a minute per person | 6,000 a minute per person |
| Share links (`share`) | Not used: they draw tiles only | 600 a minute per client IP address, then 60,000 per organization that owns the link |

## What counts

Only your own clients and the hosted embed count: requests made with your keys from your servers, pages, and SDK calls, the MCP server, and the tiles the hosted embed draws. They count toward your limits, your allowance, and your invoice.

An Embedded Studio, Map Studio in the Mountaya app, and share links are recorded in your usage but never counted. The Tile API's base map is never counted either.

- Data API and Tile API requests are recorded under the surface they come from, and only your own clients and the hosted embed count: your SDK or any other client calling with your keys (`api`), the MCP server (`mcp`), and, on the Tile API, the hosted embed (`embedding`), which runs on your key in your pages. Their requests count toward the quotas and allowances, and toward the invoice, and your usage shows the hosted embed's tiles apart. The base map under those tiles is recorded under `terrain` and never counted.
- Mountaya's other surfaces are recorded apart, so your usage shows them, and are never counted: an Embedded Studio on its `studio-embedded` session (`studio-embedded`), Map Studio in the Mountaya web application (`studio-online`), and, on the Tile API, share links (`share`). Each is held to abuse bounds of its own instead (table above).
- The Tile API's base map is the exception on every surface: its terrain style, source tiles, sprites, glyphs and elevation raster are recorded under `terrain` and never counted, and are held to 6,000 a minute per client IP address instead, as [what the Tile API counts](https://docs.mountaya.com/en/apis/tiles.md#what-is-counted) states.
- Once your organization no longer holds Embedded Studio, the Data API and Tile API requests of a token already minted for `studio-embedded` count as your own clients' do.
- A person signed in to the Mountaya web application counts toward none of your organization's quotas or monthly allowances. They are held to bounds of their own, counted per person, their Map Studio API reads at 3,000 a minute per person, and the Map Studio API limits below hold them all the same, per person rather than per organization, while the invitations they send count toward the organization's 200 a day.
- The routing a Map Studio write does (a routed segment, an import, a zone computed from a source) is recorded as `studio-embedded` data usage under a key, and as `studio-online` from the Mountaya web application. It is held to the Map Studio API limits below, never to the Data API's: it counts toward no Data API limit, allowance, or invoice.
- A Data API request still running at 30 seconds is a `504` whose root fields count toward no allowance and no invoice. A Data API root field answered with an error counts toward no allowance.

## Read the rate-limit headers

The Data API and the Tile API report what is left of each limit on every answer, so you can slow down before a `429`. Send a request with your keys and a Data API session token, exported as `MOUNTAYA_DATA_TOKEN` as in the [quickstart](https://docs.mountaya.com/en/quickstart.md), and print the headers:

**cURL**

```bash
curl -s -o /dev/null https://data.mountaya.com/graphql \
  -H "X-API-Key: $MOUNTAYA_PUBLISHABLE_KEY" \
  -H "X-Session-Token: $MOUNTAYA_DATA_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"query": "query Directions($input: DirectionsInput!) { directions(input: $input) { routes { distance } } }", "variables": {"input": {"activity": "HIKING_AND_TRAIL", "waypoints": [[6.8712, 45.9231], [6.9271, 45.9822]]}}}' \
  -w 'RateLimit-Policy: %header{ratelimit-policy}\nRateLimit: %header{ratelimit}\n'
```

**TypeScript**

```typescript
import { Mountaya } from "@mountaya/client";

const mountaya = new Mountaya({
  credential: {
    publishableKey: process.env.MOUNTAYA_PUBLISHABLE_KEY ?? "",
    sessionToken: process.env.MOUNTAYA_DATA_TOKEN ?? "",
  },
  onResponse: ({ rateLimit }) => {
    for (const policy of rateLimit?.policies ?? []) {
      console.log(policy.name, policy.remaining, "of", policy.quota);
    }
  },
});

await mountaya.data.directions(
  {
    activity: "HIKING_AND_TRAIL",
    waypoints: [
      [6.8712, 45.9231],
      [6.9271, 45.9822],
    ],
  },
  { select: { routes: { distance: true } } },
);
```

**Python**

```python
import os
import requests

response = requests.post(
    "https://data.mountaya.com/graphql",
    headers={
        "X-API-Key": os.environ["MOUNTAYA_PUBLISHABLE_KEY"],
        "X-Session-Token": os.environ["MOUNTAYA_DATA_TOKEN"],
    },
    json={
        "query": "query Directions($input: DirectionsInput!) { directions(input: $input) { routes { distance } } }",
        "variables": {
            "input": {
                "activity": "HIKING_AND_TRAIL",
                "waypoints": [[6.8712, 45.9231], [6.9271, 45.9822]],
            }
        },
    },
    timeout=30,
)

print(response.headers.get("RateLimit-Policy"), response.headers.get("RateLimit"))
```

For example:

```http
RateLimit-Policy: "minute";q=60;w=60, "month";q=300000;w=2678400
RateLimit: "minute";r=41;t=23, "month";r=287354;t=1036800
```

`RateLimit-Policy` names each limit with its quota `q` and window `w` in seconds. `RateLimit` gives, in the same order, the requests left `r` and the seconds until the window resets `t`.

- The Data API and the Tile API send the IETF rate-limit fields on every answer the limits weighed, under a key, and on the Tile API under a share token as well: a success, a `429`, and a refusal made after the limits. A refusal made before them, for the credential, the calling page, the product (`402`), or the key's scope (`403`), carries neither, since no limit was weighed for it.
- On a `429`, `r` reads `0`.
- An unlimited limit is not reported, and a figure that cannot be read at that moment leaves its entry out, so an answer may carry neither field.
- Neither field is sent on a tile a shared cache may store, which is the same for every caller, so the fields would show one organization's figures to everyone; a copy a shared cache serves never reaches Mountaya and counts toward no limit.
- The Map Studio API sends neither field: it answers a `429` with `Retry-After` all the same.
- In the TypeScript client, `onResponse` is told each answer's `rateLimit` (`policies[]` of `name`, `quota`, `remaining`, `resetSeconds`, `windowSeconds`), and every error carries it too.

| Policy | What it counts |
| --- | --- |
| `minute` | The organization's per-minute limit for its own clients and the hosted embed, across all of its keys. |
| `month` | The monthly allowance for its own clients and the hosted embed, listed unless the organization's agreement leaves it unlimited. |
| `address` | The bound on one client IP address: on the Tile API, for a key sent without a session token or with one minted without `user_id`, the hosted embed's included, and for a share token; on both APIs, for a token minted for `studio-embedded` without `user_id`. |
| `member` | The bound on the member a token minted for `studio-embedded` names. |
| `studio-embedded` | The bound every token minted for `studio-embedded` under the organization's keys shares. |
| `share` | On the Tile API, the bound every share link of the organization that owns the link shares. |

## Handle a 429

Wait the seconds `Retry-After` names, plus a little random jitter, then send the same request. Bound the wait: a spent monthly allowance names days. A `429` coded `LIMIT_REACHED` names no wait at all, since a full [ceiling](https://docs.mountaya.com/en/apis/conventions/errors.md#ceilings) never lifts by waiting.

A write retried with its [`Idempotency-Key`](https://docs.mountaya.com/en/apis/conventions/idempotency.md) is never made twice.

**cURL**

```bash
# curl waits out Retry-After on a 429 before each retry,
# and gives up on a wait past two minutes.
curl --retry 3 --retry-max-time 120 https://data.mountaya.com/graphql \
  -H "X-API-Key: $MOUNTAYA_PUBLISHABLE_KEY" \
  -H "X-Session-Token: $MOUNTAYA_DATA_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"query": "query Directions($input: DirectionsInput!) { directions(input: $input) { routes { distance } } }", "variables": {"input": {"activity": "HIKING_AND_TRAIL", "waypoints": [[6.8712, 45.9231], [6.9271, 45.9822]]}}}'
```

**TypeScript**

```typescript
import { Mountaya, MountayaRateLimitError } from "@mountaya/client";

// The client waits out a Retry-After that fits in 60 seconds, and never a ceiling's.
// Raise the retry count for batch jobs.
const patient = new Mountaya({
  credential: {
    publishableKey: process.env.MOUNTAYA_PUBLISHABLE_KEY ?? "",
    sessionToken: process.env.MOUNTAYA_DATA_TOKEN ?? "",
  },
  retry: { maxRetries: 4 },
});

try {
  const { routes } = await patient.data.directions(
    {
      activity: "HIKING_AND_TRAIL",
      waypoints: [
        [6.8712, 45.9231],
        [6.9271, 45.9822],
      ],
    },
    { select: { routes: { distance: true } } },
  );
  console.log(routes[0]?.distance);
} catch (error) {
  // A spent allowance carries its wait in retryAfter; a ceiling (LIMIT_REACHED) carries none.
  if (error instanceof MountayaRateLimitError) {
    console.error(error.code, error.retryAfter);
  }
  throw error;
}
```

**Python**

```python
import os
import random
import time

import requests

MAX_WAIT = 60  # seconds: a longer Retry-After is a spent monthly allowance

for attempt in range(4):
    answer = requests.post(
        "https://data.mountaya.com/graphql",
        headers={
            "X-API-Key": os.environ["MOUNTAYA_PUBLISHABLE_KEY"],
            "X-Session-Token": os.environ["MOUNTAYA_DATA_TOKEN"],
        },
        json={
            "query": "query Directions($input: DirectionsInput!) { directions(input: $input) { routes { distance } } }",
            "variables": {
                "input": {
                    "activity": "HIKING_AND_TRAIL",
                    "waypoints": [[6.8712, 45.9231], [6.9271, 45.9822]],
                }
            },
        },
        timeout=30,
    )
    retry_after = answer.headers.get("Retry-After")
    # A ceiling (LIMIT_REACHED) names no wait and a spent allowance names days: stop on both.
    if answer.status_code != 429 or retry_after is None or int(retry_after) > MAX_WAIT:
        break
    time.sleep(int(retry_after) + random.random())

result = answer.json()
if "errors" in result:
    raise RuntimeError(result["errors"])
print(result["data"]["directions"]["routes"][0]["distance"])
```

A `429` for a spent monthly allowance names the seconds until your next billing period begins. Do not retry before then.

- Every `429 Too Many Requests` of a limit counted over a window, on every API, carries `Retry-After`: the whole seconds until the limit lifts, at least 1. For a per-minute limit it is the seconds left in the minute, at most 60; for the hourly bound on webhook redeliveries, the seconds left in the hour, up to 3,600; for a daily bound, such as the organizations one user creates or the invitations one organization sends, the seconds until the next day begins in UTC, up to 86,400; for a spent monthly allowance, the seconds until the organization's next billing period begins. Wait that long, with a little jitter of your own, then send the request again. With an `Idempotency-Key`, sending a write again is safe.
- Every organization has a monthly allowance on the Data API and on the Tile API: 300,000 and 2,000,000 by default, or the figures its agreement sets, which may leave it unlimited. It counts what the quotas count over the organization's billing period, in UTC: the days the current invoice of its Data API subscription bills, or else a month from the day of the month its agreement names, or else the calendar month. It counts the Data API's root fields answered without an error, through your keys and the MCP server, and the Tile API's tiles served to your own clients and the hosted embed. Once it is spent, every request it counts answers `429` with `Retry-After`, the seconds until the next period begins, while an Embedded Studio, the web application, and share links are never refused for it. That wait is meant literally: do not retry before it ends, since every request of your own clients, and every tile of the hosted embed, is refused until the period turns or the agreement changes.
- A ceiling is a `429` too, and is not a rate: the seats, the published itineraries, the published zones, the webhook endpoints or the allowed domains your agreement allows, the 500 invitations an organization may have waiting at once, or the three itineraries of a personal space. Its entry is coded `LIMIT_REACHED`, its `extensions.metadata` names the ceiling as `{ limit, allowed, used }`, and it carries no `Retry-After`, since no wait lifts it: free a place or change the agreement, then send the request again. See [ceilings](https://docs.mountaya.com/en/apis/conventions/errors.md#ceilings).
- The TypeScript client retries a `429` whatever the operation, after `Retry-After`, bounded by `retry.maxWaitMs`; `retry.maxRetries` defaults to 2. It never retries a `429` coded `LIMIT_REACHED`.
- Unknown share tokens: the Map Studio API and the Tile API bound share links per client IP address. An address that has had 60 unknown share tokens refused within a minute has every token not resolved moments earlier refused with `429` and `Retry-After`, the seconds left in that minute. A share token resolved moments earlier is never refused this way. A page that meets it is presenting dead links: replace them.
- Unknown publishable keys: publishable keys are bounded the same way on every API. An address that has had 60 unknown publishable keys refused within a minute has every key not resolved moments earlier refused with `429` and `Retry-After`, the seconds left in that minute, never the key's `401`; a key refused again within seconds counts once. A key resolved moments earlier keeps working. On the Map Studio, Tile, and Data APIs this comes before the key's `401`, so it carries no rate-limit fields.

## Map Studio API limits

The Map Studio API limits reads per IP address or per member, then per organization. Exports, copies, and its costliest writes, such as imports, routed segments, and agent runs, have limits of their own per member. Imports also count the requests they send the routing engine, and agent runs the bytes they are sent.

"Per user" counts the requests of the user the session token names. "Per organization" counts every request of the organization's keys together, or of its share links for a request made with a share token. Each refusal is a `429` with `Retry-After`. None of these is a ceiling, so none is coded `LIMIT_REACHED`.

| What is limited | Operations | Ceiling |
| --- | --- | --- |
| Reads under a key alone, or with a session token minted without `user_id` | every `GET` | 600 a minute per client IP address, then 6,000 a minute per organization; a token minted without `user_id` is held as the key alone is |
| Reads under a key with a session token naming a user | every `GET` | 1,200 a minute per user, then 6,000 a minute per organization, counted apart from the reads made under a key alone |
| Reads under a share token | every `GET` that takes a share token | 600 a minute per client IP address, then 6,000 a minute per organization that owns the link |
| Reads from the Mountaya app | every `GET` | 3,000 a minute per person signed in to the Mountaya app rather than calling with a key or a link |
| Itinerary exports | `GET /v1/itineraries/{itinerary_id}/export` | 60 a minute per client IP address under a key alone, with a session token minted without `user_id`, or under a share token; 60 a minute per user under a key with a session token naming a user. Checked before the reads above, which hold an export as well, so an export it refuses spends nothing of them |
| Organization creation | `POST /v1/organizations` | 10 a minute and 50 a day per user |
| Import | preview and import | 10 a minute per user, 60 per organization |
| Routing of imports | preview and import | 4,000 routing requests a minute per user, 24,000 per organization, one allowance for the two, counting every request an import sends the routing engine: a route, an analysis of a freehand line, and each half of an analysis the engine could not make whole. While it runs, a preview holds 1,188 and an import one per segment of its draft plus 120; once it ends it is charged what it sent, a few dozen for a preview of a recording on mapped ways, nothing for an import refused before it routes. A preview and the import of a 1,000-segment draft fit in one minute. Checked after the import limit above, and apart from the routed segment writes' limit |
| Itinerary copies | `POST /v1/itineraries/{itinerary_id}/duplicate` | 30 a minute per user, 300 per organization |
| Routed segment writes | create, update, split, merge, and convert a segment | 120 a minute per user, 1,200 per organization |
| Zone writes | create and update a zone | 30 a minute per user, 300 per organization |
| Agent run starts | `POST /v1/agent/runs` | 10 a minute per user, 100 per organization |
| Agent run inputs | `POST /v1/agent/runs/{run_id}/input` | 120 a minute per user, 1,200 per organization |
| Agent request bodies | `POST /v1/agent/runs` and `POST /v1/agent/runs/{run_id}/input` | 8 MiB a minute per user, 80 MiB per organization, one allowance for the two, a request counting the bytes of its body, at most the 1 MiB either takes. Checked after the two rows above |
| Agent run ratings | `POST /v1/agent/runs/{run_id}/feedback` | 60 a minute per user, 600 per organization |
| Collaboration signals | the `collab` signal of an itinerary or a zone | 1,200 a minute per user |
| Stream opens | the four event streams | 60 a minute per user, 1,200 per organization |
| Open streams | the four event streams | 20 open at once per user, 50 per client IP address, 1,000 per organization; an open past any of them is a `429` with `Retry-After`, and a stream gives its place back when it ends |
| Invitations | inviting by email | 30 a minute per user, and 200 a day per organization, those sent from the Mountaya web application included |
| Webhook resends, tests and redeliveries | `POST /v1/organizations/{organization_id}/webhook-deliveries` | 30 a minute per user, then 300 a minute per organization |
| Webhook redeliveries | `POST /v1/organizations/{organization_id}/webhook-deliveries` naming `since` | 10 an hour per user, 30 an hour per organization, counting only a request naming `since`. Checked after the row above, so a request it refuses counts nothing here |
| Webhook endpoint writes | creating, changing and deleting a webhook endpoint | 30 a minute per user, then 300 a minute per organization, one allowance for the three. Rotating a signing secret in the Mountaya app counts toward the same 30 a minute per person |
| Billing reads the payment provider answers | payment methods, invoices, billing details, promotion code, and opening billing (provisioning), which checks its promotion code as the preview does | 60 a minute per user, 300 per organization, one allowance for the five, the four reads held to the reads above as well |
| Billing writes the payment provider makes | setting up and saving a card, choosing the default card, detaching a card, running and ending the Data API subscription, and updating the billing details | 30 a minute per user, 300 per organization, one allowance for the seven, apart from the billing reads' |
| Organization lookup | `POST /v1/organizations/lookup` | 60 a minute per client IP address |
| Unknown share tokens | every read that takes a share token | 60 unknown share tokens refused a minute per client IP address; a token resolved moments earlier is never refused for it |
| Unknown publishable keys | every operation that takes a publishable key | 60 unknown keys refused a minute per client IP address, a key refused again within seconds counted once; a key resolved moments earlier is never refused for it |
| Refused sessions of the Mountaya app | every request made signed in to the Mountaya app rather than with a key | 60 sessions refused a minute per client IP address; past it, a session not checked moments earlier is answered `429` with `Retry-After`, the seconds until the minute turns, rather than a `401` that would sign its person out; a session checked moments earlier is never refused for it |
| Signed export downloads | the signed download URL the Data API's `exportItinerary` returns, which is no operation | 60 downloads a minute per client IP address, then 6,000 a minute across the URLs one organization's keys minted, or 3,000 a minute across the URLs one person minted signed in to the Mountaya app |

- Of the two ceilings a row of reads names, the first is checked first, and a read it refuses spends nothing of the second, so one address or one user never spends the whole of the organization's 6,000 a minute.
- The organization's 200 invitations a day are counted only once the caller is known to be one of its owners or admins, so a caller who may not invite never spends them.

## Session minting limits

`POST /v1/sessions` spends none of your quotas. It counts only refused requests, so a working backend never meets its limits, and up to 6,000 tokens a minute per secret key.

`POST /v1/sessions` spends neither quota. It runs before any credential is resolved, so it guards itself with five per-minute counters, each answered `429` with `Retry-After`.

| Counter | Limit | Charged on |
| --- | --- | --- |
| Per client IP address | 60 refused requests per minute, or 6,000 for the address of the person a request Mountaya's MCP server forwards acts for | only a request that is refused, so a backend minting for many users from one address never meets it while its requests succeed. A request Mountaya's MCP server forwards is counted against the address of the person it acts for, which the server forwards, rather than the server's own: an assistant reaches the MCP server from a few addresses its provider shares among all its users |
| Per secret key | 10 refused requests per minute | only requests rejected as `401` (unknown or revoked secret key, or one of a cancelled organization), `404` (unknown or revoked publishable key) or `403` (a publishable key of another organization) |
| Per secret key and `user_id` | 10 refusals per minute | only a `403` for that `user_id`: nobody of that id is a member of the organization or invited to it |
| Per secret key and `surface` | 10 refusals per minute | only a refusal of the `surface` asked for: for `studio-embedded`, the `402` of an organization whose agreement does not include Embedded Studio and the `403` of a publishable key without the `studio-embedded` scope, and for `mcp`, the `403` of anyone asking for it but Mountaya's MCP server |
| Per secret key | 6,000 tokens minted per minute | every token minted; a token returned again is free |

- A working integration never reaches the refusal counters, since they count failures alone. Hitting the per-key counter means a key is revoked, mistyped, or from another organization, so retrying fails the same way.
- Hitting the per-user counter means your backend keeps minting for someone who has left the organization or was never in it, and it holds back that `user_id` alone: the tokens you mint for everyone else keep coming.
- Hitting the per-surface counter means your pages keep asking for a surface your organization or your publishable key does not reach, typically `studio-embedded` once the agreement no longer includes Embedded Studio, and it holds back that surface alone: the tokens you mint for any other surface keep coming.
- Neither of these two says anything against the secret key, so rotating it changes nothing; fix the `user_id`, the agreement or the key's scopes instead.
- The minting ceiling is what bounds a secret key that leaked, whose requests succeed. Every counter is best-effort: a request that cannot be counted is allowed rather than refused.
- So a `429` from `POST /v1/sessions` surviving a few retries means the secret key or the publishable key it names keeps being refused; or, for one `user_id`, that your backend keeps naming someone who is not a member; or, for one `surface`, that your pages keep asking for a surface the organization or the publishable key does not reach, such as `studio-embedded` once the agreement no longer includes Embedded Studio. Only the first is about the secret key, so rotating it lifts neither of the others.

## See your usage

Open **Organization → Usage** in the [Mountaya app](https://app.mountaya.com) to see what each API served this month, with the hosted embed, Embedded Studio, and share links shown apart.

- Usage is also readable through the Map Studio API: `GET /v1/organizations/{organization_id}/usage/data` and `GET /v1/organizations/{organization_id}/usage/tiles`, scope `management`, `x-acting-user: optional` (a session token is required; one naming a user needs the owner or admin role). A `terrain` figure drawn from the elevation raster is recorded under the raster's `id` from the layer catalog.

## Next steps

- [Errors](https://docs.mountaya.com/en/apis/conventions/errors.md): Every error code, and which ones a retry fixes.
- [Go to production](https://docs.mountaya.com/en/production.md): The checklist before you launch.
