---
title: "Restore multiple discarded draft sessions"
method: POST
path: "/sessions/restore"
tags: ["Sessions"]
---

# Restore multiple discarded draft sessions

`POST /sessions/restore`

Restore multiple discarded draft sessions back to draft status

## Request body

- BulkRestoreDraftsRequest
  - `session_ids` string[], required — Draft sessions to restore from discarded status

## Response `200`

All drafts restored successfully

- BulkRestoreDraftsResponse
  - `data` object, required
    - `success` boolean, required
    - `failed_sessions` string[] — Sessions that failed to restore

## Other responses

- `207` — Partial success
- `400` — Bad request
- `500` — Internal server error

## Changes

- **2025-10-21** `5e98917483e1` — 1 info
  - endpoint added
- **2025-08-05** `f3a20bfa8bea` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/humanlayer/apis/humanlayer-daemon-rest-api/changes/sessions/restore/post.md)

---

[API](https://skmtc.dev/humanlayer/apis/humanlayer-daemon-rest-api.md) · [All operations](https://skmtc.dev/humanlayer/apis/humanlayer-daemon-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/humanlayer/humanlayer-daemon-rest-api/revisions/02da8cb8aa12/schema)
