> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# API versioning

> How Elastly API versions are named, how a key is pinned to the version current when it was created, and how to choose a version per request.

The Elastly API is versioned by release date. A version fixes the shape of requests and responses, so your integration keeps working while the API changes. This page covers the current version, how a version is chosen for a request and how long a version is supported.

## Current version

The current version is `2026-11-01`.

## How a request gets its version

1. If the request sends an `Elastly-Version` header, that version is used.
2. Otherwise the version pinned to the API key is used. A key is pinned to the version that was current when it was created.

The response carries an `Elastly-Version` header with the version that served it.

```bash theme={null}
curl https://api.elastly.ai/v1/catalog/items \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Elastly-Version: 2026-11-01"
```

A version must be a date in the form `YYYY-MM-DD`. A request for a version that does not exist or is no longer supported is refused with `400` and `unsupported_api_version`.

## Support period

A version stays supported for 24 months after the next version is released. Test your integration with the new version by sending its `Elastly-Version` header before you move every request to it.

Webhook deliveries carry the `Elastly-Version` header too. See [Webhooks and events](/docs/developers/webhooks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.