Cernion Backup And Restore API
The Backup And Restore API from Cernion — 8 operation(s) for backup and restore.
The Backup And Restore API from Cernion — 8 operation(s) for backup and restore.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/cernion-de:cernion-de-backup-and-restore-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Cernion Energy Tools Backup & Restore API
version: 0.99.22
description: 'MicroService Agent System for Energy Markets - REST API with AI integration.
CERNION_TOKEN: request at https://cernion.de/ or by email: dev@stromdao.com.
For the public instance at https://api.cernion.de/, create your token at https://cernion.de/cet-token/.'
servers:
- url: https://api.cernion.de
description: API Server
tags:
- name: Backup And Restore
paths:
/api/backup-orchestrator/snapshot:
post:
summary: Create a full backup snapshot (all data stores)
tags:
- Backup And Restore
operationId: backup_orchestrator_snapshot
parameters:
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: Snapshot created with provenance hash
content:
application/json:
example:
success: true
snapshotId: snap-abc123
label: pre-cutover-hoeheinoed
provenanceHash: sha256:...
createdAt: '2026-06-30T12:00:00.000Z'
summary:
energySharingDocs: 42
allocationDocs: 12
datapointDocs: 5
jobFiles: 8
tokensFile: true
description: Creates a full-state snapshot of energy-sharing, allocation, datapoints, jobs, and token data. Returns a snapshotId with provenance hash for audit trail (EU AI Act Art. 12). Sub-Track G v0.47.0 — Rollback-Plan mit Full-Restore-Orchestrierung.
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
label:
type: string
description: Human-readable label for this snapshot
example: pre-cutover-hoeheinoed-2026-06-30
tenantId:
type: string
description: 'Optional: scope snapshot to a specific tenant (exports only tenant docs)'
example: hoeheinoed
token:
type: string
description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
examples:
default:
summary: Pre-cutover snapshot
value:
label: pre-cutover-hoeheinoed-2026-06-30
tenantId: hoeheinoed
/api/backup-orchestrator/restore:
post:
summary: Restore all data stores from a backup snapshot
tags:
- Backup And Restore
operationId: backup_orchestrator_restore
parameters:
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: Restore completed with counts of restored/skipped docs
'400':
description: confirm=false or snapshot not found
description: Restores energy-sharing, allocation, datapoints, jobs, and token data from a snapshot. DESTRUCTIVE — requires confirm=true. Missing docs are restored; existing docs are skipped (additive). Sub-Track G v0.47.0 — Rollback-Plan mit Full-Restore-Orchestrierung.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- snapshotId
properties:
snapshotId:
type: string
example: snap-abc123
confirm:
type: boolean
default: false
description: Must be true to execute restore (safety gate)
token:
type: string
description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
examples:
default:
summary: Restore from snapshot with confirmation
value:
snapshotId: snap-abc123
confirm: true
/api/backup-orchestrator/snapshots:
get:
summary: List available backup snapshots
tags:
- Backup And Restore
operationId: backup_orchestrator_list
parameters:
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: List of snapshot manifests
content:
application/json:
example:
success: true
snapshots:
- snapshotId: snap-abc123
label: pre-cutover
createdAt: '2026-06-30T12:00:00.000Z'
provenanceHash: sha256:...
count: 1
/api/backup-orchestrator/snapshots/:snapshotId:
get:
summary: Get backup snapshot manifest by ID
tags:
- Backup And Restore
operationId: backup_orchestrator_get
parameters:
- name: snapshotId
in: path
required: true
schema:
type: string
example: snap-abc123
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: Snapshot manifest
'404':
description: Snapshot not found
delete:
summary: Delete a backup snapshot
tags:
- Backup And Restore
operationId: backup_orchestrator_delete
parameters:
- name: snapshotId
in: path
required: true
schema:
type: string
example: snap-abc123
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: Snapshot deleted
'404':
description: Snapshot not found
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
token:
type: string
description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
/api/admin/backup/snapshot:
post:
summary: Create a full backup snapshot (all data stores)
tags:
- Backup And Restore
operationId: postApiAdminBackupSnapshot
parameters:
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: Snapshot created with provenance hash
content:
application/json:
example:
success: true
snapshotId: snap-abc123
label: pre-cutover-hoeheinoed
provenanceHash: sha256:...
createdAt: '2026-06-30T12:00:00.000Z'
summary:
energySharingDocs: 42
allocationDocs: 12
datapointDocs: 5
jobFiles: 8
tokensFile: true
description: Creates a full-state snapshot of energy-sharing, allocation, datapoints, jobs, and token data. Returns a snapshotId with provenance hash for audit trail (EU AI Act Art. 12). Sub-Track G v0.47.0 — Rollback-Plan mit Full-Restore-Orchestrierung.
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
label:
type: string
description: Human-readable label for this snapshot
example: pre-cutover-hoeheinoed-2026-06-30
tenantId:
type: string
description: 'Optional: scope snapshot to a specific tenant (exports only tenant docs)'
example: hoeheinoed
token:
type: string
description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
examples:
default:
summary: Pre-cutover snapshot
value:
label: pre-cutover-hoeheinoed-2026-06-30
tenantId: hoeheinoed
x-operation-id-source: normalized
x-operation-id-original: backup_orchestrator_snapshot
/api/admin/backup/restore:
post:
summary: Restore all data stores from a backup snapshot
tags:
- Backup And Restore
operationId: postApiAdminBackupRestore
parameters:
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: Restore completed with counts of restored/skipped docs
'400':
description: confirm=false or snapshot not found
description: Restores energy-sharing, allocation, datapoints, jobs, and token data from a snapshot. DESTRUCTIVE — requires confirm=true. Missing docs are restored; existing docs are skipped (additive). Sub-Track G v0.47.0 — Rollback-Plan mit Full-Restore-Orchestrierung.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- snapshotId
properties:
snapshotId:
type: string
example: snap-abc123
confirm:
type: boolean
default: false
description: Must be true to execute restore (safety gate)
token:
type: string
description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
examples:
default:
summary: Restore from snapshot with confirmation
value:
snapshotId: snap-abc123
confirm: true
x-operation-id-source: normalized
x-operation-id-original: backup_orchestrator_restore
/api/admin/backup/snapshots:
get:
summary: List available backup snapshots
tags:
- Backup And Restore
operationId: getApiAdminBackupSnapshots
parameters:
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: List of snapshot manifests
content:
application/json:
example:
success: true
snapshots:
- snapshotId: snap-abc123
label: pre-cutover
createdAt: '2026-06-30T12:00:00.000Z'
provenanceHash: sha256:...
count: 1
x-operation-id-source: normalized
x-operation-id-original: backup_orchestrator_list
/api/admin/backup/snapshots/:snapshotId:
get:
summary: Get backup snapshot manifest by ID
tags:
- Backup And Restore
operationId: getApiAdminBackupSnapshots:snapshotId
parameters:
- name: snapshotId
in: path
required: true
schema:
type: string
example: snap-abc123
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: Snapshot manifest
'404':
description: Snapshot not found
x-operation-id-source: normalized
x-operation-id-original: backup_orchestrator_get
delete:
summary: Delete a backup snapshot
tags:
- Backup And Restore
operationId: deleteApiAdminBackupSnapshots:snapshotId
parameters:
- name: snapshotId
in: path
required: true
schema:
type: string
example: snap-abc123
- $ref: '#/components/parameters/TokenQuery'
responses:
'200':
description: Snapshot deleted
'404':
description: Snapshot not found
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
token:
type: string
description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
x-operation-id-source: normalized
x-operation-id-original: backup_orchestrator_delete
components:
parameters:
TokenQuery:
name: token
in: query
required: false
schema:
type: string
description: 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.
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: 'Optional Cernion MCP token. If not provided, falls back to CERNION_TOKEN from environment. Request token at https://cernion.de/ or by email: dev@stromdao.com.'