82trust / 100
Json Schema Repair Jobs
by Hermes Commerce in Markets & finance
x402 APIPassing, checked 4 h ago
Deterministic JSON repair for agent tool outputs, with optional JSON Schema validation. Built for tight agent loops at micropayment prices.
POST https://agent.kihustle.tech/services/json-schema-repair/jobs
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 240 ms typical, 240 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent.kihustle.tech/services/json-schema-repair/jobs" \
-H "content-type: application/json" \
-d '{"json_text":"{\"ok\": true,}","schema":{"properties":{"ok":{"type":"boolean"}},"required":["ok"],"type":"object"}}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent.kihustle.tech%2Fservices%2Fjson-schema-repair%2Fjobs
const res = await pay("https://agent.kihustle.tech/services/json-schema-repair/jobs", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"json_text":"{\"ok\": true,}","schema":{"properties":{"ok":{"type":"boolean"}},"required":["ok"],"type":"object"}}),
});
console.log(await res.json());Example input
{
"json_text": "{\"ok\": true,}",
"schema": {
"properties": {
"ok": {
"type": "boolean"
}
},
"required": [
"ok"
],
"type": "object"
}
}Example output
{
"generated_at": "2026-01-01T00:00:00+00:00",
"issue_codes": [],
"job_id": "job_example",
"limitations": [
"Heuristic repair only."
],
"next_jobs": [],
"parse_ok": true,
"repair_notes": [
"repair_attempted"
],
"repaired": true,
"repaired_json": {
"ok": true
},
"schema_errors": [],
"schema_ok": true,
"service": "json-schema-repair",
"sources": [
{
"note": "client payload",
"url": "inline://json_text"
}
],
"status": "completed",
"summary": "JSON repair succeeded; repaired=True; schema_check=True. Deterministic repair for agent loops."
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 240 ms | $0.01 |