{"uid":"cap_Ans1F1aXdORzcX8zBTelT","slug":"claw-in-a-box-spend-policy-guard-63bac98a","name":"Claw-in-a-Box Spend Policy Guard","description":"Spend-policy verdict for AI agents: POST a proposed spend, get allow/review/deny with the exact rules that fired (per-tx caps, per-agent daily ledger, destination allowlists, time windows) - 'review' can page a human on Telegram for approval before the agent proceeds. Pay per call.","url":"https://api.clawinabox.xyz/paid/v1/guard/check","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["agent_id","amount"],"properties":{"wait":{"type":"boolean","description":"if the verdict is 'review', block until a human approves/denies on Telegram (default 120s timeout)"},"amount":{"type":"number","description":"proposed spend amount"},"policy":{"type":"string","description":"preset name (conservative|standard|permissive) or inline policy object"},"agent_id":{"type":"string","description":"stable id of the spending agent (per-agent daily ledger)"},"destination":{"type":"string","description":"optional payee / merchant identifier checked against allowlists"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_E7yZwyLT6qITYB3_aYNPh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates a proposed spend action against a configured spend policy and returns a verdict (allow/deny) in real time","exampleAgentPrompt":"Before I submit this $45 payment to 'StreamFlix' under the entertainment category, run it through the Claw-in-a-Box spend-policy guard and tell me if it gets an allow or deny verdict.","exampleUseCases":null,"resultDescription":"A verdict object indicating whether the proposed spend action is allowed or denied under the configured policy, along with the matched rule or reason for the decision.","failureModes":["Invalid or malformed JSON body returns 4xx error","Missing required spend fields causes validation rejection","Policy not configured or misconfigured returns error verdict","Payment of $0.01 USDC required per call; unpaid requests return 402 Payment Required","Network timeout may cause no verdict to be returned"],"whenToPreferThis":"Use this endpoint when you need a real-time pre-spend policy verdict before executing a payment or authorizing a transaction, especially in agentic or automated workflows where enforcing spend rules programmatically is required. Prefer this over manual rule checks or post-hoc auditing when you need an instant allow/deny gate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:33:02.113Z","isFirstParty":false}