---
title: "Cluster Force Snapshot"
method: POST
path: "/api/v1.cluster-admin.force-snapshot"
tags: ["ClusterAdmin"]
---

# Cluster Force Snapshot

`POST /api/v1.cluster-admin.force-snapshot`

Force the cluster to take a snapshot immediately

## Request body

- ClusterForceSnapshotIn

## Response `200`

- ClusterForceSnapshotOut
  - `snapshot_time` integer, required — The wall-clock time at which the snapshot was initiated
  - `snapshot_log_index` integer, required — The log index at which the snapshot was initiated
  - `snapshot_id` string, nullable — If this is `null`, the snapshot is still building in the background

## Other responses

- `400`
- `401`
- `403`
- `422`

## Changes

- **2026-04-28** `a542ced3f593` — 12 warning, 12 info
  - added the new `invalid-input` enum value to the `type` response property for the response status `400`
  - added the new `invalid-input` enum value to the `type` response property for the response status `401`
  - added the new `invalid-input` enum value to the `type` response property for the response status `403`
  - added the new `invalid-input` enum value to the `type` response property for the response status `422`
  - …20 more
- **2026-04-28** `b1d873e9a6e4` — 4 info
  - added the required property `type` to the response with the `400` status
  - added the required property `type` to the response with the `401` status
  - added the required property `type` to the response with the `403` status
  - added the required property `type` to the response with the `422` status
- **2026-04-21** `c30222181768` — 1 breaking, 5 info
  - the `detail` response's property type/format changed from `array`/`` to `string`/`` for status `422`
  - added the optional property `location` to the response with the `400` status
  - added the optional property `location` to the response with the `401` status
  - added the optional property `location` to the response with the `403` status
  - …2 more
- **2026-04-15** `a13efaccef64` — 1 info
  - endpoint added
- **2026-03-31** `f62be26d2a53` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/svix/apis/diom-api/changes/api/v1.cluster-admin.force-snapshot/post.md)

---

[API](https://skmtc.dev/svix/apis/diom-api.md) · [All operations](https://skmtc.dev/svix/apis/diom-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/svix/diom-api/revisions/58636beb376c/schema)
