> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.rasen.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.rasen.ai/_mcp/server.

# Deprecations

> Find each deprecated or removed operation, field and value of the API, its shutdown date and its replacement.

## How deprecation works

A deprecated operation or field keeps working, but it should not be used in a new integration.
When we deprecate something:

* The operation is labelled deprecated in the [API reference](/api-reference).
* It is listed below with its replacement, and the change is announced in the
  [Changelog](/changelog).
* A shutdown date, if one is set, is published here. Until then, the operation keeps its request and
  response shapes.

To find the deprecated operations your integration calls, compare the operation IDs it uses with the
Deprecated column of each entry below.

## Deprecation history

### 2026-11-13: production base URL `https://api.v2.rasen.ai/v1`

The production base URL moves to `https://api.rasen.ai/v1`. Both hosts serve the same API, with the
same keys, operations and data. The old host keeps working until the shutdown date. Move to the new base URL
before that date.

To move, change the base URL in your configuration, for example `RASEN_API_BASE`. The paths after
`/v1` do not change, and you do not need new keys.

| Shutdown date | Deprecated                                           | Replacement               |
| ------------- | ---------------------------------------------------- | ------------------------- |
| 2027-02-11    | The production base URL `https://api.v2.rasen.ai/v1` | `https://api.rasen.ai/v1` |

### 2026-10-26: `fallback` source state

**Urgency:** urgent
**Reason:** A `fallback` source is usable in calls, so the API reports it as `ready`. A client that
waits for `ready` or `failed` needs no change.

From version 1.8.0, the API does not return the `fallback` source state. A source that publication
uses as bounded prompt context reports `state: ready` with `failure: null`, and a `state=ready`
filter matches it. `state=fallback` is still accepted as a filter value.

| Shutdown date | Removed                               | Replacement                            |
| ------------- | ------------------------------------- | -------------------------------------- |
| 2026-10-26    | `fallback` in `KnowledgeSource.state` | `ready`. Wait for `ready` or `failed`. |

### 2026-10-25: legacy draft knowledge fields

Publication reads only the agent's direct knowledge library. The draft fields below remain accepted
and returned for compatibility, and they are still checked for workspace and ownership safety, but
they do not select the knowledge used by validation or publication.

| Shutdown date  | Deprecated                                 | Replacement                                               |
| -------------- | ------------------------------------------ | --------------------------------------------------------- |
| None announced | `retrieval_snapshot_id` on the agent draft | Add sources to the agent library, then publish the agent. |
| None announced | `fallback_source_ids` on the agent draft   | Add sources to the agent library, then publish the agent. |

See [Publish knowledge](/guides/knowledge#5-publish-knowledge) for the current workflow.

### 2026-10-23: Knowledge snapshot operations

In version 1.8.0, the explicit Knowledge snapshot operations are deprecated. Publication does not
need or read an explicit snapshot: it freezes the sources of the agent's direct library itself.
The operations keep working for existing clients, but `createKnowledgeSnapshot` can refuse a source
that reports `ready` with `409 conflict` and `reason: sources_not_ready`.

| Shutdown date  | Deprecated                                                                          | Replacement                                               |
| -------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------- |
| None announced | `POST /agents/{agent_id}/knowledge/snapshots` (`createKnowledgeSnapshot`)           | Add sources to the agent library, then publish the agent. |
| None announced | `GET /agents/{agent_id}/knowledge/snapshots` (`listKnowledgeSnapshots`)             | List the agent library with `listAgentKnowledgeSources`.  |
| None announced | `GET /agents/{agent_id}/knowledge/snapshots/{snapshot_id}` (`getKnowledgeSnapshot`) | List the agent library with `listAgentKnowledgeSources`.  |

### 2026-10-14: `languages` on voices

The `languages` field was removed from the `Voice` schema returned by `listVoices`. It was always an
empty array, because no language is recorded per voice.

**Urgency:** urgent
**Reason:** The field never carried a value, so no client could depend on its content.

| Shutdown date | Removed           | Replacement                      |
| ------------- | ----------------- | -------------------------------- |
| 2026-10-14    | `Voice.languages` | None. Remove code that reads it. |