# Bring back an archived bot setup

`POST https://app.skylit.ai/api/nexus/v1/playbooks/{id}/restore`

API: Nexus.

## Authentication

Send your Skylit API key as a bearer token: `Authorization: Bearer <key>`. No other header is accepted.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string (uuid) | yes |  |

## Example request

```bash
curl "https://app.skylit.ai/api/nexus/v1/playbooks/{id}/restore" \
  -H "Authorization: Bearer $SKYLIT_API_KEY"
```

## Responses

### 200

`{"restored": true}`.

### 403

`main_account_web_only`: your own account's setups and tags are changed only on skylit.ai, signed in as yourself.

### 404

`playbook_not_found`.

### 409

`name_taken`: a live setup has that name now; rename one first. `setup_limit`: 100 setups are live already.
