# Agent Security Gateway – Completeness Validator

> Agent Security Gateway – Completeness Validator is a paid API for AI agents from agent-security-gateway.onrender.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Validates whether actual output items fully cover expected items for a given task, checking completeness of agent-generated results

## Facts

- Endpoint: POST https://agent-security-gateway.onrender.com/api/validate/completeness
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-security-gateway-completeness-validator-12102885
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S7mil2jJ0VaLff8w4QcG2

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 agent-security-gateway-completeness-validator-12102885 -d '<json body>'
```

Example prompt: Check if the agent's output is complete for the task 'extract all product names from catalog': the actual items returned are ['Widget A','Widget B'] and the expected items are ['Widget A','Widget B','Widget C','Widget D'] — use exact match type.

## When to prefer this

Use this endpoint when an AI agent needs to programmatically verify that its output is complete before proceeding — especially in multi-step pipelines where missing items could cause downstream failures. Prefer this over manual checks when expected outputs are enumerable and can be compared item-by-item. Best suited for agents that need pay-per-use security validation without standing up their own validation infrastructure.

## Known failure modes

- Missing required fields (task, actual_items, or expected_items) returns 400 validation error
- Payment failure via x402 protocol returns 402 Payment Required
- Empty arrays for actual_items or expected_items may return edge-case results
- Invalid match_type value may cause unexpected comparison behavior
- Service unavailability on Render free-tier hosting may cause timeouts or cold-start delays

## How this service works

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.

## Output

Returns a completeness assessment indicating whether the actual items fully cover the expected items for the task, likely including details on missing items, coverage percentage, or pass/fail status.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "task",
  "actual_items",
  "expected_items"
 ],
 "properties": {
  "task": {
   "type": "string"
  },
  "match_type": {
   "type": "string"
  },
  "actual_items": {
   "type": "array"
  },
  "expected_items": {
   "type": "array"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-security-gateway-completeness-validator-12102885/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-security-gateway.onrender.com](https://www.zero.xyz/host/agent-security-gateway.onrender.com/llms.txt)
