Beta and stable operations
Every operation has a stability level:
Every operation is beta today. The OpenAPI document gives each
operation’s level as
x-stability-level. A new operation always starts as beta and can become
stable later. A stable operation doesn’t go back to beta.
Spot a deprecated operation
Every response from a deprecated operation carries three headers:
The headers are on successful responses and on errors. A request rejected for its API key
(
401) doesn’t carry them.
Check for the header where your client handles responses, and log or alert on it:
- Response headers. They are the only announcement that reaches a running integration, so check for them in your client.
- The API reference. The operation is marked deprecated, and the last paragraph of its description gives both dates and what to call instead.
- This page. Current deprecations lists every deprecated operation.
deprecated: true,
x-sunset with the sunset date as YYYY-MM-DD, and x-effective-deprecation with the
announcement date and the replacement operation.
Agents connected through the Effective MCP server see them too. inspect returns the sunset date
and the replacement, and discover stops suggesting a deprecated operation once its replacement
is available.
How long you have
- The sunset date is at least 31 days after the deprecation is announced, or 90 days for a stable operation.
- Until that date the operation behaves as it always did: the same results, limits and prices.
- The sunset date can move later. It doesn’t move earlier.
After the sunset date
The operation can be removed on any day from its sunset date. Once it’s removed, a request to it returns404 with the code not_found, the same as any path the API doesn’t serve. There is no
redirect to the replacement.
Move to the replacement
- Open the deprecated operation in the API reference. The last paragraph of its description names the operation that replaces it.
- Change your requests to the replacement and check its request and response shapes; they can differ from the old operation’s.
- Confirm that your responses no longer carry the
Deprecationheader.