> ## Documentation Index
> Fetch the complete documentation index at: https://docs.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.

## Beta and stable operations

Every operation has a stability level:

| Level | What it means | Notice before removal |
| - | - | - |
| 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. The [OpenAPI document](https://docs.effectiveai.app/.well-known/api-catalog) 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:

```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.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.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. |

## 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.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.