Docs

# API versioning and deprecation policy

How the Gridline API is versioned, and how you hear about a change before it can break your code.

## Policy

Breaking changes ship only under a new path version. Before we remove or break anything under /openai/v1, we give at least 90 days' notice: in the docs changelog, by email to account owners, and with Deprecation and Sunset headers on the affected responses.

The policy covers the API's routes and fields. It does not cover retiring a model from the catalog.

## What is versioned

The API's major version is in the path: every route sits under `https://api.gridlinegpu.com/openai/v1`, and the [OpenAPI spec](https://gridlinegpu.com/openapi.json) describes them as version `v1`.

New routes, optional request fields, response fields and error codes are added under `/openai/v1` as they ship, so clients should ignore fields they do not know.

## How notice is given

- The [API changelog](https://gridlinegpu.com/docs/changelog) lists every deprecation with the date it was announced and the date it stops working. It has an Atom feed at [/docs/changelog/feed.xml](https://gridlinegpu.com/docs/changelog/feed.xml).
- By email to account owners.
- Responses from a deprecated route carry a `Deprecation` header (the date it was deprecated), a `Sunset` header (the date it stops working) and a `Link` header with `rel="deprecation"` pointing at its changelog entry.

## Active deprecations

No deprecations are active: nothing under `https://api.gridlinegpu.com/openai/v1` is deprecated today, and no response carries a `Deprecation` or `Sunset` header.

---

Source: https://gridlinegpu.com/docs/versioning
