---
title: "Fill gaps in timeseries with replacement values"
method: POST
path: "/api/edm-validation/validate/:meloId/fill-gaps"
tags: ["EDM (Energiedatenmanagement)"]
---

# Fill gaps in timeseries with replacement values

`POST /api/edm-validation/validate/:meloId/fill-gaps`

## Request

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

## Query parameters

- `token` string

## Request body

- object
  - `meloId` string, required
  - `obis` string
  - `from` string, required
  - `to` string, required
  - `method` 'interpolate' | 'previous_day' | 'slp' | 'auto'
  - `slpProfileId` string
  - `annualConsumptionKwh` number
  - `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)
