# Overview

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

The rules every Mountaya API shares: the error envelope, request IDs, rate limits, idempotency, pagination, conditional writes and versioning.

The Map Studio API, the Data API and the Tile API share one set of rules. A failure answers the same envelope on all three:

**Response**

```json
{
  "errors": [
    {
      "message": "Activity is not recognized",
      "path": ["request", "body", "activity_id"],
      "extensions": { "code": "VALIDATION_FAILED" }
    }
  ]
}
```

Branch on `extensions.code`, never on `message`. Every answer also carries an `X-Request-Id`: log it beside each failure.

## Every convention

| Convention | What it covers |
| --- | --- |
| [Errors](https://docs.mountaya.com/en/apis/conventions/errors.md) | The error envelope, every code, and which failures to retry. |
| [Rate limits and usage](https://docs.mountaya.com/en/apis/conventions/rate-limits.md) | The per-minute limits and monthly allowances, and how to handle a `429`. |
| [Idempotency](https://docs.mountaya.com/en/apis/conventions/idempotency.md) | An `Idempotency-Key` on every Map Studio API write, so a retry never makes the write twice. |
| [Pagination](https://docs.mountaya.com/en/apis/conventions/pagination.md) | Paging through a Map Studio API listing with `limit` and `cursor`. |
| [Conditional writes](https://docs.mountaya.com/en/apis/conventions/conditional-writes.md) | Sending an `ETag` back as `If-Match`, so a write never overwrites a newer change. |
| [Request IDs and headers](https://docs.mountaya.com/en/apis/conventions/headers.md) | The headers every request sends and every answer carries. |
| [Versioning and deprecation](https://docs.mountaya.com/en/apis/conventions/versioning.md) | How the contract is versioned and how a retirement is announced. |

## Next steps

- [Errors](https://docs.mountaya.com/en/apis/conventions/errors.md): Every error code, and which failures to retry.
- [Rate limits](https://docs.mountaya.com/en/apis/conventions/rate-limits.md): Per-minute limits, monthly allowances, and a `429`.
- [Go to production](https://docs.mountaya.com/en/production.md): The checklist to run before launch.
