---
title: "Llm Classify Repair"
method: POST
path: "/api/v1/gm/llm-classify-repair"
tags: ["gm", "gm"]
---

# Llm Classify Repair

`POST /api/v1/gm/llm-classify-repair`

## Request

- Base URL: `https://app.goodleads.club` (the document declares no server; this is the origin it was published from)
- URL: `https://app.goodleads.club/api/v1/gm/llm-classify-repair`
- Auth: API key in header `X-API-Key`

Restore classifications lost to the pre-guard downgrade path.

One-shot maintenance for the GL-FL-132667 incident shape: entities whose
confident (paid) LLM classification was overwritten with unknown /
'llm_unclassifiable' while their method='llm_classify' SIC/NAICS rows
survived. Reverse-maps the surviving codes through the taxonomy and
restores sector/industry/tier at conservative confidence — no LLM spend.
Use dry_run=true to count the damage first.

## Request body

- LLMClassifyRepairRequest
  - `state` string, required
  - `dry_run` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/goodleads/apis/formation-gtm-api.md) · [All operations](https://skmtc.dev/goodleads/apis/formation-gtm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/goodleads/apis/formation-gtm-api/revisions/2068d13a82cf?raw)
