# Writes are safe to retry

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

Contract v0.7.0, a breaking release: the session token names the user a request acts as, writes are safe to retry and can be made conditional, every listing pages by cursor, and every answer says which request it was and what is left of your limits.

Released: 2026-11-02 · Version: 2026-11-02 · Products: Map Studio API, Map Studio, Map Publishing, Tile API, Data API, MCP server, Documentation

- **Breaking** (Map Studio API, Map Studio): The session token names the user a request acts as, and `X-User-Id` is gone: no header names a user. `postSession` mints a token for the member or invited user its `user_id` names, and answers `200` with that `user_id`. Every operation declares `x-acting-user`: `required` on every `studio-embedded` operation, every `management` write and every operation under `/v1/me`, where a token minted without `user_id` is a `401`; `optional` on the `management` reads, which a token naming a user answers only while that user holds the role they ask; `none` everywhere else. A page holding a key alone acts as nobody.
- **Breaking** (Map Studio API, Map Publishing): A key's scopes are a list of `PublishableKeyScope` members, such as `publishing` and `tiles`, where they were the `PublishableKeyScopes` object of booleans, and the `resources` scope is gone. What it read takes `publishing`, and what it wrote takes `studio-embedded`, the scope that acts as a member and also needs a session token minted for `studio-embedded` naming one, so a key carrying `publishing` alone reads and no longer writes.
- **Breaking** (Map Studio API, Tile API, Data API): Every product but the Data API is granted by the organization's agreement. A call whose scope belongs to a product the organization does not hold is a `402` coded `PAYMENT_REQUIRED`. A refusal for a ceiling, the seats, the published itineraries or zones, the invitations waiting or the itineraries of a personal space, is coded `LIMIT_REACHED` and names the ceiling it met. `CARD_REQUIRED` and `SUBSCRIPTION_REQUIRED` are gone from every surface: only the Data API asks for a card, and it answers a missing one with a plain `PAYMENT_REQUIRED`.
- **Breaking** (Map Studio API): The Map Studio API reads no key and no session token from the query string: `getItineraryExport` no longer takes `publishable_key` or `session_token` there, and no other operation did. Sent in the query alone they are not read, and the request is a `401` as one carrying no credential; sent beside credentials in the headers, they are a `400` naming a query parameter the operation does not declare. A browser's download link is the signed URL the Data API's `exportItinerary` answers. The Tile API and the Data API read both from the query as before, and a share token rides `share_token` wherever a share scheme is declared.
- **Breaking** (Map Studio API): The person's own reads and writes live under `/v1/me`: `getMyOrganizations`, which answers a `Membership` per organization joined, `getMyPreferences` and `patchMyPreferences` replace `getUserOrganizations` and `patchUserPreferences`. `getMyInvitations`, `postMyInvitationAccept` and `deleteMyInvitation` answer the invitations waiting for the person.
- **Breaking** (Map Studio API): No operation is a `PUT`, and every update is a merge. `putOrganization` is `patchOrganization`, `putOrganizationMember` is `patchOrganizationMember`, and `putOrganizationAiConfig` is `postOrganizationAiProviderConfig` and `patchOrganizationAiProviderConfig`, at `/v1/organizations/{organization_id}/ai-provider-config` beside its read and its removal; the catalog is `getAiProviders` at `/v1/ai-providers`. A toggled state is a resource of its own: `publish` is `publication` (`postItineraryPublication`, `deleteItineraryPublication`), and `share` is `share-link` for itineraries and collections (`post…ShareLink`, `delete…ShareLink`, `post…ShareLinkRotate`, and the new `get…ShareLink`). An action is a `POST` to a verb: `patchItinerarySegmentMode` is `postItinerarySegmentConvert`, at `POST …/segments/{segment_id}/convert`.
- **Breaking** (Map Studio API): A write answers the resource whose read it changed. A creation answers `201` with `Location`. A write to a segment, a segment group, a waypoint or the publication answers the whole `ItineraryWithDetails`, and names a part it created at `extensions.metadata.created.id`. A write to what a collection holds answers the `Collection`, a removal answers `data: null`, and `postAgentRun` answers `202` with an `AgentRun`. `deleteOrganizationPublishableKey` answers the revoked `PublishableKey` and its `ETag`, a key already revoked included, where it answered `data: null`. An act on a state already so answers `200` and changes nothing: unpublishing what is not published, removing a share link that is not there, revoking a revoked key. Rotating a share link that is not there is a `409`, and an absent share link or AI provider configuration reads as `data: null`.
- **Added** (Map Studio API): Every `POST`, `PATCH` and `DELETE` but `postSession`, `postOrganizationLookup` and the two collaboration signals, `postItineraryCollab` and `postZoneCollab`, takes an `Idempotency-Key`. The same key with another request is a `400`, checked first, whether or not the first request still runs; a request is the same when its method, path, query, body and the media type of its `Content-Type` with its `charset` are, and `If-Match` is not compared. A repeat of the same request replays the first answer with `Idempotent-Replayed: true` and runs nothing again; while the first request still runs it is a `409` coded `IDEMPOTENCY_KEY_IN_USE` with `Retry-After: 1`. A key is held 12 hours. A `429` stores nothing, and a `5xx` answered before anything was written releases the key, so a retry runs the write again. A `5xx` answered after the write was made keeps the key, and so do an answer too large to keep whole and one carrying a credential shown only once, which is never kept (revoke that credential rather than create a second): every repeat is then a `409` coded `IDEMPOTENCY_ANSWER_UNAVAILABLE`, whose `extensions.metadata` is a `ResponseMetadataIdempotentAnswer`, `{ status, location?, etag? }`, its `status` running from `200` to `599`: the write was made, so read the resource again rather than send it once more. Its `location` is the path of what the write created: the `Location` a `201` carried, and, after a `5xx` as well, the organization, invitation, publishable key, itinerary, imported itinerary, copy, zone or collection that `postOrganization`, `postOrganizationInvitation`, `postOrganizationPublishableKey`, `postItinerary`, `postItineraryImport`, `postItineraryDuplicate`, `postZone` or `postCollection` made. Keys are best-effort: while Mountaya cannot record one, a write runs as if it carried none. `AgentRunCreateParams.idempotency_key` is removed: the header replaces it, and a run started under a key is started once.
- **Added** (Map Studio API): Conditional writes. `Itinerary`, `ItineraryWithDetails`, `Zone`, `Collection`, `Organization`, `OrganizationSettings`, `PublishableKey` and `AiProviderConfig` carry an `etag`, equal to the `ETag` header of every answer returning one. Their writes, every write to an itinerary's segments, segment groups, waypoints and publication, and every write to what a collection holds take `If-Match`, and a stale one is a `412` coded `PRECONDITION_FAILED` carrying the current `ETag`, with nothing changed.
- **Breaking** (Map Studio API): Every listing of what an organization or its members create pages by cursor: `limit`, 1 to 100 and 50 by default, and `cursor`, with `{ limit, next_cursor }` at `extensions.metadata.pagination`. `offset` and `total` are removed. Listings filter by fields named after them, `updated_since` and `q` among them, and order by one `sort`. `getItineraries` answers a flat page of `Itinerary` rather than groups, filtered by `status`, `is_private`, `activity_id`, `in_collection`, `updated_since` and `q`. `getZones` and `getCollections` are new; `getCollections` filters by `itinerary_id`, `zone_id` and `organization_id`, and replaces `getItineraryCollections`, `getZoneCollections`, `getOrganizationCollections` and `getUserCollections`.
- **Breaking** (Map Studio API): One removal per request: `deleteCollectionItinerary` and `deleteCollectionZone` replace the body-carrying `deleteCollectionItineraries` and `deleteCollectionZones`. `postItinerarySegment` inserts before the segment `before_segment_id` names, and `postItinerarySegmentInsert` is removed.
- **Added** (Map Studio API, Map Studio): Invitations by email, as a resource of their own: `getOrganizationInvitations`, `postOrganizationInvitation`, `getOrganizationInvitation` and `deleteOrganizationInvitation`. Every well-formed address is answered alike; an invitation holds a seat, is matched to an account by a verified address, and expires after thirty days. `patchOrganizationMember` and `deleteOrganizationMember` change one member at a time. `postOrganizationMembers`, `deleteOrganizationMembers` and `putOrganizationMemberInvitation` are removed, and `getOrganizationMembers` lists members who have joined, each with `user_id` and `joined_at`.
- **Breaking** (Map Studio API, Map Studio): The owner's own acts are not made under a key. A session token governs an organization's members with at most an admin's say, whoever it names, the owner included: granting `admin`, changing or taking away an admin's role, removing an admin, inviting an admin, and an admin or the owner leaving answer `403` under a key. Handing the organization to another member is not an operation of this contract. The owner makes all of them signed in to Mountaya's web application.
- **Changed** (Map Studio API, Tile API, Data API): Every `429` of a limit counted over a window carries `Retry-After`, the whole seconds until the limit lifts. The Data API and the Tile API send the IETF `RateLimit` and `RateLimit-Policy` headers on every answer the limits weighed, under a key or a share token, naming the `minute`, `month`, `address`, `member`, `studio-embedded` and `share` policies, and on no refusal made before the limits or tile a shared cache may store. Per client IP address counts the requests from one client IP address, an IPv6 address counted by its `/64` prefix. Before the organization's own limit, the Tile API holds a key sent without a session token, or with one minted without `user_id`, to the larger of 120 a minute and a quarter of the organization's per-minute limit for each client IP address, under the policy `address`, and to none while that limit is unlimited. The Map Studio API holds its reads to 600 a minute per client IP address under a key without a session token or with one minted without `user_id`, 1,200 a minute per user with one naming a user, and 600 a minute per client IP address under a share token, each before 6,000 a minute per organization, and `postOrganization` to 10 a minute and 50 a day per user. Its costliest operations are held per user and per organization: imports, routed segment writes, zone writes, agent run starts, agent run inputs, collaboration signals, stream opens and invitations. The billing calls the payment provider answers are held per user and per organization too: its reads, payment methods, invoices and a promotion code's preview, with `postOrganizationBillingProvision`, at 60 a minute per user and 300 per organization, and its seven other writes, a card's setup, attach, default and removal, the Data API subscription run and ended, and the billing details, at 30 and 300, apart from the reads. A person signed in to Mountaya's web application counts toward none of the organization's limits and is held to bounds of their own, counted per person.
- **Added** (Map Studio API, Tile API, Data API): Every answer carries `X-Request-Id`, and every `401` one message and `WWW-Authenticate`. `HEAD` is answered on every path that takes `GET`, a method a path does not take is a `405` with `Allow`, and a path not in its canonical form is a `308` to it for `GET` and `HEAD` and a `404` for any other method. Request bodies are closed: a field an object does not declare is a `400` naming it. `x-timeout-ms` states each operation's time budget: 30 seconds, and 55 on the import preview and the import.
- **Changed** (Map Studio API): The credential is checked before the request is validated, so the body of a request whose credential is refused is never read: a `401` now comes before a `400`. Within an operation, a stale `If-Match` is answered last, after the `404`, the `403`, the `400`, the `409` and the ceiling, so it is a `412` only for a write that would otherwise go through. Errors carry `PRECONDITION_FAILED`, `IDEMPOTENCY_KEY_IN_USE` and `IDEMPOTENCY_ANSWER_UNAVAILABLE`, and every refusal coded `LIMIT_REACHED` names its ceiling at `extensions.metadata` as `{ limit, allowed, used }`, with `limit` one of `seats`, `published-itineraries`, `published-zones`, `pending-invitations` and `personal-itineraries`.
- **Added** (Map Studio API, Map Studio): A stream ends with its credential. When the session token it was opened with expires, or the key is revoked, a collaboration feed or an agent run's stream writes a `reconnect` event naming `credential-expired` or `credential-revoked` and closes; reopen it with a fresh token and `Last-Event-ID`. `getOrganizationItinerariesEvents` is `getOrganizationEvents`, at `/v1/organizations/{organization_id}/events`, and carries zone and collection changes too. `patchZone` is refused with a `409` while another member holds the zone's lock.
- **Changed** (Map Studio API, Tile API, Data API, MCP server): Only the organization's own clients and the hosted embed count. Data API and Tile API requests are recorded under the surface they come from, and only `api`, your SDK or any other client under one of your keys, `mcp`, a request through Mountaya's MCP server, and, on the Tile API, `embedding`, the hosted embed, count toward the per-minute limits, the monthly allowances and the invoice. The hosted embed's tiles are recorded apart and counted as a key's are, a key sent without a session token, or with one minted without `user_id`, held to its bound per client IP address first. Mountaya's other surfaces are recorded apart and never counted: `studio-embedded`, an Embedded Studio on its session while the organization holds Embedded Studio, and the routing a Map Studio write does under a key, a routed segment, an import or a sourced zone; `studio-online`, Map Studio in Mountaya's web application; and, on the Tile API, `share`, a share link, whose tiles no longer count toward the Tile API's limit or allowance. Data usage names its surface, `api`, `mcp`, `studio-embedded` or `studio-online`, on `UsageDataPoint` and as a filter of `getOrganizationUsageData`, and tile usage `api`, `studio-embedded`, `studio-online`, `embedding` or `share`. Each surface never counted is held to bounds of its own, a `429` with `Retry-After`: a session token minted for `studio-embedded` to 300 Data API requests and 6,000 tiles a minute per member it names, or per client IP address for a token minted without `user_id`, then 3,000 and 60,000 per organization; a share link to 600 tiles a minute per client IP address, then 60,000 per organization that owns the link, under the policy `share`. A token minted for `studio-embedded` of an organization that no longer holds Embedded Studio counts as one minted for `api`.
- **Breaking** (Map Studio API, Map Studio): A session token is minted for a surface. `postSession` takes `surface`, a `SessionSurface`: `api`, the default, for your own clients, or `studio-embedded`, minted only for a key reaching the `studio-embedded` scope, with a user for the editor or without one for a read-only viewer. Every `studio-embedded` operation requires a token minted for `studio-embedded`, any other being a `401`, so every Embedded Studio host, its read-only viewer included, runs on one, and refuses a publishable key given no session token before its first request; the hosted embed is part of Map Publishing and needs none. A token for `studio-embedded` is minted only while the organization holds Embedded Studio, and is otherwise a `402`. `mcp` is minted for Mountaya's MCP server alone, and asking for it is a `403`.
- **Breaking** (Map Studio API, Tile API, Data API, Map Publishing, Map Studio): A session token minted without `user_id` reads your content as the public does, exactly what a publishable key alone reaches, on the Map Studio API, the Tile API and the Data API, whatever surface it was minted for: an itinerary as it was last published and never its draft, public-only listings and `search` results, tiles cut from published content, and `exportItinerary` of the published snapshot. That covers a read-only viewer's `studio-embedded` token, the hosted embed's token under `require_session_token`, and a backend's `api` token. Only a token naming a member reads your organization's drafts, so a backend that reads drafts mints its token for a member, and a viewer that previews drafts takes a token minted for the member who looks. The token Mountaya's MCP server mints for itself keeps reading drafts. On the `management` reads, a `studio-embedded` token minted without `user_id` answers `401`, while an `api` one is still answered and stays on your backend. How such a token is counted and bounded is unchanged.
- **Breaking** (Map Studio API, Tile API, Data API): The vocabulary follows the surfaces. `Capability`'s `studio` is `studio-online`, `Capability` gains `studio-embedded`, Embedded Studio, `UsageTileSurface`'s `embed` is `embedding`, and `UsageDataResourceType`'s members are kebab-case like every other enum: `analyze-geometry`, `export-itinerary`, `reverse-geocode`, `terrain-grid`, `terrain-profile` and `terrain-samples`.
- **Breaking** (Map Publishing, Map Studio API, Map Studio, Tile API, Data API): Map Publishing is one capability and one key scope, `publishing`, where it was Map Embedding and `embedding`. It covers publishing a map: publishing an itinerary within the `published-itineraries` limit or a zone within the `published-zones` limit, the hosted embed, share links, downloading an itinerary as a file such as GPX, and video export, and it takes over what Map Studio held of those. `postItineraryPublication` asks for Map Publishing beside Map Studio, and answers an itinerary with no segments with a `409` among its state checks, before a lock or the `published-itineraries` limit is asked. What an organization has published, its share links, its hosted embed and its published snapshots, is served only while it holds Map Publishing. `getItineraryExport` and the Data API's `exportItinerary` refuse a draft without Map Publishing, where they refused it without Map Studio. The studio features `embed`, `publish`, `video-export` and `video-organization-modes` take Map Publishing beside Map Studio, and a studio offers publishing an itinerary or a zone, downloading a draft and the ways into an embed only to a member holding `publish`, which every member of such an organization holds whatever their role. Map Studio keeps the editor, live collaboration and the agent. The operations that took `embedding` take `publishing`, `studio-embedded` includes `publishing` as it included `embedding`, and a tile the hosted embed draws is checked against `publishing`. The usage surface `embedding`, under which the hosted embed's tiles are recorded, keeps its name. An organization that held Map Embedding or Map Studio holds Map Publishing, and a key that carried `embedding` carries `publishing`.
- **Breaking** (Map Studio API): A key that administers carries nothing else. A publishable key carrying `management` carries no other scope, so a key either ships to pages, with product scopes, or administers, with `management` alone. `postOrganizationPublishableKey` and `patchOrganizationPublishableKey` answer a `scopes` list naming `management` beside another scope with a `400`, one `VALIDATION_FAILED` entry per scope listed beside it, its `path` ending in that scope's position in `scopes`. Nothing is created or changed, the name included, and the list is asked before any scope's product, so it is never the `402`. Existing keys carrying `management` beside another scope are narrowed to `management` alone, and their `etag` moves: a page still sending such a key is refused its product operations with `403`.
- **Breaking** (Map Studio API): A key carrying `studio-embedded` carries `tiles` and `data` beside it, the scopes its editor's map and previews are requested under. Neither is added for it: `postOrganizationPublishableKey` and `patchOrganizationPublishableKey` answer a `scopes` list naming `studio-embedded` without one of them with a `400`, one `VALIDATION_FAILED` entry per missing scope, its `path` ending in `scopes`, judged with the rest of the body and before any scope's product. `x-pkey-scope-needs` on `PublishableKeyScope` states the requirement. Existing keys carrying `studio-embedded` gained `tiles` and `data`, and their `etag` moves.
- **Added** (Tile API): The Tile API serves the base map. `getTerrainStyle` answers a terrain rendition as a style document whose every address, its sources' tiles, its sprites and its glyphs, is the Tile API's, and the terrain TileJSON, source tiles, sprites, glyphs and the elevation raster are served beside it, so a map draws the whole base map under the credential it sends and no answer carries a credential of Mountaya's. They take an overlay tile's credentials, are recorded under the resource type `terrain`, and are never counted toward the per-minute limit or the monthly allowance. `getTileLayers`, `GET /v1/tile-layers` on the Tile API, answers the layer catalog under the `tiles` scope, listing only the overlays the organization's allowlist admits.
- **Added** (Map Studio API, Map Publishing, Map Studio, Tile API, Data API): A zone is published as an itinerary is. `postZonePublication` and `deleteZonePublication`, at `/v1/zones/{zone_id}/publication`, publish a zone's draft and take it down, under the `studio-embedded` scope, a session token naming a member with a write role, `If-Match` and `Idempotency-Key`, refused in the itinerary's order: a plain `402` for Embedded Studio, Map Studio and Map Publishing, a `403` for a personal zone, a `409` for a held lock, a `402` coded `LIMIT_REACHED` at the new `published-zones` limit, which allows none until the agreement names a number, then a stale `If-Match`. Taking a zone down asks for Embedded Studio alone. `Zone` carries `status`, `published_at` and `has_unpublished_changes`, `getZone` and the zones tile take `surface`, and `getZones` filters by `status` and `is_private`. Every credential but a session token naming a member of the zone's organization reads its last published snapshot, a collection's share token included, and a zone never published is a `404` by id and absent from every listing, collection, `search` result and tile. `is_private` on a zone is a choice of its own, independent of its publication, where it was always `true`: a public zone is readable by id under any publishable key once published, and listed in its own organization's public listings, while a private one is reached only by id, under its own organization's key, unless a session token names a member. The hosted embed draws a collection's published public zones while the organization's `with_collection_zones` allows them, and `zone_id` is no longer one of its parameters. A zone has no share link, download or video of its own.
- **Breaking** (Map Studio API, MCP server): `UsageTilesPoint` is `UsageTilePoint`. An MCP tool error refused by a limit names its wait in `extensions.retry_after_seconds`. An MCP tool error carries its envelope as JSON in its second text content and under `_meta`, keyed `mountaya.com/error`, never as `structuredContent`, so a client validating results against a tool's output schema accepts it. A key pair refused at the server's edge is a `401` carrying `WWW-Authenticate: ApiKey realm="mountaya"` and a JSON-RPC error, code `-32001`, whose message is the sentence every `401` carries.
- **Breaking** (Map Studio API, Map Studio): `StudioEntitlement` members are kebab-case: `context-menu-insights`, `map-overlays`, `map-pois`, `profile-insights`, `video-export`, `video-organization-modes` and `white-label`. `AgentToolErrorCode.cancelled` is `canceled`.
- **Breaking** (Map Studio API, Tile API): Removed from the contract: `UserOrganization`, replaced by `Membership`, which has no `id`, `status`, `itinerary_limit` or `organization_status` and reads `joined_at`; `Organization.entitlements`, `limit_usage`, `subscription`, `can_manage_billing`, `status`, `rate_limit_data` and `rate_limit_tiles`, since an organization's limits are its agreement's and no read returns them; `postOrganizationBillingApiAccess` and `deleteOrganizationBillingApiAccess`, which turned an API product on and off, with `ApiProduct`; `putOrganizationBillingPromotionCode` and `deleteOrganizationBillingPromotionCode`, with `PromotionCodeApplyParams`, since a promotion code is given once, to `postOrganizationBillingProvision`; `ItineraryGroup`, `ItineraryUsage` and `Itinerary.segment_count`, which `count.segments` carries; `ItineraryShare` and `CollectionShare`, replaced by `ShareLink`; `configured` on `AiProviderConfig`; and the `502` of `getZonesTile` and `getCollectionTile`, with `BAD_GATEWAY` from the Tile API's codes, since a tile that cannot read what it draws is a `500` like every other. `postOrganizationBillingSetupIntent` is `postOrganizationBillingPaymentMethodSetup`, and `postOrganizationBillingPaymentMethodDefault` is `postOrganizationBillingPaymentMethodSetDefault`.
- **Breaking** (Map Studio API, Map Studio): A state of an itinerary's chain that forbids a write is a `409` coded `CONFLICT`, where it was a `400`: merging the last segment of a chain, or two segments of different modes or of different groups, deleting a segment inside the chain, and grouping a segment that belongs to another group, whose entry names its position in `segment_ids`. A body a write to an itinerary's parts, or `patchZone`, refuses is a `400` before any collaborator's lock is looked at.
- **Changed** (Data API, MCP server): The Data API answers every operation within 30 seconds: one still running then is a `504` coded `GATEWAY_TIMEOUT`, which the SDL's `ErrorCode` now declares, with no data, and its root fields count toward no allowance and no invoice. A unified `search` whose every enabled target fails, a single one included, fails as a whole rather than answering an empty result: one error, `VALIDATION_FAILED` where every target refused the input and `INTERNAL_ERROR` otherwise, counted toward neither the monthly allowance nor an invoice.
- **Changed** (Tile API): A `HEAD` and a specification are never counted as Tile API usage, served or refused. Both still count toward the per-minute limits.
- **Changed** (Map Studio API, Tile API, Map Publishing): Revoking a key, narrowing its scopes, taking an itinerary's publication down, and removing or rotating a share link govern the next request Mountaya answers. A shared cache may still serve an answer it already holds until its `Cache-Control` lifetime runs out: at most 5 minutes for a public tile or specification, 6 for a published itinerary read or its pace, and 25 hours for the layer catalog.
- **Changed** (Map Studio API, Tile API, Data API, Map Publishing): The allowed domains are checked against the page a browser names, and only then: a request naming no page, as a server sends, or as a page sends under a `no-referrer` policy on a request carrying no `Origin`, such as an image or a tile, is not checked. The list is not an access control on the key: the key and, when required, the session token gate a request.
- **Fixed** (Tile API, Data API, MCP server): A `publishable_key`, `session_token` or `share_token` query parameter that is present without its prefix, `pk_`, `sess_` or `share_`, is a `401`, never read as absent; an empty one counts as absent. The MCP server takes a secret key in `X-Secret-Key` beside the publishable key in `X-API-Key`, or an OAuth bearer token of scope `mcp`, the one scope it accepts and advertises.
- **Changed** (Map Studio API): A listing ends only on `next_cursor: null`: a page holding no item can still name the next one, and is followed. A cursor is at most 1024 characters and is bound to the operation, the scope it listed, its filters and `sort`, and on `getItineraries`, `getZones` and `getCollections` the read tier of the credential it was issued to: a key alone, or a key with a session token naming a user, a token minted without `user_id` reading on the key's tier. The usage reads take a window of at most 366 calendar days, and a lone `start_at` or `end_at` reaches 365 days from it.
- **Changed** (Map Studio API, Map Studio): `getMyOrganizations` answers a user whose invitation is still pending, with an empty list, as `getMyInvitations`, `postMyInvitationAccept` and `deleteMyInvitation` do, each marked `x-pending-invitee: true`. `getMyPreferences` and `patchMyPreferences` answer `404` when the account the session token names no longer exists, and `getMyPreferences` no longer declares a `502`.
- **Changed** (Map Studio API, Data API, MCP server): Opening the Data API, by saving a card with `postOrganizationBillingPaymentMethod` or running the subscription with `postOrganizationBillingSubscription`, first charges every invoice the organization still owes, open or uncollectible, those of an ended subscription included, to that card or the default payment method. One still unpaid is a `402` and nothing opens; a card being saved is kept without becoming the default. A card that failed to pay an invoice another organization still owes is refused the same way; a card only saved there is not. A subscription is metered from the first whole UTC day after it opens, so the day it opens is not billed, and each billing period runs from the day of the month it opened to the same day of the next: every day of a period, its last included, reaches that period's invoice. A subscription that ends is invoiced at its period's end, its last day included. A failed renewal keeps the Data API for at most about seven days of retries before the subscription ends, and a subscription that has never paid an invoice loses the Data API on its first failed payment, and gets it back if a retry of it succeeds. `getOrganizationBillingInfo` answers `data: null` before the organization has a billing account, and `patchOrganizationBillingInfo` then answers `409`.
- **Breaking** (Map Studio API, Map Studio): Online imports are gone, and an itinerary is imported from a file you upload. Removed: the `outdooractive` member of `ImportProvider`, the `application/json` body of `postItineraryPreview` with its schema `ItineraryImportPreviewOnlineParams`, the `preferred_language` part of its form body, `external_source` on `ItineraryImportPreview` and `ItineraryImportConfirmParams`, and the schemas `ItineraryProvider` and `ItineraryProviderInput`.
- **Breaking** (Map Studio API, Map Studio): Geometry on the wire is bare, never a collection of one member. A waypoint's `geojson` is a bare Point, and a `linestring` segment's a bare LineString, or a GeometryCollection of that line and a MultiPoint of the vertices drawn when resampling added positions between them and those vertices number fewer than the line's sample budget (one position per 50 m of its `distance`, plus two, between 400 and 4,000): a dense recorded track is the bare resampled LineString. The Data API's `ItinerarySegment.geometry` says to send its LineString's positions reduced to `[longitude, latitude]` to `terrainProfile` or `analyzeGeometry`, which take two numbers per position. `SegmentCreateParams` and `SegmentUpdateParams` say what each mode reads: a MultiPoint, bare or inside a GeometryCollection, for `directions`; a LineString, bare or inside a GeometryCollection, for `linestring`, a MultiPoint beside it read as the vertices drawn; and the 10,000 positions a write takes, counted across every member for `linestring` and over the MultiPoint alone for `directions`. A routed segment's LineString is not counted, whatever its length: it is stored at the full length the route was computed at and accepted back as read, bounded only by the 32 MiB a JSON body may weigh. `postItinerarySegmentConvert` simplifies and resamples a routed line converted to freehand as a drawn line is, and, when that simplification leaves it past the 10,000 positions a write takes, simplifies it further at a coarser tolerance until it fits them, keeping both its ends. `WaypointCreateParams`, `WaypointUpdateParams` and `ItineraryImportConfirmWaypoint` take a bare Point alone. `postItinerarySegmentMerge` refuses a freehand merge whose joined line measures more than the 500 km every freehand segment is held to, with a `400` naming `geojson`. A freehand merge joins the two stored lines and simplifies the joined line at 3 m as every freehand line is, which removes the positions resampling added and any vertex drawn within 3 m of the straight line between the vertices kept on either side of it; the MultiPoint of vertices drawn beside either line is not read. It answers a new `400`, naming no field and stating the 10,000-position limit, when the vertices that simplification keeps number more than 10,000: it is refused before anything is analysed, and nothing is merged.
- **Added** (Documentation): A Requests and responses page: request ids, idempotency keys, conditional writes, cursors, filters and `sort`, the rate-limit headers and `Retry-After`, what a shared cache may still serve after a change, time budgets, closed bodies, canonical paths and `HEAD`.
