{"uid":"cap_b-uvdA4NZgOltF1Z5URDo","slug":"delx-commerce-tool-permission-audit-d6e402e5","name":"Delx Commerce — Tool Permission Audit","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/tool-permission-audit?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"allowed":{"type":"array","description":"Input field: allowed."},"requested":{"type":"array","description":"Input field: requested."}}},"responseSchema":{"type":"json","example":{"denied":["deploy"],"schema":"delx/util-tool-permission-audit/v1","permitted":false,"requested_count":2,"allowed_requested":["read"],"least_privilege_advisory":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BMCtOYqZidtsp7XkLhr5-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Audits a list of requested tool permissions against an allowed set, returning which are permitted or denied and whether least-privilege principles are satisfied.","exampleAgentPrompt":"Before the agent calls the deploy tool, check whether its requested permissions — 'read' and 'deploy' — are within the allowed set of just 'read', and tell me if it passes the least-privilege check.","exampleUseCases":[{"title":"Pre-execution permission gate for agent","prompt":"My agent is about to run a file-write tool and is requesting 'write' and 'read' permissions, but I've only allowed 'read'. Can you audit that against the allowed list and tell me what gets denied?"},{"title":"Least-privilege compliance check","prompt":"I want to make sure my automation agent isn't requesting more permissions than it needs — it's asking for 'read', 'execute', and 'admin', but only 'read' and 'execute' are allowed. Run a permission audit and flag any least-privilege violations."},{"title":"Multi-tool access review before deployment","prompt":"Before I deploy this agent fleet, check whether the tools requesting 'deploy', 'read', and 'write' permissions are all within the allowed scope of 'read' and 'write', and tell me which ones would be blocked."}],"resultDescription":"Returns a JSON object indicating whether the overall request is permitted, which specific permissions were denied, the intersection of allowed and requested permissions, the total count of requested permissions, and a boolean least-privilege advisory flag indicating whether the request exceeds minimum necessary access.","failureModes":["Missing or malformed 'allowed' or 'requested' arrays returns a validation error","Empty arrays may return trivially permitted or denied results without useful advisory","Payment failure via x402 results in 402 response before audit is performed","Unrecognized permission strings may be silently treated as denied"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call permission audit that requires no signup, integrates directly into agent pipelines via x402 micropayments, and produces a structured, verifiable result including a least-privilege advisory — especially when enforcing access control for AI agent tool calls at runtime.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:43:26.771Z","isFirstParty":false,"canonicalSlug":"delx-commerce-tool-permission-audit-d6e402e5"}