{"uid":"cap_oSu6K9F01TiNtNAM4DAnY","slug":"gateway-apiosk-com-trust-checks-policy-b5c5ac3d","name":"gateway.apiosk.com Trust-Checks Policy","description":"Check an intended action — vendor, amount and category — against a spend policy (max amount, allowed/blocked vendors, allowed/blocked categories) before money moves. Returns allowed=false with reasons when any rule is violated.","url":"https://gateway.apiosk.com/trust-checks/policy","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.077","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dkylbozfI7JcT2lDJtZLH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates a proposed action against a configurable policy to determine if it is allowed, returning reasons for any denial.","exampleAgentPrompt":"Before I let you pay Acme Corp $150 for a software subscription, run a trust-check against my policy to see if that amount and vendor are allowed — my agent ID is agent-42 and the category is 'software'.","exampleUseCases":null,"resultDescription":"Returns a JSON object with an 'allowed' boolean, an 'ok' status flag, a list of human-readable 'reasons' explaining any denials (e.g. 'Amount exceeds max_amount of 100', 'Vendor is blocked'), and the endpoint name 'policy'.","failureModes":["Missing required fields returns a validation error","Policy object malformed or empty may cause unexpected allow/deny behavior","Blocked vendor name must exactly match policy configuration or check may pass incorrectly","Amount field as string instead of number may cause type errors","Network timeout from gateway returns HTTP 5xx"],"whenToPreferThis":"Use this endpoint when an AI agent needs to gate actions — especially payments or vendor interactions — against a predefined policy before execution. Prefer this over manual rule checks when you need structured denial reasons and a clear allowed/denied signal that can be logged or acted upon programmatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:00:29.989Z","isFirstParty":false}