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

# Deprecations

> How Effective retires an API operation: how you find out, how long it keeps working, and what to change.

Before Effective removes an API operation, it marks the operation deprecated. A deprecated
operation keeps working exactly as before, for at least 31 days, or 90 days for a stable
operation, so you have time to move to its replacement.

## Stability levels

Every operation has a stability level:

| Level | What it means | Notice before removal |
| - | - | - |
| Alpha | An early operation whose shape is still being worked out. Don't build on it for production. | None |
| Beta | Ready to use. It can still change, but only after a deprecation notice. | At least 31 days |
| Stable | Its requests and responses are settled. Effective changes it only through a new operation. | At least 90 days |

Every operation is beta today unless its description says it is alpha. The [OpenAPI document](https://docs.canary.effectiveai.app/.well-known/api-catalog) gives each
operation's level as `x-stability-level`. A new operation starts as beta, or sometimes as alpha,
and can become stable later. A stable operation doesn't go back to beta, and a beta or stable
operation never becomes alpha.

An alpha operation can change or stop working in any release, without the deprecation headers
below. Its description in the reference ends with "Alpha: this operation may change or be
removed without notice."

## Spot a deprecated operation

Every response from a deprecated operation carries three headers:

```http theme={"languages":{"custom":["languages/rsl.tmLanguage.json"]}}
Deprecation: @1795046400
Sunset: Mon, 01 Mar 2027 00:00:00 GMT
Link: <https://docs.effectiveai.app/getting-started/deprecations>; rel="deprecation"; type="text/html"
```

| Header | Meaning |
| - | - |
| `Deprecation` | When the deprecation was announced, as `@` followed by Unix seconds. |
| `Sunset` | The first date the operation may stop working. It keeps working until at least then. |
| `Link` | This page. |

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:

```js theme={"languages":{"custom":["languages/rsl.tmLanguage.json"]}}
const response = await fetch(url, { headers });
if (response.headers.has('Deprecation')) {
  console.warn(`${url} is deprecated and may stop working after ${response.headers.get('Sunset')}`);
}
```

Deprecations are announced in three places:

* **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](#current-deprecations) lists every deprecated operation.

The OpenAPI document, linked from the [API catalog](https://docs.canary.effectiveai.app/.well-known/api-catalog), carries the same
facts for tools: `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.

The one exception is an operation Effective must withdraw sooner to fix a security problem or
meet a legal requirement. Effective then contacts the workspaces that use it.

## After the sunset date

The operation can be removed on any day from its sunset date. Once it's removed, a request to it
returns `404` 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

1. Open the deprecated operation in the API reference. The last paragraph of its description
   names the operation that replaces it.
2. Change your requests to the replacement and check its request and response shapes; they can
   differ from the old operation's.
3. Confirm that your responses no longer carry the `Deprecation` header.

## Current deprecations

| Operation | Deprecated | Works until at least | Use instead |
| - | - | - | - |
| [`DELETE /procedure-runs/{runId}`](https://docs.canary.effectiveai.app/api-reference/procedure-runs/delete-a-finished-procedure-run), Delete a finished procedure run | 2026-11-19 | 2027-03-01 | None. Deleting runs will no longer be offered through the API; contact Effective support to have a run deleted. |
| [`GET /files/{fileId}`](https://docs.canary.effectiveai.app/api-reference/files/get-file-metadata-and-content-links), Get file metadata and content links | 2026-11-23 | 2027-03-01 | [`GET /artifacts/{artifactId}`](https://docs.canary.effectiveai.app/api-reference/artifacts/get-artifact-metadata-and-content-links), with the same ID. |
| [`GET /files/{fileId}/download`](https://docs.canary.effectiveai.app/api-reference/files/download-one-immutable-file-version), Download one immutable file version | 2026-11-23 | 2027-03-01 | [`GET /artifacts/{artifactId}/download`](https://docs.canary.effectiveai.app/api-reference/artifacts/download-one-immutable-artifact-version), with the same ID. |
| [`GET /files/{fileId}/text`](https://docs.canary.effectiveai.app/api-reference/files/read-a-bounded-chunk-of-existing-extracted-text), Read a bounded chunk of existing extracted text | 2026-11-23 | 2027-03-01 | [`GET /artifacts/{artifactId}/text`](https://docs.canary.effectiveai.app/api-reference/artifacts/read-a-bounded-chunk-of-extracted-artifact-text), with the same ID. Cursors carry over. |

## Changes that need no deprecation

Effective adds to the API without notice: new operations, new optional request fields, new
response fields, and new [error codes](https://docs.canary.effectiveai.app/getting-started/errors.md). Write clients that ignore
response fields they don't know and that handle an unknown error code by its HTTP status.


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