{"partialResults":false,"resources":[{"accepts":[{"amount":"10000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0xecE637d74aB1a000abcf69956e22f1131501ae8b","scheme":"exact"}],"description":"Deterministic pre-flight policy check for AI agent actions, run by a Prolog rule engine (SWI-Prolog), no LLM. POST JSON {profile: baseline or strict, context: {workdir, home, sandboxed}, actions: 1-20 of read, write, delete, exec, network, pay, self_modify}; returns {policy, results, summary, checked_rules}: one verdict per action (allowed, refused, needs_review) with the rules that decided it. Same input, same output. Checks the actions it is sent; does not enforce them. Typically under 1 s.","extensions":{"bazaar":{"info":{"input":{"body":{"actions":[{"change":"lower","control":"sandbox","type":"self_modify"}],"context":{"home":"/home/dev","sandboxed":true,"workdir":"/home/dev/project"},"profile":"baseline"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"checked_rules":11,"policy":"baseline v1.0","results":[{"action":{"change":"lower","control":"sandbox","type":"self_modify"},"index":0,"notes":[],"verdict":"refused","violations":[{"because":["self_modify of control sandbox with change lower","rule no_self_modify_lowering: no protection (sandbox, network allowlist, hooks, permissions, audit log) is lowered (profile baseline)"],"rule":"no_self_modify_lowering"}]}],"summary":{"allowed":0,"needs_review":0,"refused":1}},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"description":"Policy request: a profile (baseline or strict), a context (workdir, home, sandboxed) and 1-20 actions. Limits: 262144 characters in all and 2048 per string; larger requests are rejected with HTTP 400.","properties":{"actions":{"items":{"properties":{"amount_usd":{"type":"number"},"change":{"enum":["lower","raise"],"type":"string"},"command":{"maxLength":2048,"type":"string"},"control":{"enum":["sandbox","network_allowlist","hooks","permissions","audit_log"],"type":"string"},"host":{"maxLength":2048,"type":"string"},"network":{"maxLength":2048,"type":"string"},"recipient":{"maxLength":2048,"type":"string"},"target":{"maxLength":2048,"type":"string"},"type":{"enum":["read","write","delete","exec","network","pay","self_modify"],"type":"string"}},"required":["type"],"type":"object"},"maxItems":20,"minItems":1,"type":"array"},"context":{"properties":{"home":{"maxLength":2048,"type":"string"},"sandboxed":{"type":"boolean"},"workdir":{"maxLength":2048,"type":"string"}},"required":["workdir","sandboxed"],"type":"object"},"profile":{"enum":["baseline","strict"],"type":"string"}},"required":["profile","context","actions"],"type":"object"},"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"}}},"lastUpdated":"2026-11-17T13:59:19.432Z","quality":{"l30DaysTotalCalls":3,"l30DaysUniquePayers":2,"lastCalledAt":"2026-11-17T13:59:18.934Z"},"resource":"https://api.x402ai.dev/api/policy-check","serviceName":"x402ai","tags":["policy-check","agent-safety","guardrails","ai-agents","prolog"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"avhzx5wszvb2uaa"}}
