---
title: "Restore a snapshot"
method: POST
path: "/sandbox/fixtures/restore"
tags: ["sandbox"]
---

# Restore a snapshot

`POST /sandbox/fixtures/restore`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/sandbox/fixtures/restore`
- Auth: HTTP bearer

SANDBOX ONLY. This endpoint exists only in the graph8 developer sandbox and returns 404 on the live platform. Call GET /sandbox/status to see which environment your key reaches.

Restore the fixture rows to a previously saved snapshot.

Only sandbox-fixture rows (``meta.sandbox_fixture = true``) are replaced —
any records you created through normal API calls in this sandbox are left
untouched. Snapshots are taken over the same fixture-scoped set, so a
restore round-trips exactly what ``/fixtures/snapshot`` captured.

## Query parameters

- `name` string

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Response `200`

Successful Response

- SnapshotActionResponse
  - `sandbox` boolean
  - `action` string, required
  - `name` string, required
  - `tables` string[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/2e7cfa0ca921?raw)
