# Experiences, revisions, and publishing

Open the experience library at `/experiences` and select an experience.
Its `ExperienceDocument` contains the title, system instructions, character
and greeting, model and voice, renderer, knowledge sources, tools, and
call-ending rules.

## Save a draft and publish it

The editor saves changes to the draft in the background. The toolbar shows the
save status. A new experience gets its first saved draft when you click
**Деплой** (Deploy) with a system instruction in place.

Click **Деплой** to save pending changes, create an immutable revision
(`rev_*`), and publish that revision. A publication keeps serving its current
revision while you edit the draft. Published links and embeds switch to the new
revision after deploy.

For API integrations, update the draft with
`PUT /v1/experiences/{experience_id}` and its `If-Match` header, then create a
revision through `POST /v1/experiences/{experience_id}/revisions`. See the
[HTTP API reference](/documentation/en/api) for the publication operations.

## Review changes and restore a version

Open **⋮ → История изменений** (Change history) to review draft saves, newest first. Expand a save
to see the changed fields and any previous and new values recorded for them.
To copy the current deployment back into the draft, use the restore action at
the top of this panel.

The **Версии** (Versions) tab lists deployed snapshots. Expand a row to see the full
revision ID, character name, and the start of the system instruction. The
row menu lets you deploy an older revision to roll back the publication or
copy it to the draft for editing. A copied draft becomes public when you
deploy it.

## Share or embed a publication

Open **⋮ → Встраивание и ссылки** (Embed and links) to manage the site's allowed origins, copy the
public link, or revoke and restore access. Use `/s/{slug}` to share a player
that has chat and microphone controls. Use `/embed/{slug}` and the
[Embed SDK quickstart](/documentation/en/guides/embed/sdk-quickstart) to integrate it into a site.

## Export an archived experience

Archived records have `status: "archived"` and `document: null` and are
read-only. The owner can export the original JSON without secrets with
`GET /v1/experiences/{experience_id}/source`.
