---
title: "Re-render an existing report from cached data"
method: POST
path: "/api/utility-report/rebuild/:reportId"
tags: ["Utility Report"]
---

# Re-render an existing report from cached data

`POST /api/utility-report/rebuild/:reportId`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/utility-report/rebuild/:reportId`
- Auth: none declared

Reads the stored `.progress.json` for the given reportId and re-runs `buildHtmlReport()` to overwrite the `.html` file. Instant – no MCP calls needed. Useful after a report-builder bug fix to refresh already-generated reports.

## Path parameters

- `reportId` string, required

## Query parameters

- `token` string

## Request body

- object: No request body required for this endpoint.
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `200`

Report re-rendered successfully

## Other responses

- `404`: No progress data found for reportId
- `409`: Report pipeline has not completed yet

---

[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)
