{"uid":"cap_j1oXvA-TYxWcsQEv-yTcC","slug":"cyre-guardian-policy-check-c24cd633","name":"CYRE Guardian Policy Check","description":"Guardian Policy Check — test a proposed pay (amount, host, network, risk) against a sealed spend-policy token. Returns ok + reasons. Patterns, not verdicts. Agent guide: https://cyre.dev/SKILL.md","url":"https://cyre.dev/api/policy/check","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["token"],"properties":{"token":{"type":"string"},"resourceUrl":{"type":"string"},"amountAtomic":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FZbh7LUyRTvB0iq4iIFrB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Tests a proposed payment (amount, host, network, risk) against a sealed spend-policy token and returns an ok/fail verdict with pattern-based reasons","exampleAgentPrompt":"Before you pay that x402 resource, check my sealed spend policy token to see if a 500000 atomic USDC payment to https://api.someservice.com via GET is actually allowed — run it through CYRE Guardian and tell me if it's ok and why.","exampleUseCases":[{"title":"Pre-payment policy gate for autonomous agent","prompt":"Before my agent pays any x402 skill on Agentic Market, I want you to check the proposed payment of 1000 atomic units to that resource URL against my guardian policy token — confirm it's within policy before proceeding."},{"title":"Spend-limit enforcement for AI expense control","prompt":"My spend policy only allows payments under 50000 atomic USDC per host — can you run this proposed 45000 atomic payment to https://data.provider.com through my guardian policy token and confirm it passes?"},{"title":"Network and risk compliance check before settlement","prompt":"I have a sealed policy token that restricts payments by network and risk score — check whether this 200000 atomic payment to the Base network host fits within my policy before we settle it."}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating whether the proposed payment passes the sealed policy, plus an array of pattern-based reasons explaining which policy rules were matched or violated (amounts, hosts, networks, risk thresholds). Does not issue verdicts — returns patterns and signals for the agent to act on.","failureModes":["Missing or invalid token parameter returns an error — token must be a valid sealed spend-policy token","Invalid amountAtomic format (non-numeric string) may cause parse errors","resourceUrl not matching any policy pattern returns ok:false with pattern reasons","Network or host not covered by the policy token returns a non-ok result","Expired or tampered policy token returns an authentication/validation failure","Unsupported HTTP method (only GET, HEAD, DELETE allowed) returns a schema validation error"],"whenToPreferThis":"Use this endpoint when an AI agent needs to enforce a pre-configured spend policy before executing any x402 payment — particularly when the policy is sealed into a token and you want pattern-based compliance checking rather than ad-hoc risk scoring. Prefer this over CYRE Guardian Lockbox Match when you don't have a pre-pay lockbox/intentHash and just need to check a proposed payment against standing spend rules. Prefer over Guardian Pay-route Oracle when the decision is policy-compliance (not counterparty risk) focused.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:32:03.573Z","isFirstParty":false}