modell.halowerk.com/v1/output-validate
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 bo
POST
https://modell.halowerk.com/v1/output-validateUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://modell.halowerk.com/v1/output-validate", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"output":{"born":1815,"name":"Ada Lovelace"},"schema":{"properties":{"born":{"type":"integer"},"name":{"type":"string"}},"required":["name","born"],"type":"object"}}),
});
console.log(await res.json());Example input
{
"output": {
"born": 1815,
"name": "Ada Lovelace"
},
"schema": {
"properties": {
"born": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"born"
],
"type": "object"
}
}