# Xquik REST API Deprecation Policy

The Xquik REST API is v1. This policy has applied since 2026-08-26.

## What stays compatible

- v1 stays compatible. We add fields, parameters & endpoints without notice.
- Your client should ignore fields it doesn't know.

## Notice before a breaking removal

- We announce a breaking removal at least 90 days before it happens.
- A deprecated part keeps working until its removal date.
- The [changelog](https://docs.xquik.com/changelog) announces each new deprecation & removal.
- The [versioning guide](https://docs.xquik.com/guides/versioning) lists today's deprecations with their dates.

## How you see a deprecation

- OpenAPI marks each deprecated operation, parameter & field `deprecated: true`.
- A request with a deprecated query parameter or search filter gets a `Deprecation` header. RFC 9745 defines it.
- `GET /api/v1/account` sends it too, for its deprecated `monitorsAllowed` field.
- The answer's `Link` header with `rel="deprecation"` points to this policy.
- Once a removal date is set, a `Sunset` header gives that date. RFC 8594 defines it.
- OpenAPI declares these headers on each success answer that sends them.

## Exceptions

- If X stops running a feature, no request can return its data. Xquik then answers 424 right away & charges nothing.
- A security or legal emergency may shorten the notice.
- The changelog explains each exception.
