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

# Llm Classify

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

## 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`
- Auth: API key in header `X-API-Key`

Run the LLM second pass over the unclassified residue.

The classifier + TROOP prompt live under agents/ — the optional agent
layer, which the pipeline reaches only over HTTP (never by import).
Scopes to a manifest's entities when given, else the whole state. No-op
(returns residue=0) unless enable_llm_classification + an OpenAI key are set.

## Request body

- LLMClassifyRequest
  - `state` string, required
  - `manifest_id` string, nullable
  - `dry_run` boolean
  - `max_calls` integer, nullable

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