# Restore a series version

```http
POST https://trydimmi.com/api/v1/series/{series}/versions/{version}/restore
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `series:write`.

## Path parameters

- `series` (string, required): Id of the series, starting with srs_, such as srs_01jx2m8k4t. Find it with GET /series.
- `version` (string, required): Version (srsv_...) to restore. Find it with GET /series/{series}/versions.

## Response 200 (OK)

- `data` (object, required)
  - `ai_replies` (boolean, required): True when the AI agent may answer replies to the series' messages.
  - `archived_at` (string | null, required): When the series was archived; null if it has not been. An archived series can no longer change.
  - `counts` (any, required): Counts stored on the series, as a JSON object; empty when none are stored.
  - `created_at` (string, required): When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
  - `description` (string, required): What the series is for, up to 500 characters; empty when none was written.
  - `email_address_id` (string | null, required): Id of the email address the series' emails are sent from, such as ema_...; null when none is chosen.
  - `has_unpublished_changes` (boolean, required): True when the working copy differs from the version that runs, or nothing was published yet.
  - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
  - `live_version_id` (string | null, required): Id of the published version that runs, such as srsv_...; null when the series was never published.
  - `lock_version` (integer, required): Number that goes up on every save. Send it back when saving so a save made against an older copy is refused.
  - `name` (string, required): The series' name, up to 120 characters.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `paused_at` (string | null, required): When the series was paused; null while it is not paused.
  - `problems` (object[] | null, required): What the working copy still misses before it can go live, each with a code, a message and the step and field it is about; empty when nothing is missing.
    - `code` (string, required): Code of what the series is missing before it can go live, such as loop, entry_missing or step_unreachable.
    - `field` (string): The field of the step the problem is about. Left out when it is not about one field.
    - `message` (string, required): A sentence explaining the problem, to show beside the step.
    - `node_id` (string): Id of the step the problem is about. Left out when it concerns the whole series.
  - `published_at` (string | null, required): When the series was last published; null if it never was.
  - `reply_agent_id` (string | null, required): The AI agent that answers replies when ai_replies is true, such as aia_.... Null leaves it to the agent placed on the channel the reply comes in on.
  - `reply_member_id` (string | null, required): Id of the teammate replies to the series are assigned to, such as mem_...; null for none.
  - `reply_team_id` (string | null, required): Id of the team replies to the series are assigned to, such as team_...; null for none.
  - `sender_id` (string | null, required): Id of the teammate the series' messages are sent as, such as mem_...; null for none.
  - `service` (boolean, required): True when the series sends service notices, such as an outage or a security notice, rather than marketing.
  - `slack_as` (string, required): Who the series' Slack messages are posted as: bot or member.
  - `spec` (any, required): The working copy of the series' definition, its steps and the paths joining them, as the same JSON the builder saves.
  - `status` (string, required): Where the series stands: draft, live, paused or archived.
  - `subject` (string, required): Who travels the series: contact or company.
  - `topic_id` (string | null, required): Id of the subscription topic the series sends under, such as bctp_...; null for none.
  - `totals` (object)
    - `active` (integer, required): How many travelers are on the series now.
    - `entered` (integer, required): How many travelers entered the series.
    - `exited` (integer, required): How many travelers left the series before finishing.
    - `finished` (integer, required): How many travelers reached the end of the series.
    - `goal` (integer, required): How many travelers reached the series' goal.
  - `updated_at` (string, required): When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request POST \
  --url 'https://trydimmi.com/api/v1/series/{series}/versions/{version}/restore' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": {
    "ai_replies": true,
    "archived_at": "2026-11-01T09:30:00Z",
    "counts": null,
    "created_at": "2026-11-01T09:30:00Z",
    "description": "<string>",
    "email_address_id": "<string>",
    "has_unpublished_changes": true,
    "id": "<string>",
    "live_version_id": "<string>",
    "lock_version": 123,
    "name": "<string>",
    "object": "<string>",
    "paused_at": "2026-11-01T09:30:00Z",
    "problems": [
      {
        "code": "<string>",
        "field": "<string>",
        "message": "<string>",
        "node_id": "<string>"
      }
    ],
    "published_at": "2026-11-01T09:30:00Z",
    "reply_agent_id": "<string>",
    "reply_member_id": "<string>",
    "reply_team_id": "<string>",
    "sender_id": "<string>",
    "service": true,
    "slack_as": "<string>",
    "spec": null,
    "status": "<string>",
    "subject": "<string>",
    "topic_id": "<string>",
    "totals": {
      "active": 123,
      "entered": 123,
      "exited": 123,
      "finished": 123,
      "goal": 123
    },
    "updated_at": "2026-11-01T09:30:00Z"
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
