Get started

Changelog

What changed across the Mountaya platform APIs, Map Publishing, and integrations, newest first.

Follow the changelog in a feed reader
Map Studio API
Tile API
Data API
Map Publishing
Map Studio
MCP server

One contract for every credential

Keys are pinned to their organization, zones get names and open to every account, and every API answers the same way about what a credential can see.

Changed:

The five merge operations are PATCH: patchItinerarySegment, patchItinerarySegmentGroup, patchItineraryWaypoint, patchOrganizationPublishableKey and patchOrganizationBillingInfo replace the put* operations on the same paths, and an omitted field keeps its value. PUT is no longer routed there. Adding a payment method is POST /v1/organizations/{organization_id}/billing/payment-methods, beside the listing, rather than .../billing/payment-method.

Changed:

Every REST enum member is kebab-case: lowercase words joined by hyphens, such as past-due, per-time or hiking-and-trail. The only enums spelled otherwise are the few whose spelling belongs to someone else: the dotted collaboration event names, the Data API's own field names in a usage report, media types, unit symbols and the GeoJSON object types. An enum the GraphQL API declares too maps to its REST member by one transform, with no exception: lowercase the SDL member and turn each underscore into a hyphen, so HIKING_AND_TRAIL is hiking-and-trail. The embed URL's activity parameter takes the same members.

Changed:

A publishable key is pinned to its own organization. Every create, every write and every /v1/organizations/{organization_id}/... operation must target the key's organization: any other organization id is a 403, whether or not it exists, decided before anything is looked up. An omitted organization_id means the key's organization, including on postItineraryDuplicate, where it used to mean the source's. getItineraries without organization_id lists the key's organization's itineraries rather than an empty page. A key never creates, lists or edits a personal resource.

Changed:

Five reads act as a member and require X-User-Id: getAgentRunEvents, getItineraryEvents, getZoneEvents, getOrganizationItinerariesEvents and getUserOrganizations. A missing or malformed header is a 400, and a user who is not an active member is a 403; any role passes. The three collaboration streams used to refuse every key, and getUserOrganizations now returns the acting member's own membership in the key's organization. A user whose invitation is still pending may be the X-User-Id of those two operations only: getUserOrganizations shows them the invitation, and putOrganizationMemberInvitation accepts or declines it with a key.

Fixed:

A resource the credential cannot view answers 404 exactly like one that does not exist, where it used to answer 403; one it can view but not edit still answers 403. That covers itineraries, zones, collections, another organization's publishable key, a share token used outside what it grants, and the Data API itinerary query. An agent run started by somebody else or in another organization is a 404 like an unknown one, and postAgentRunFeedback on an unknown run is a 404 rather than a 202.

Changed:

Another organization's public itinerary is served as it was last published, whatever the credential, a session token included; one never published answers 404. Drafts are served only to the organization that owns them. Cache-Control: public is sent only on the published snapshot of a public itinerary read with a key; drafts, private itineraries, zones, collections and share-token reads are private, error responses carry no caching label, and every labelled response names X-API-Key, X-Session-Token and X-Share-Token in Vary beside Origin.

Changed:

A share link belongs to an organization. A link to a personal itinerary or collection no longer resolves and answers 401 like a disabled link, and none can be minted or rotated. A collection link of an organization whose Map Studio subscription is missing, paused or ended answers 401 like an itinerary link, rather than serving the collection without its itineraries.

Added:

Zones have a name: required on create, 2 to 30 characters once trimmed, and unique within the organization, where a taken name is a 409 naming the zone that holds it. A zone's area is a single Polygon, and any other geometry is a 400 at geojson.geometry. The feature id is optional on create, and a read returns the zone's id with empty properties. The Data API search matches zones by name, and the zone tile specifications no longer carry a points layer.

Changed:

Zones are open to every account. A personal account creates and edits zones whether or not it belongs to an organization, and no plan capability gates them. Publishing, share links, embedding, export and video remain what an organization's subscription pays for.

