# AI Security Guard Preflight Batch Validator

> AI Security Guard Preflight Batch Validator is a paid API for AI agents from aisecurityguard.io, paid per call via x402, $0.075/call, status unknown (last checked 2026-09-15).

Validates and security-checks a batch of inputs (URLs, addresses, integers) returning verdicts on whether each item is clean, invalid, or suspicious

## Facts

- Endpoint: POST https://aisecurityguard.io/v1/guard/preflight/batch
- Price: $0.075/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ai-security-guard-preflight-batch-validator-1561a2a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yKgLtem7tNp1aQSXq1knt

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ai-security-guard-preflight-batch-validator-1561a2a3 -d '<json body>'
```

Example prompt: Before my agent processes these inputs, run a preflight security batch check on all three of them: the URL https://example.com/payload, the Ethereum address 0xAbC123..., and the integer 999999999 — tell me which ones are clean, invalid, or suspicious.

## When to prefer this

Use this endpoint when an AI agent needs to pre-screen a heterogeneous batch of inputs — URLs, wallet addresses, integers — for security issues before acting on them. Ideal for agentic pipelines where untrusted data enters from external sources and must be validated in bulk prior to downstream processing or blockchain interactions.

## Known failure modes

- Malformed batch input returns 400 with validation error
- Unsupported input types may be unclassified or return unknown verdict
- Payment not provided or insufficient triggers x402 payment required response
- Oversized batch may be rejected or time out
- Network error returns 5xx with no results

## How this service works

Knowledge, understanding, and tooling is power. Research-backed education on agentic security, free resources, then AgentGuard360 and Protection SDK when you're ready to protect what you ship.

## Output

A JSON object with per-item results including type, validity, verdict (clean/invalid/suspicious), and any flags, plus aggregate counts for total, valid, invalid, and suspicious items, and an all_clean boolean.

## Example request

```json
{
 "input": {
  "body": {
   "items": [
    {
     "type": "url",
     "value": "https://example.com/payload"
    },
    {
     "type": "address",
     "value": "0xAbC123def456"
    },
    {
     "type": "integer",
     "value": "999999999"
    }
   ]
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "type",
     "value"
    ],
    "properties": {
     "type": {
      "enum": [
       "url",
       "price",
       "integer",
       "address",
       "hash"
      ],
      "type": "string",
      "description": "Validation type."
     },
     "value": {
      "type": "string",
      "description": "Value to validate."
     }
    }
   },
   "maxItems": 500,
   "description": "Array of validation items. Max 500 per request."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "total": 3,
  "results": [
   {
    "type": "url",
    "valid": true,
    "verdict": "clean",
    "suspicious": false
   },
   {
    "type": "integer",
    "flags": [
     "exceeds_uint256_max"
    ],
    "valid": false,
    "verdict": "invalid",
    "suspicious": false
   },
   {
    "type": "address",
    "valid": true,
    "verdict": "clean",
    "suspicious": false
   }
  ],
  "all_clean": false,
  "valid_count": 2,
  "invalid_count": 1,
  "suspicious_count": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ai-security-guard-preflight-batch-validator-1561a2a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aisecurityguard.io](https://www.zero.xyz/host/aisecurityguard.io/llms.txt)
