---
title: "Repair project JSON"
method: POST
path: "/api/render/repair/api-key"
tags: ["Authoring"]
---

# Repair project JSON

`POST /api/render/repair/api-key`

## Request

- Base URL: `https://api.zvid.io`
- URL: `https://api.zvid.io/api/render/repair/api-key`
- Auth: API key in header `x-api-key`

Free conservative mechanical repairs. Inspect changes and remainingErrors, then run remote validation. No render or credit reservation.

## Request body

- object
  - `payload` object, required

## Response `200`

Successful response

- RepairResponse
  - `schemaVersion` string
  - `sourceOfTruth` string
  - `planLimits` object
  - `repaired` object, required
  - `changes` object[], required
  - `valid` boolean, required
  - `remainingErrors` object[], required
  - `warnings` object[], required

## Other responses

- `400`: Invalid input or semantic validation error
- `401`: Missing or invalid credentials
- `404`: Not found for this account
- `500`: Server error

---

[API](https://skmtc.dev/zvid/apis/zvid-api.md) · [All operations](https://skmtc.dev/zvid/apis/zvid-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zvid/apis/zvid-api/revisions/8a665b293b37?raw)
