{"uid":"cap_deScf4J2r91K5C6bsFAls","slug":"agent-security-gateway-schema-drift-check-3b7514ce","name":"Agent Security Gateway – Schema Drift 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/schema/drift-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":["dangerous_new_fields: ['admin_token']"],"decision":"block","primitive":"schema-drift-check","risk_level":"high","recommended_action":"reject_schema_update"}},"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_hXo71wmoLQvjxfcfrhpOR","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":"Detects dangerous or unexpected field additions in API response content to prevent schema drift attacks against AI agents","exampleAgentPrompt":"Before I process this tool response, run a schema drift check on it — the response content is '{\"user\":\"alice\",\"admin_token\":\"sk-xxx\"}' from the 'user-lookup' tool (agent ID: agent-42) — flag any dangerous new fields that weren't expected.","exampleUseCases":null,"resultDescription":"Returns a JSON object with an 'allow' boolean, a 'decision' field ('allow' or 'block'), a 'risk_level' ('high', 'medium', 'low'), a list of 'reasons' explaining what was flagged (e.g. 'dangerous_new_fields: [admin_token]'), and a 'recommended_action' (e.g. 'reject_schema_update'). The 'primitive' field identifies this as a 'schema-drift-check' operation.","failureModes":["Missing required 'response_content' field returns a 400 validation error","Malformed JSON in response_content may cause parsing failures","Service unavailability on render.com free tier may cause timeouts or cold-start delays","Payment failure via x402/USDC may prevent request from being processed","Empty response_content may produce low-confidence or trivially 'allow' results"],"whenToPreferThis":"Use this endpoint when an AI agent receives a response from an external tool or API and needs to verify that no unexpected or dangerous fields (like auth tokens, admin keys, or privilege escalation vectors) have been added before acting on the response. Particularly valuable in autonomous agent pipelines where tool outputs are trusted and schema drift could be exploited as an attack vector.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:45:07.345Z","isFirstParty":false}