Developers / Guides

Guide

Versions and changes

How the API changes without breaking you. The /v1 major, additive changes, the surface and release headers, deprecation notices and the changelogs.

Atlas changes in two ways. The API (its operations and the shapes of requests and answers) is versioned by its major, /v1. The data (which fields each layer sends, their types and options) changes as layers grow, and every answer says which version of it you received. Neither takes something away from you without notice.

One major, additive within it

Every path starts with the major: /v1. Within a major every change is additive: a new operation, or a new optional field on a request or an answer. Nothing you send stops working and nothing you read disappears.

So read answers tolerantly: ignore a field you do not know, and never treat a new option in a list as an error. A client written against an earlier release of the contract keeps working.

A change that cannot be additive comes as a new major beside the old one. The previous major stays alive until every client has moved off it.

POST /v1/search
GET  /v1/entities/{entityId}

The surface: what each layer sends

Which fields a layer sends, under which client keys, with which types and options, is the surface. Every answer carries its version in the x-atlas-surface header, a short hash. The catalogue, the layer list and each layer's schema carry the same value in surface, with the version of the data it belongs to (mapVersion) and when it went live.

When the header changes, the fields have changed: read the catalogue and the layer schemas again, and regenerate anything you build from them. GET /v1/layers/{layer}/schema returns a JSON Schema for a layer's part of an entity, with an example value per field, for generating types and checking answers.

Every answer
HTTP/1.1 200 OK
x-atlas-surface: 3f9c2a71
x-atlas-release: b20261030040011a7c3

The release: which data you read

Every answer carries the release it came from in the x-atlas-release header, and the entity, a search page and the catalogue carry it as release (id and at, when it went live). Two reads of the same release always agree. What has arrived since the release is returned apart, as pendingChanges on an entity and pending on a search row, never merged into the release's values.

release on an answer
{
  "release": { "id": "b20261030040011a7c3", "at": "2026-10-30T06:12:40.000Z" }
}

Deprecations

Nothing a client receives is taken away without a deprecation first: a field, a client key, a type, an option or a whole layer. A deprecated one carries deprecated in the catalogue, the layer list and the layer schema:

  • since: the day the deprecation was announced.
  • until: the first day it may stop being sent, at least 90 days after since.
  • replacedBy: the client key to read instead, where one replaces it, and a note.

It is still sent, unchanged, until until. A retired client key is never reused for something else, so a key always means what it meant. An operation on its way out is marked deprecated in the API reference with a note on what replaces it, and is served for at least its 90-day notice.

A deprecated field (illustrative)
{
  "key": "example.oldField",
  "deprecated": {
    "since": "2026-10-01",
    "until": "2026-12-30",
    "note": "Read example.newField instead.",
    "replacedBy": "example.newField"
  }
}

The changelogs

GET /v1/changelog lists what changed in the data for clients, per layer and client key, oldest first: a field added, removed, retyped, given new options, made searchable or not, deprecated or relabelled, and a layer added, removed or deprecated. Each change says when it reached clients and whether it would break a client reading the field as it was, which only ever happens after a deprecation notice.

Poll it with since set to the day you last read it, or whenever x-atlas-surface changes. layers keeps only the layers you read. The changelog page shows the same changes, and the releases of the API contract itself: new operations and fields, version by version.

Request
curl 'https://api.atlas.oromiq.com/v1/changelog?since=2026-10-01&layers=cqc' \
  --header 'Authorization: Bearer ak_EXAMPLEclientKeyNotARealKey000000000000' \
  --header 'x-atlas-consumer: cn_8fHq2LmNcV0pXyT3rW6aZe'
Response (shortened)
{
  "data": [
    {
      "version": 9,
      "at": "2026-10-29T18:10:00.000Z",
      "layer": "cqc",
      "key": "cqc.ratingInherited",
      "change": "added",
      "breaking": false,
      "detail": "Added: whether the current rating was inherited from an earlier registration."
    }
  ],
  "surface": { "version": "3f9c2a71", "mapVersion": 10, "at": "2026-10-29T18:10:00.000Z" }
}