ARCNM

Get started

Versioning

The current API version, the X-API-Version response header and our compatibility policy — one stable major prefix, with a date stamped on every response.

The API is served under a single stable major prefix, /api/v1, and stamps a date-based version on every response so clients can detect drift:

X-API-Version: 2026-11-29

You don't need to send a version header — there is one active version and the server stamps it on the way out.

Version What changed
2026-11-29 The legacy routes, fields and aliases are removed, and the breaking changes of the environment system ship under it — see the changelog
2026-04-24 The first dated version

Compatibility policy

We add functionality without breaking existing integrations:

Non-breaking (rolled into the current version):

  • Adding a new optional field to a response
  • Adding a new optional parameter to a request
  • Adding a new endpoint or webhook event type
  • Adding a new error code

Breaking (ships under a new dated version):

  • Removing an endpoint, a request field or parameter, or a response field, or renaming one
  • Changing a field's type or meaning
  • Tightening a validation rule, or answering a refusal with another status or error.code
  • Changing default behaviour when an optional parameter is omitted

When the API moves, it moves to a new version: X-API-Version carries the new date from the release that ships it, and the changelog lists every breaking change under that version — in /changelog.json too, where each entry names the version it shipped under. The previous version is not served beside it, so read the changelog entry before you upgrade an integration.

Build clients defensively: ignore unknown fields, switch on the error code (not message), and don't assume an enum is closed unless this documentation says so.


Deprecation & sunset

When we deprecate something that still answers, you get machine-readable notice on the affected endpoint:

  • Deprecation (RFC 9745) — @<unix-timestamp> marking when the endpoint became deprecated. The endpoint keeps working.
  • Sunset (RFC 8594) — an HTTP-date for the hard cutoff, never earlier than the deprecation date. After it the endpoint returns 410 Gone.
  • A Link: <…>; rel="deprecation" points at the migration guide, and the change is recorded in the changelog.

Log the presence of these headers in your client so a deprecation can't pass unnoticed, and migrate before the Sunset date. No endpoint is deprecated in version 2026-11-29. One request field is: empty on POST /environments (send source: "empty"). A response to a request that sends it carries these headers, with Sunset on 1 June 2027; after it a body that sends empty is refused 422, as every unknown field is.


By transport

  • REST — X-API-Version stamped on every response.
  • MCP — tools are generated from the same REST surface; they track the current version.
  • Webhooks — the event envelope carries id, type, created_at, and data (see Webhooks). Branch on type.

See also

  • Changelog — chronological API changes.
  • Errors — the stable error-code catalog.
  • SDKs — using the REST API today.