{"uid":"cap_9Z-r7o1mhMO3j0gRxdpVE","slug":"cyre-guardian-spend-policy-token-6816b2b8","name":"CYRE Guardian Spend Policy Token","description":"Guardian Spend Policy — seal max spend, allow/deny hosts, networks, and risk ceiling into a signed policy token other agent middleware can enforce. Patterns, not verdicts. Agent guide: https://cyre.dev/SKILL.md","url":"https://cyre.dev/api/policy","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":["actor"],"properties":{"actor":{"type":"string"},"maxSpendAtomic":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-6_fJx5Cf1m467S_5k8mq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a signed policy token that seals max spend limits, allowed/denied hosts, networks, and a risk ceiling into a portable enforcement artifact for agent middleware.","exampleAgentPrompt":"Create a signed CYRE Guardian spend policy for actor 0xAbc123 with a max spend of 5000000 atomic units, so my downstream middleware can enforce it.","exampleUseCases":[{"title":"Cap autonomous agent wallet spending","prompt":"Generate a Guardian spend policy token for my agent at address 0xAbc123 with a maximum spend of 1000000 atomic units — I want middleware to enforce this ceiling before any payment goes through."},{"title":"Restrict agent to approved payment hosts","prompt":"Seal a spend policy for actor 0xDef456 that only allows payments to whitelisted hosts and blocks everything else, with a max spend cap of 500000 atomic units."},{"title":"Set risk ceiling for DeFi agent","prompt":"Create a signed CYRE Guardian policy for actor 0x789Ghi that encodes a risk ceiling so my agent's middleware will block any transaction above our approved risk threshold."}],"resultDescription":"A signed policy token encoding the actor's max spend (in atomic units), host allow/deny patterns, permitted networks, and risk ceiling. This token is consumed by downstream agent middleware as an enforcement artifact — it carries patterns, not verdicts, so middleware makes the final call.","failureModes":["Missing required 'actor' query parameter returns an error","Invalid or unrecognized actor address format causes rejection","Payment of 0.002 USDC not received results in HTTP 402 and no token issued","Malformed maxSpendAtomic value (non-numeric string) may cause parsing error","Network timeout or service unavailability returns 5xx error"],"whenToPreferThis":"Use this endpoint when you need a portable, signed enforcement artifact that downstream middleware or agent orchestrators can consume to gate payments — specifically when you want to encode spend ceilings, host patterns, and risk ceilings into a single token rather than enforcing rules ad hoc in your agent logic. Prefer this over runtime risk checks when you want pre-committed, tamper-evident spend policies that travel with the agent context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:43:42.980Z","isFirstParty":false}