Changed:

A personal resource carries organization_id: null on every read, collaboration event and tile feature. A description reads null when there is none, is omitted on create for none, and is cleared on update by null or a value that trims to nothing. updated_at is always set on itineraries, collections, zones and organizations.

Changed:

A waypoint in poi mode needs a name, 2 to 30 characters, and clearing one is a 400; a point may stay unnamed and keeps the icon it is given. Every icon of the published list is accepted. Import previews report recommendation_reason and warnings as closed codes (route-failed, directions-unsupported, route-deviates, off-trail; track-empty, and waypoints-truncated when a preview proposes the first 5,000 waypoints of a file holding more) rather than message keys, and name every proposal within 2 to 30 characters, so a proposal confirms as it stands. An organization drafts, imports and previews without a ceiling on the number of its itineraries.

Removed:

postSession no longer takes a surface: a caller mints sessions for the APIs, and only Mountaya's MCP server mints the sessions it uses. A session bound to the MCP server is refused with 401 on the Map Studio and Tile APIs.

Fixed:

postSession answers 401 for an unknown, revoked or malformed secret key, where it used to answer 404. A failure while checking any credential is an opaque 500 (504 when the request's time budget ran out), never a 401. Revoked publishable keys stay listed with revoked_at set. A key whose scopes are all false is a 400 on update as it already was on create, and embedding turns on tiles and resources.

Changed:

offset and total are removed from geocode, reverseGeocode, pois and search: nothing ever implemented them. reverseGeocode reports count as the number of places it returns, where it always reported 0, and matchedField is always set. An operation is held to a complexity ceiling of at most four root fields, aliases included, refused as a whole with COMPLEXITY_LIMIT_EXCEEDED. A missing session token is a 401 before any 402 or 403, and is never charged.

Fixed:

Data API errors: an entry's path is the response path and the input path is under extensions.path, a multi-field refusal carries one coded entry per field and nothing else, and a failure inside a resolver answers INTERNAL_ERROR. speed must be positive, analyzeGeometry and terrainProfile take at most 10,000 positions, a terrainGrid covers at most 100 km², isochrones report the values requested, matrix indices are checked, POI distances are measured to the buffered geometry, and an unreadable routing or geocoding refusal reads as a neutral sentence. An Accept-Language region tag falls back to its language, on every API.

Fixed:

A share token draws any overlay its itinerary or collection uses, whatever the organization's overlay allowlist. The overlay timestamp window compares with the current time rather than the current hour, and getOverlaySpecification applies the allowlist the tile route applies. with_zones and with_itineraries apply to every credential. Vector tiles are sent as application/x-protobuf, a zone that fails to render in a collection tile is a 502, and a 405 names the allowed methods in Allow.

Map Studio
Map Studio API
Map Publishing

Collections belong to your organization

Collections become organization-owned and shareable by link, and the embed can target a collection directly.

Changed:

A collection now belongs to the organization that owns it, and every active member of that organization sees it. Previously a collection was listed only to the people individually invited to it, so two colleagues could organize the same itineraries into folders neither could see. A collection created in your personal scope stays yours alone. role on a collection is now your organization role.

Added:

GET /v1/organizations/{organization_id}/collections lists an organization's collections. GET /v1/users/{user_id}/collections now returns personal collections only. GET /v1/itineraries accepts an optional organization_id to group by that organization's collections instead of your personal ones.

Added:

Collections can be shared by link. POST /v1/collections/{collection_id}/share mints a read-only link, POST .../share/rotate replaces it, and DELETE .../share disables it: the same lifecycle itineraries already had. Unlike an itinerary link, which exposes exactly one itinerary, a collection link exposes the itineraries and zones the collection contains.

Added:

A publishable key discovers public collections. Sent without a session token, GET /v1/organizations/{organization_id}/collections returns the public collections of the organization that issued the key, and every row reports viewer because a key holds no membership. The key is pinned to its own organization, so asking for another answers 403. Private collections stay out of that listing; reaching one still takes a session token.

Fixed:

GET /v1/users/{user_id}/collections is reachable with a publishable key, returning a user's public personal collections with each row reporting viewer. A private collection is never listed to a publishable key; reaching one still needs a session token. A cross-user read with a session token answers 403 rather than an empty page, so a refusal is distinguishable from an empty library.

Changed:

Updating a collection, an itinerary or a zone is now PATCH rather than PUT, and every field in the body is optional: whatever you leave out keeps its current value. Previously the three disagreed: a collection update required all three fields and cleared anything omitted, an itinerary update required only the name, and a zone update required nothing, so renaming a collection meant restating its description and privacy or losing them. The paths and the field names are unchanged; send PATCH and only the fields you mean to change.

Removed:

Per-collection collaborator invitations are removed, along with GET|POST|DELETE /v1/collections/{collection_id}/users, PUT .../users/{user_id} and PUT .../users/{user_id}/invitation. Collaboration inside an organization is organization membership; collaboration outside one is a share link. A collection role no longer grants any access to the itineraries or zones inside it.

Changed:

collection_id is now a content selector in its own right: pass it alone to embed a whole collection, or with itinerary_id to open that collection focused on one itinerary. The with_collection_itineraries and with_collection_zones URL parameters are removed: a collection embed draws what the collection contains, and your organization's embed settings still cap which layers it may serve.

Map Studio API
Data API
MCP server
Documentation

One read path for pagination, real error codes on the Data API

Eleven wire changes break an existing consumer: pagination metadata nests under pagination, Data API errors carry a real extensions.code, the unlimited sentinel is null rather than -1, six Data API fields are renamed, removed, or retyped, thirteen public Map Studio API operations are renamed with the /groups route becoming /segment-groups, and a filtered search narrows Way.activityCompatible to the activity it was asked about. The Map Studio API also gains a public 50-operation surface, a documented 504, and a rate limit on session exchange.

Changed:

Pagination metadata moved from the flat extensions.metadata.{limit, offset, total} to a nested extensions.metadata.pagination object carrying the same three fields. A client still reading the flat path now reads undefined. It affects the four plain list endpoints: GET /v1/itineraries/{itinerary_id}/collections, GET /v1/zones/{zone_id}/collections, GET /v1/users/{user_id}/collections, and GET /v1/collections/{collection_id}/users. GET /v1/itineraries reports the same nested object beside its own count and limit, so one read path now serves every list endpoint whether or not it also carries domain data.

Fixed:

Data API errors populate extensions.code, and the message is the localized sentence alone. Both were broken together: the wrong error presenter was rendering an error's whole string form, so the message arrived as "FORBIDDEN: <message> (input)" and extensions arrived empty. Anything parsing that prefix to recover a code must read extensions.code instead: a client that branched on the prefix will not find it, and one that branched on an absent code was treating every 402, 403, 404, 429, and 500 as a bad argument.

Changed:

The entitlement sentinel for an unlimited dimension is null, replacing -1. It reads the same everywhere the value appears: an organization's limits map, and the limit beside the itineraries listing. A client comparing against -1 now never matches and treats an unlimited dimension as capped at whatever it defaults to; compare against null instead. A dimension absent from the map still means no limit was granted at all, which is not the same as unlimited.

Changed:

Six fields changed shape on the Data API. Place.housenumber and Isochrone.reachfactor are now houseNumber and reachFactor, spelled the way every other field in the schema is. Place.score and Way.score are gone: both carried the upstream geocoder's own relevance figure, which is not comparable between two responses, so rank on the order results arrive in instead. Isochrone.center is nullable, because the value is forwarded verbatim from the routing provider rather than reconstructed from the origin you sent: a provider that reports no centre now reports null where it used to report an empty array. ZoneSearchResult.level and mode are the ZoneLevel and ZoneMode enums rather than free-form strings, so their values arrive upper-snake-cased: WARNING, POLYGON, and the rest. Selecting a renamed or removed field is not a null in the response: it is a validation error, Cannot query field, raised before a resolver runs, so a selection set that still names one of them comes back with no data at all.

Changed:

Every Map Studio API operation name is now derived from its path rather than chosen, so a method's name says where it goes. Thirteen public names change: the itinerary sub-resources regain the parent the path already carries, so postSegment is postItinerarySegment, putWaypoint is putItineraryWaypoint, and the segment-group trio follows the same shape. The route /v1/itineraries/{itinerary_id}/groups is now /v1/itineraries/{itinerary_id}/segment-groups, which is what the payloads have always called it (SegmentGroupCreateParams, ItinerarySegmentGroup), and the old path is gone rather than aliased. Twenty-seven console-only names changed the same way and reach no API key.

Changed:

A search filtered to one activity now reports Way.activityCompatible as that activity alone, where it used to list every activity the way accepts. The field reports what was established rather than a catalogue: a filtered search verifies only the activity it was asked about, so naming the others would claim a routing check that never ran. Read an absent activity as unreported, not as refused. An unfiltered search is unchanged.

Added:

The Map Studio API has a public surface of its own: 50 operations covering itineraries, segments, waypoints, segment groups, zones, collections, and sessions, published as their own OpenAPI document and rendered as a reference in the developer portal. The console-only operations are filtered out of it, so what the reference shows is what an API key can reach.

Added:

POST /v1/sessions declares 429 Too Many Requests. It is now rate limited, per calling address and, on failed exchanges, per secret key: a session exchange that presents an unknown key is the one cheap way to probe for a valid one, and it was previously unbounded. A working integration mints roughly one token per four minutes per key thanks to the existing get-or-mint cache, so legitimate traffic sits far below the ceiling.

Added:

Every public Map Studio API operation declares 504 Gateway Timeout with the GATEWAY_TIMEOUT code. Routes run under a request time budget, and a spent budget used to surface as whichever internal error the interruption happened to produce. The restatement only ever replaces a 5xx, so an expiring deadline never turns a 404 into a 504.

Added:

A page documenting the error contract both APIs share: the envelope, all sixteen codes with their statuses, where each surface puts the offending field path, and what separates a PAYMENT_REQUIRED from a CARD_REQUIRED.

Data API
MCP server
Map Studio

Know what a route crosses

Routed results report the tollways and access-restricted ways they cross, directions can route around them on request, and suggestions never propose one at all.

Added:

Routed results now report the tollways and access-restricted ways they cross. Every GeometryAnalysis carries advisories, naming whether the line crosses a way that charges a toll or one restricted to owners, customers, deliveries, permit holders, or destination traffic, and where, as coordinate ranges. Permissive ways, where the owner tolerates passage, are reported but are not treated as a restriction.

Added:

directions accepts avoid: [TOLLWAY, RESTRICTED_ACCESS] to route around those ways. It costs a second routing pass only when the first route actually crosses one. Avoidance is best-effort, so each route reports an avoidance outcome: NOT_NEEDED, APPLIED, or NO_ROUTE when the hazard could not be routed around, which usually means a waypoint sits on the way itself.

Changed:

suggestions never proposes a route through a tollway or an access-restricted way. There is no opt-out: when no hazard-free candidate can be generated from the given points the query fails rather than returning one that crosses something. Use directions when a route should go through such a way deliberately.

Changed:

Placing a point that routes a segment through a tollway or an access-restricted way now asks first. Confirm and the point is placed; decline and the route returns to its last accepted shape. Opening a saved segment that already crosses one does not prompt; only a change you make does.

Map Studio
Map Publishing
Tile API
Data API
MCP server

Reshape a route after you have drawn it

Itineraries gain a draft and a published version, segments can be merged, split, inserted, grouped, and switched between routing engines, and itineraries can be duplicated.

Added:

Itineraries now have a draft and a published version. Editing changes only the draft, so a course can be reworked in the open; share links, embeds, and the tiles they render keep serving the last published snapshot until you publish again. An itinerary that has never been published is not reachable from a share link or an embed. Publishing is refused while a collaborator is still editing any part of the itinerary.

Added:

Segments can be reshaped after they are drawn. Merge two neighbours that share a routing engine, split one in two at a point you click on the route, or insert a new segment between two neighbours or before the first. The chain renumbers itself and stays continuous.

Added:

A segment's routing engine can be switched between smart routing and freehand. Going from freehand to smart routing snaps the drawn line to the trail network while keeping the original start and end points, and reports a clear error when the line cannot be routed.

Added:

Neighbouring segments can be collected into a group that shows a single name, color, and speed on the elevation profile. The segments themselves are untouched and stay individually editable, which suits a course that dips into a freehand line for a few hundred meters where no trail is mapped.

Added:

The itinerary query returns an itinerary's segment groups as groups, and each segment names the group it belongs to through groupId. Groups are flat rather than nested, so the ordered segment chain stays the primary structure and a run is resolved by matching the ids. An itinerary with no groups returns an empty list.

Fixed:

analyzeGeometry and directions now return the trailDifficultyInfo stretches they compute. The field was on the schema but missing from the queries the MCP server and AI agents issue, so the analysis was calculated and then dropped before it reached a caller.

Added:

Itineraries can be duplicated, optionally into another organization, choosing which segments and waypoints to carry over. The kept segments must stay a continuous run, so only the ends of the remaining route can be dropped.

Changed:

Clicking a segment on the map opens it for editing, the same as clicking its row in the list. A segment a collaborator is already editing stays inert.

Fixed:

The mode field on the segment update request has been removed. It was accepted and silently ignored, so a request that set it never changed the segment's routing engine. Changing the engine is now its own operation.

Data API
Tile API
Map Studio

Professional trail routing

A new PROFESSIONAL_TRAIL activity routes off the mapped trail network, ski touring and snowshoe walking accept waypoints further from a path, and Map Studio gains a table comparing every activity.

Added:

PROFESSIONAL_TRAIL is a new value in the ActivitySlug enum, written professionaltrail on the Tile and Map Studio APIs. Pass it wherever you pass an activity today: directions, suggestions, isochrones, matrix, and the activity tile endpoints.

Added:

Professional trail routes on the same trails as HIKING_AND_TRAIL but takes the most direct line and accepts waypoints at any distance from a path, so points that sit off the mapped network return a route instead of failing as unroutable. HIKING_AND_TRAIL is unchanged.

Changed:

SKI_TOURING now accepts waypoints at any distance from a mapped path, and SNOWSHOE_WALKING accepts them up to 3 km out. Both previously failed when a point sat more than roughly 400 m from a path, which rejected cols, snowfields, and other off-trail starts. Every other activity keeps the 400 m limit.

Added:

The activity picker carries a How it works link. It opens a table of every activity showing the terrain it suits, whether it routes automatically, and whether it can be drawn freehand.

Documentation
MCP server
Map Studio
Map Publishing
Data API

The Mountaya developer platform launches

A new developer portal, an MCP server for AI agents, a visual embedding builder in Map Studio, and self-serve onboarding bring the whole platform together.

Added:

A new developer portal with guides, the Data API playground, the Map Studio API reference, the Tile API reference, and a Markdown copy of every page for AI tools.

Added:

An MCP server that gives AI assistants the read-only Data API as tools, over an OAuth connector or an API key pair.

Added:

A visual embedding builder in Map Studio that configures the map and hands back a ready-to-paste snippet.

Added:

Search now spans your own itineraries, collections, and zones alongside places, POIs, and ways, with activity-aware filtering.

Added:

Self-serve onboarding to create an organization, mint API keys, and build a first map without leaving the app.

Added:

Manage embed display props and safety rules yourself, controlling what each embedded map shows and where it may load.