{"slug":"api-fadeandco-workers-dev-api-agent-intel-agent-json-schema-a9eac7","title":"Checks an agent's JSON output against a JSON Schema (draft 2020-12 keywords","host":"api.fadeandco.workers.dev","method":"POST","resource":"https://api.fadeandco.workers.dev/api/agent-intel/agent-json-schema-guard","category":"code","description":"Checks an agent's JSON output against a JSON Schema (draft 2020-12 keywords: type, properties, required, additionalProperties, items, enum, const, length, pattern, minimum/maximum, item counts). Returns valid yes/no, each error with its path and the value with disallowed fields removed. $ref, allOf/","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":36,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:10","eip155:137","eip155:143","eip155:42161","eip155:42220","eip155:480","eip155:5042","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","stellar:pubnet","xrpl:0"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"schema":{"additionalProperties":false,"properties":{"age":{"minimum":0,"type":"integer"},"name":{"maxLength":40,"type":"string"}},"required":["name"],"type":"object"},"value":{"age":36,"extra":"remove me","name":"Ada"}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"schema":{"description":"The JSON Schema","type":"object"},"value":{"description":"The JSON value to check (any JSON)"}},"required":["schema","value"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":36,"error":null}],"description_full":"Checks an agent's JSON output against a JSON Schema (draft 2020-12 keywords: type, properties, required, additionalProperties, items, enum, const, length, pattern, minimum/maximum, item counts). Returns valid yes/no, each error with its path and the value with disallowed fields removed. $ref, allOf/anyOf/oneOf, if/then and format return an error instead of passing silently.","last_updated":"2026-10-23T22:40:29.062Z","schemes":["exact"]}