# modell.halowerk.com Output Validator

> modell.halowerk.com Output Validator is a paid API for AI agents from modell.halowerk.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Validates LLM output against a JSON Schema (Draft 2020-12 or draft-07), reporting each violation with its JSON path, the broken rule, and a fix suggestion, while also unwrapping code-fenced or prose-wrapped model responses before validation.

## Facts

- Endpoint: POST https://modell.halowerk.com/v1/output-validate?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/modell-halowerk-com-output-validator-4863f9da
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S08PFA1DepCkPcnkipckm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability modell-halowerk-com-output-validator-4863f9da -d '<json body>'
```

Example prompt: Validate this raw model response against my JSON Schema — the response might be wrapped in a code fence — and tell me every violation with the JSON path, which rule it broke, and what I should change to fix it.

## When to prefer this

Choose this endpoint when you need to validate raw or code-fenced LLM output against a JSON Schema and want per-violation detail (JSON path + rule + fix hint) rather than a simple pass/fail. Especially useful when model responses may be wrapped in markdown or prose that needs stripping before validation. Supports both Draft 2020-12 and draft-07, making it suitable for modern and legacy schema use cases. Prefer this over generic JSON validators when working in an agentic pipeline where the model output format is unpredictable.

## Known failure modes

- Invalid or malformed JSON Schema provided — returns schema parse error
- Model output cannot be unwrapped to valid JSON — returns parse failure before schema validation
- Unsupported JSON Schema draft version — only Draft 2020-12 and draft-07 are supported
- Empty or missing payload — returns validation error on the request itself
- Network timeout for very large payloads

## How this service works

Validates output against a JSON Schema and reports each violation with its JSON path, the rule it broke and a sentence saying what to change. Accepts either a parsed object or the raw string a model returned: a payload wrapped in a code fence or surrounded by prose is unwrapped, and the wrapping is reported separately from schema errors so you fix the right layer. Draft 2020-12 and draft-07 are both supported, along with the common string formats.

## Output

A structured report listing each schema violation with its JSON path, the specific schema rule that was broken, and a plain-language sentence describing what to change. If the model output was wrapped in a code fence or prose, the unwrapping is reported separately from the schema errors so the caller can address formatting and schema problems independently.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "output": {
   "description": "The model answer, as a parsed JSON value. Either this or output_text."
  },
  "schema": {
   "type": "object",
   "description": "JSON Schema to validate against."
  },
  "all_errors": {
   "type": "boolean",
   "default": true,
   "description": "Report every violation instead of stopping at the first."
  },
  "output_text": {
   "type": "string",
   "maxLength": 400000,
   "description": "The raw answer as text. Code fences and surrounding prose are stripped."
  },
  "suggest_repairs": {
   "type": "boolean",
   "default": true,
   "description": "List repairable problems (defaultable missing fields, extra fields)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/modell-halowerk-com-output-validator-4863f9da/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from modell.halowerk.com](https://www.zero.xyz/host/modell.halowerk.com/llms.txt)
