---
title: "Apply point-in-time restore"
method: POST
path: "/pitr-restores/{pitr_plan_id}/apply"
---

# Apply point-in-time restore

`POST /pitr-restores/{pitr_plan_id}/apply`

## Request

- Base URL: `https://api.imprezahost.com/v1`
- URL: `https://api.imprezahost.com/v1/pitr-restores/{pitr_plan_id}/apply`
- Auth: API key in header `X-API-Key` and API key in header `X-API-Secret`

Apply the exact reviewed recovery after user confirmation with confirm=true and review_digest. Queues the scratch-cluster replay and then the verified logical restore into the reviewed NEW database; the current one keeps serving and is never overwritten. Acceptance is not verified completion. Repeating the same plan returns its receipt without a second job. Requires deploy scope.

## Path parameters

- `pitr_plan_id` string, required

## Request body

- object
  - `review_digest` string, required
  - `confirm` true, required

## Response `202`

Accepted: queued, not verified completion.

## Other responses

- `409`: Review expired, changed, or a recovery already in flight

---

[API](https://skmtc.dev/imprezahost/apis/impreza-host-public-api.md) · [All operations](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/revisions/db86511f604f?raw)
