Cernion Redispatch Ex-Post API

Deterministic 7-step Redispatch 2.0 Ex-Post settlement audit (v0.18). Cross-references MaStR portfolio (≥100 kW) with Netztransparenz curtailment data: VNB identity → portfolio inventory → master data validation → curtailment correlation → settlement readiness → financial risk assessment → audit trail. Returns settlementReadiness (% of installations ready for A96 settlement) and riskAssessment (estimated lost compensation in €). No LLM involvement. Regulatory basis: §§ 13, 13a EnWG, NABEG, StromNZV, Redispatch 2.0 (BDEW/BNetzA). Steps 3–6 independently skippable via skipSteps parameter.

Operations 6

POST /api/redispatch-expost/audit Run Redispatch Ex-Post settlement audit (7-step, deterministic) #
GET /api/redispatch-expost/audits List past Redispatch Ex-Post audit reports #
GET /api/redispatch-expost/audits/:id Get a specific Redispatch Ex-Post audit report by ID #
POST /api/redispatch/audit Run Redispatch Ex-Post settlement audit (7-step, deterministic) #
GET /api/redispatch/audits List past Redispatch Ex-Post audit reports #
GET /api/redispatch/audits/:id Get a specific Redispatch Ex-Post audit report by ID #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cernion-de:cernion-de-redispatch-ex-post-api"
All apis
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.

Get an API 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 Specification

cernion-de-redispatch-ex-post-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cernion Energy Tools Redispatch Ex-Post 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: Redispatch Ex-Post
  description: 'Deterministic 7-step Redispatch 2.0 Ex-Post settlement audit (v0.18). Cross-references MaStR portfolio (≥100 kW) with Netztransparenz curtailment data: VNB identity → portfolio inventory → master data validation → curtailment correlation → settlement readiness → financial risk assessment → audit trail. Returns settlementReadiness (% of installations ready for A96 settlement) and riskAssessment (estimated lost compensation in €). No LLM involvement. Regulatory basis: §§ 13, 13a EnWG, NABEG, StromNZV, Redispatch 2.0 (BDEW/BNetzA). Steps 3–6 independently skippable via skipSteps parameter.'
