Datapoints
Create a Snapshot — seal a consistent set of Datapoints
Refreshes all specified datapoints (sequentially) if their cached data is older than maxAgeMinutes, then seals the consistent state as a snapshot document in PouchDB. The snapshot records each datapoints provenanceHashand a combinedsnapshotHash(SHA-256 over sorted individual hashes). Accepts eitherdatapointNames(array) ortags` (comma-separated string). Raw data is NOT stored (KRITIS constraint).
post/api/datapoint/snapshot
Request
- Base URL: https://api.cernion.de
- URL: https://api.cernion.de/api/datapoint/snapshot
- Auth: none declared
Query parameters
tokenstring
Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.
Request body
Example request
{
"datapointNames": [
"pv-portfolio-stromdao-netze",
"redispatch-anlagen-stromdao-netze"
],
"tags": "stromdao-netze,redispatch-pipeline",
"name": "stromdao-validierung-q1-2026"
}Response
Successful response
object required
Changes
No recorded changes to this operation across all 2 revisions of this API.