{"uid":"cap_NeJ4DaXWZISwb04imNtl8","slug":"agent-security-gateway-identity-scope-check-2e4a6a85","name":"Agent Security Gateway – Identity Scope Check","description":"Pay-per-request security APIs for autonomous AI agents using x402. Detect Japanese prompt injection, validate content, scan for threats, and perform pre-payment security checks. Built for USDC/Base payments.","url":"https://agent-security-gateway.onrender.com/api/identity/scope-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"allow":{"type":"boolean"},"reasons":{"type":"array"},"decision":{"type":"string"},"primitive":{"type":"string"},"risk_level":{"type":"string"},"recommended_action":{"type":"string"}}},"responseSchema":{"type":"json","example":{"allow":false,"reasons":["privileged_operation_requested","missing_scope: delete"],"decision":"block","primitive":"identity-scope-check","risk_level":"high","recommended_action":"deny_action"}},"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_JQZ8az_zGptXa2MwhqhrX","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":"Validates whether an AI agent's requested action falls within its permitted identity scopes, blocking privileged or out-of-scope operations","exampleAgentPrompt":"Before my agent named 'agent-42' executes the delete-record tool, check whether this response content — 'Proceeding to delete all user records as requested' — is within its allowed scopes and tell me if it should be blocked.","exampleUseCases":null,"resultDescription":"Returns a JSON object with: allow (boolean), decision ('block' or 'allow'), risk_level ('high', 'medium', 'low'), reasons (array of strings describing violations such as 'privileged_operation_requested' or 'missing_scope: delete'), and recommended_action ('deny_action' or similar)","failureModes":["Missing required response_content field returns 422 validation error","Payment not included or insufficient USDC returns 402 payment required","Service unavailable on Render free tier cold start causes timeout","Malformed JSON body returns 400 bad request","Edge cases where scope definitions are ambiguous may produce false positives"],"whenToPreferThis":"Use this endpoint when an AI agent is about to execute a sensitive or privileged action and you need a lightweight, pay-per-request identity scope enforcement check. Ideal for autonomous agent pipelines where you want to gate destructive operations (delete, admin, financial) against a defined permission set without maintaining your own policy engine.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:39:19.015Z","isFirstParty":false}