paths:
  /api/redispatch-expost/audit:
    post:
      summary: Run Redispatch Ex-Post settlement audit (7-step, deterministic)
      tags:
      - Redispatch Ex-Post
      operationId: redispatch_expost_audit
      parameters:
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: RedispatchAuditReport with settlementReadiness, riskAssessment, and findings
          content:
            application/json:
              example:
                success: true
                id: a1b2c3d4-...
                settlementReadiness:
                  totalInstallations: 59
                  readyForSettlement: 52
                  readinessPercent: 88.1
                  blockedInstallations: 7
                riskAssessment:
                  riskLevel: medium
                  estimatedLostCompensationEur: 28500
                  curtailmentGWh: 4.8
                  blockedFractionPercent: 11.9
                summary:
                  findingsCount:
                    info: 5
                    warning: 9
                    error: 4
                  durationMs: 12800
        '202':
          description: REST/Gateway call accepted as async job. Poll /api/jobs/:jobId/status and /api/jobs/:jobId/result.
          content:
            application/json:
              example:
                success: true
                jobId: f8d2d8d4-4f22-4a0a-bec7-a9f05ad6b9e6
                status: queued
                statusUrl: /api/jobs/f8d2d8d4-4f22-4a0a-bec7-a9f05ad6b9e6/status
                resultUrl: /api/jobs/f8d2d8d4-4f22-4a0a-bec7-a9f05ad6b9e6/result
      description: 'Executes a deterministic 7-step Redispatch 2.0 Ex-Post settlement audit for a VNB: VNB identity → portfolio inventory (≥100 kW) → master data validation → Netztransparenz curtailment correlation → settlement readiness → financial risk assessment → audit trail. Returns settlementReadiness (% of installations ready for A96 settlement) and riskAssessment (estimated lost compensation in €). No LLM involvement — identical inputs always produce identical finding codes. Steps 3–6 can be skipped via the skipSteps parameter; steps 1, 2, and 7 are mandatory.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                gridOperatorId:
                  type: string
                  description: MaStR grid operator ID (SNB.../GNB...)
                  example: SNB935578300972
                gridOperatorBdew:
                  type: string
                  description: 13-digit BDEW market-partner code
                  example: '9907473000008'
                gridOperatorName:
                  type: string
                  description: Grid operator name (fuzzy match)
                  example: STROMDAO Netze
                dateFrom:
                  type: string
                  format: date
                  description: Start of audit period (ISO date) for Netztransparenz correlation
                  example: '2026-01-01'
                dateTo:
                  type: string
                  format: date
                  description: End of audit period (ISO date) for Netztransparenz correlation
                  example: '2026-03-31'
                datapointTags:
                  type: array
                  items:
                    type: string
                  description: Tags for Weg B datapoint fallback (portfolio data)
                  example:
                  - stromdao-netze
                  - redispatch-portfolio
                maxAgeMinutes:
                  type: integer
                  default: 120
                  description: Datapoint freshness threshold in minutes (Weg B)
                skipSteps:
                  type: array
                  items:
                    type: integer
                  description: 'Steps to skip (valid: 3–6; steps 1, 2, 7 are mandatory)'
                  example:
                  - 4
                avgCompensationEurPerMWh:
                  type: number
                  default: 50
                  description: Average Redispatch compensation rate in €/MWh for risk calculation
                token:
                  type: string
                  description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
            examples:
              By MaStR ID, full quarter:
                value:
                  gridOperatorId: SNB935578300972
                  dateFrom: '2026-01-01'
                  dateTo: '2026-03-31'
              By BDEW, skip curtailment:
                value:
                  gridOperatorBdew: '9907473000008'
                  skipSteps:
                  - 4
              Weg B — use tagged datapoint:
                value:
                  gridOperatorId: SNB935578300972
                  datapointTags:
                  - stromdao-netze
                  - redispatch-portfolio
                  maxAgeMinutes: 60
                  dateFrom: '2026-01-01'
                  dateTo: '2026-03-31'
  /api/redispatch-expost/audits:
    get:
      summary: List past Redispatch Ex-Post audit reports
      tags:
      - Redispatch Ex-Post
      operationId: redispatch_expost_list
      parameters:
      - name: gridOperatorId
        in: query
        schema:
          type: string
          example: SNB935578300972
        description: Filter by MaStR grid operator ID
      - name: limit
        in: query
        schema:
          type: integer
          default: 20
          maximum: 100
        description: Maximum number of results
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          example: eyJvZmZzZXQiOjIwfQ==
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          example: 0
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: List of audit report summaries
          content:
            application/json:
              example:
                count: 2
                audits:
                - id: '...'
                  gridOperator:
                    name: STROMDAO Netze
                  settlementReadiness:
                    readinessPercent: 88.1
                  riskAssessment:
                    riskLevel: medium
                  createdAt: 2026-03-31T...
      description: Returns audit reports stored in PouchDB, newest first. Filter by gridOperatorId.
  /api/redispatch-expost/audits/:id:
    get:
      summary: Get a specific Redispatch Ex-Post audit report by ID
      tags:
      - Redispatch Ex-Post
      operationId: redispatch_expost_get
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          example: a1b2c3d4-1234-5678-90ab-cdef12345678
        description: Audit report UUID
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Full RedispatchAuditReport document
        '404':
          description: Audit report not found
      description: Returns the full RedispatchAuditReport document including all findings.
  /api/redispatch/audit:
    post:
      summary: Run Redispatch Ex-Post settlement audit (7-step, deterministic)
      tags:
      - Redispatch Ex-Post
      operationId: postApiRedispatchAudit
      parameters:
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: RedispatchAuditReport with settlementReadiness, riskAssessment, and findings
          content:
            application/json:
              example:
                success: true
                id: a1b2c3d4-...
                settlementReadiness:
                  totalInstallations: 59
                  readyForSettlement: 52
                  readinessPercent: 88.1
                  blockedInstallations: 7
                riskAssessment:
                  riskLevel: medium
                  estimatedLostCompensationEur: 28500
                  curtailmentGWh: 4.8
                  blockedFractionPercent: 11.9
                summary:
                  findingsCount:
                    info: 5
                    warning: 9
                    error: 4
                  durationMs: 12800
        '202':
          description: REST/Gateway call accepted as async job. Poll /api/jobs/:jobId/status and /api/jobs/:jobId/result.
          content:
            application/json:
              example:
                success: true
                jobId: f8d2d8d4-4f22-4a0a-bec7-a9f05ad6b9e6
                status: queued
                statusUrl: /api/jobs/f8d2d8d4-4f22-4a0a-bec7-a9f05ad6b9e6/status
                resultUrl: /api/jobs/f8d2d8d4-4f22-4a0a-bec7-a9f05ad6b9e6/result
      description: 'Executes a deterministic 7-step Redispatch 2.0 Ex-Post settlement audit for a VNB: VNB identity → portfolio inventory (≥100 kW) → master data validation → Netztransparenz curtailment correlation → settlement readiness → financial risk assessment → audit trail. Returns settlementReadiness (% of installations ready for A96 settlement) and riskAssessment (estimated lost compensation in €). No LLM involvement — identical inputs always produce identical finding codes. Steps 3–6 can be skipped via the skipSteps parameter; steps 1, 2, and 7 are mandatory.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                gridOperatorId:
                  type: string
                  description: MaStR grid operator ID (SNB.../GNB...)
                  example: SNB935578300972
                gridOperatorBdew:
                  type: string
                  description: 13-digit BDEW market-partner code
                  example: '9907473000008'
                gridOperatorName:
                  type: string
                  description: Grid operator name (fuzzy match)
                  example: STROMDAO Netze
                dateFrom:
                  type: string
                  format: date
                  description: Start of audit period (ISO date) for Netztransparenz correlation
                  example: '2026-01-01'
                dateTo:
                  type: string
                  format: date
                  description: End of audit period (ISO date) for Netztransparenz correlation
                  example: '2026-03-31'
                datapointTags:
                  type: array
                  items:
                    type: string
                  description: Tags for Weg B datapoint fallback (portfolio data)
                  example:
                  - stromdao-netze
                  - redispatch-portfolio
                maxAgeMinutes:
                  type: integer
                  default: 120
                  description: Datapoint freshness threshold in minutes (Weg B)
                skipSteps:
                  type: array
                  items:
                    type: integer
                  description: 'Steps to skip (valid: 3–6; steps 1, 2, 7 are mandatory)'
                  example:
                  - 4
                avgCompensationEurPerMWh:
                  type: number
                  default: 50
                  description: Average Redispatch compensation rate in €/MWh for risk calculation
                token:
                  type: string
                  description: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.
            examples:
              By MaStR ID, full quarter:
                value:
                  gridOperatorId: SNB935578300972
                  dateFrom: '2026-01-01'
                  dateTo: '2026-03-31'
              By BDEW, skip curtailment:
                value:
                  gridOperatorBdew: '9907473000008'
                  skipSteps:
                  - 4
              Weg B — use tagged datapoint:
                value:
                  gridOperatorId: SNB935578300972
                  datapointTags:
                  - stromdao-netze
                  - redispatch-portfolio
                  maxAgeMinutes: 60
                  dateFrom: '2026-01-01'
                  dateTo: '2026-03-31'
      x-operation-id-source: normalized
      x-operation-id-original: redispatch_expost_audit
  /api/redispatch/audits:
    get:
      summary: List past Redispatch Ex-Post audit reports
      tags:
      - Redispatch Ex-Post
      operationId: getApiRedispatchAudits
      parameters:
      - name: gridOperatorId
        in: query
        schema:
          type: string
          example: SNB935578300972
        description: Filter by MaStR grid operator ID
      - name: limit
        in: query
        schema:
          type: integer
          default: 20
          maximum: 100
        description: Maximum number of results
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          example: eyJvZmZzZXQiOjIwfQ==
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          example: 0
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: List of audit report summaries
          content:
            application/json:
              example:
                count: 2
                audits:
                - id: '...'
                  gridOperator:
                    name: STROMDAO Netze
                  settlementReadiness:
                    readinessPercent: 88.1
                  riskAssessment:
                    riskLevel: medium
                  createdAt: 2026-03-31T...
      description: Returns audit reports stored in PouchDB, newest first. Filter by gridOperatorId.
      x-operation-id-source: normalized
      x-operation-id-original: redispatch_expost_list
  /api/redispatch/audits/:id:
    get:
      summary: Get a specific Redispatch Ex-Post audit report by ID
      tags:
      - Redispatch Ex-Post
      operationId: getApiRedispatchAudits:id
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          example: a1b2c3d4-1234-5678-90ab-cdef12345678
        description: Audit report UUID
      - $ref: '#/components/parameters/TokenQuery'
      responses:
        '200':
          description: Full RedispatchAuditReport document
        '404':
          description: Audit report not found
      description: Returns the full RedispatchAuditReport document including all findings.
      x-operation-id-source: normalized
      x-operation-id-original: redispatch_expost_get
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.'