# Versioning and Preview

Routes are versioned in the path. Everything today lives under `/v1-preview/`, which means **Preview**.

## Preview

A Preview endpoint is fully working and supported, but its contract is not final.

- You can recognise one by the `Preview` tag and `x-stability-level: beta` in the OpenAPI document, "(Preview)" in its summary and a Preview note in its description.
- Until it graduates, a Preview endpoint may change, or be removed, **without** a new versioned route and **without** a deprecation notice period.
- If you generate your own client, filter on `x-stability-level` so Preview endpoints are opt-in.
- When an endpoint graduates, its Preview markers are removed and from then on its contract is frozen: breaking changes need a new versioned route with at least 90 days' notice.

## What counts as breaking (stable endpoints)

Removing or renaming a field, changing a field's type or meaning, changing pagination, envelope or error format, making an optional request field required, changing status code semantics or tightening authorisation. Adding an optional field, a new endpoint or a member of an open-ended enum is not breaking, so write clients that ignore unknown fields.
