---
title: "Validate timeseries data and optionally auto-fix gaps"
method: POST
path: "/api/edm-validation/validate"
tags: ["EDM (Energiedatenmanagement)"]
---

# Validate timeseries data and optionally auto-fix gaps

`POST /api/edm-validation/validate`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/edm-validation/validate`
- Auth: none declared

Runs validation rules against a timeseries range. Returns findings per rule with severity. If autoFix=true, generates replacement values for gaps and writes them to EDM.

## Query parameters

- `token` string

## Request body

- object
  - `meloId` string, required
  - `obis` string
  - `from` string, required
  - `to` string, required
  - `rules` string[]
  - `capacityKw` number
  - `autoFix` boolean
  - `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)
