{"uid":"cap_J_CUd4SAltPGyFmbchtMH","slug":"verity-suite-agent-action-guardrail-check-c29bed47","name":"Verity Suite – Agent Action Guardrail Check","description":"The trust fabric for AI agents — calibrated, fail-closed services agents pay per call.","url":"https://suite.veritylayer.dev/check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"action":{"type":"string","title":"Action","maxLength":2000,"minLength":1,"description":"the action the agent is about to take"},"policy":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Policy","default":null,"description":"rules that must not be violated"},"context":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Context","default":null,"description":"situation/background"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","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.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NyhCd_UvNgXq-0byjSQFt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates an AI agent's proposed action against optional policy rules and context, returning a calibrated allow/review/block decision with risk score and signed receipt.","exampleAgentPrompt":"Before I go ahead and delete all the inactive user accounts from the database, run a guardrail check on that action against my policy that says 'never perform bulk destructive operations without human approval' and let me know if it's safe to proceed.","exampleUseCases":[{"title":"Pre-execution safety gate for autonomous agents","prompt":"My agent is about to send a bulk email to 50,000 users announcing a price increase — check that action against my policy that prohibits mass communications without legal sign-off and tell me whether to allow, review, or block it."},{"title":"Financial transaction risk check","prompt":"Before my trading agent submits a market sell order for $200,000 of ETH, validate that action against the rule 'no single trade may exceed $50,000 without human confirmation' and give me a risk score."},{"title":"Code execution guardrail with audit receipt","prompt":"My coding agent wants to run 'rm -rf /var/app/data' on the production server — check whether that's safe given the context that we're in a live environment, and give me a signed receipt I can keep for the audit log."}],"resultDescription":"A JSON object with: `decision` (allow, review, or block), `risk` (0.0–1.0 float), `reasons` (array of strings explaining the decision), `concerns` (array of specific risks noted), `safer_alternative` (a suggested safer path if blocked or flagged, or null), and `receipt` (an Ed25519-signed VerityLayer receipt object for audit purposes, or null if signing is not configured).","failureModes":["Missing required `action` field returns a validation error","Action or policy strings exceeding 2000 characters are rejected","Network timeout if the service is unavailable (fail-closed design means agents should treat timeouts as implicit blocks)","Invalid HTTP method (only POST/PUT/PATCH accepted for the inner body type)","Insufficient USDC balance causes payment failure before the check executes"],"whenToPreferThis":"Choose this endpoint when you need a calibrated, fail-closed guardrail layer before an autonomous agent executes a consequential or irreversible action — especially when you need auditable, cryptographically signed receipts of the gate decision. It is particularly well-suited for multi-agent pipelines where human oversight is impractical at every step, or where policy compliance must be demonstrable. Prefer it over rule-based filters when the action space is open-ended and requires semantic risk assessment rather than simple keyword matching.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:38:38.402Z","isFirstParty":false}