{"slug":"api-s2ar-dev-x402-v1-assert-cdac2a","title":"Assert an agent's output — JSON schema, terms, lengths, citations, quotes in a s","host":"api.s2ar.dev","method":"GET","resource":"https://api.s2ar.dev/x402/v1/assert","category":"code","description":"Assert an agent's output — JSON schema, terms, lengths, citations, quotes in a source; a signed record. GET ?text=&checks=","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":657,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"checks":"[{\"check\":\"json_valid\"},{\"check\":\"required_keys\",\"keys\":[\"summary\",\"source_url\"]},{\"check\":\"citations_present\",\"min\":1}]","text":"{\"summary\": \"The glob flag is parsed in defs.rs\", \"source_url\": \"https://github.com/BurntSushi/ripgrep\"}"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":{"type":"string"},"properties":{"checks":{"description":"the checks; on GET, a JSON list in one parameter","type":"string"},"rubric":{"description":"a named check list; `schema`, `domains` fill its slots","type":"string"},"schema":{"description":"for json_schema / api-response","type":"string"},"source":{"description":"the source for quotes_in_source","type":"string"},"text":{"description":"the output to assert (or `json`, an object)","type":"string"}},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","queryParams"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":657,"error":null}],"description_full":"Assert an agent's output — JSON schema, terms, lengths, citations, quotes in a source; a signed record. GET ?text=&checks=","last_updated":"2026-10-10T03:16:35.776Z","schemes":["exact"]}