{"uid":"cap_WTPOQljg4B8fPCMB8LHDj","slug":"agent-security-gateway-list-count-validation-check-738d27ec","name":"Agent Security Gateway – List Count Validation 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/validate/list_check","method":"POST","headers":{},"bodySchema":{"type":"object","required":["actual_count","expected_count"],"properties":{"label":{"type":"string"},"actual_count":{"type":"integer"},"expected_count":{"type":"integer"}}},"responseSchema":{},"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_TsIGmRF1Ce4dvV3oWiUGI","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 that an actual list item count matches an expected count, returning a pass/fail security check result for AI agent workflows.","exampleAgentPrompt":"Run a list count validation check: I expected 10 items in my results list but only got 7 back — label it 'search_results_check' and tell me if the counts match.","exampleUseCases":null,"resultDescription":"A validation result indicating whether the actual_count matches the expected_count, likely including a pass/fail status, the label if provided, and details about any mismatch detected.","failureModes":["Missing required fields (actual_count or expected_count) returns a 400 or validation error","Non-integer values for count fields cause schema validation failure","Payment not completed via x402 USDC results in 402 Payment Required response","Service unavailable on Render free tier due to cold start or downtime","Empty response body due to undocumented response schema"],"whenToPreferThis":"Use this endpoint when an AI agent needs to assert that a list or collection contains the expected number of items as a security or integrity check — for example, confirming search results weren't truncated, verifying a dataset wasn't tampered with, or performing pre-payment validation in an agentic pipeline. Prefer this over general-purpose validation libraries when you need a pay-per-use, stateless microcheck with x402/USDC payment integration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:41:56.869Z","isFirstParty":false}