---
title: "Validate a Snapshot — check provenance hash consistency"
method: POST
path: "/api/datapoints/snapshot/:id/validate"
tags: ["Datapoints"]
---

# Validate a Snapshot — check provenance hash consistency

`POST /api/datapoints/snapshot/:id/validate`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/datapoints/snapshot/:id/validate`
- Auth: none declared

Compares each datapoint`s current `provenanceHash` against the hash recorded at snapshot creation. Returns `consistent: true` if all hashes match, or `consistent: false` with a `drift` array listing changed datapoints. The validation result is persisted back to the snapshot document.

## Path parameters

- `id` string, required

## Query parameters

- `token` string

## Request body

- object
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `200`

Successful response

- object

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
