# Agent Delivery Batch Gate

> Agent Delivery Batch Gate is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-23).

Validates whether a batch of agent deliveries meets terminality, success fraction, and refund-queue coverage thresholds before payment or acceptance

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/agent-delivery-batch-gate?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-delivery-batch-gate-3c8bef88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hvBMcePdySZrByeyC-BD0

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-delivery-batch-gate-3c8bef88 -d '<json body>'
```

Example prompt: Before we pay for this batch, check if it's ready to accept: 120 total deliveries, 110 succeeded, 5 failed, 5 pending, 3 refund-queued, and we require at least a 0.90 success fraction.

## When to prefer this

Use this endpoint as a preflight gate before paying for or accepting any x402 or agent-assembled delivery batch. It is purpose-built for evaluating batch terminality, success fraction compliance, and refund-queue coverage in a single bounded, stateless call — ideal for agent workflows that need a cheap, fast, deterministic check before committing to payment or downstream processing.

## Known failure modes

- Invalid or inconsistent counts (e.g. succeeded + failed + pending > total) may produce a rejection or error
- Non-numeric or out-of-range values for minimum_success_fraction (e.g. greater than 1.0) may cause validation failure
- Missing required fields may result in an error or incomplete evaluation
- Edge cases like all-zero counts or 100% refund-queued may produce unexpected gate outcomes

## How this service works

Agent Delivery Batch Gate: Agent Delivery Batch Gate checks batch terminality, success fraction, and refund-queue coverage from bounded caller-supplied values without an external provider. Call Agent Delivery Batch Gate before paying for or accepting an x402 or agent delivery assembled from caller-supplied challenge and result metadata. Returns contract-specific checks, normalized evidence, mismatch reasons, and an explicit acceptance or rejection status for Agent Delivery Batch Gate as version…

## Output

Returns whether the batch is accepted or rejected, along with contract-specific check results, normalized evidence from the supplied values, and explicit mismatch reasons explaining any failed conditions

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "total": {
   "type": "integer",
   "description": "Total supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."
  },
  "failed": {
   "type": "integer",
   "description": "Failed supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."
  },
  "pending": {
   "type": "integer",
   "description": "Pending supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."
  },
  "succeeded": {
   "type": "integer",
   "description": "Succeeded supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."
  },
  "refund_queued": {
   "type": "integer",
   "description": "Refund Queued supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."
  },
  "minimum_success_fraction": {
   "type": "number",
   "description": "Minimum Success Fraction supplied to Agent Delivery Batch Gate; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "accepted": true,
   "terminal": true,
   "refund_coverage": true,
   "success_fraction": 0.97,
   "counts_consistent": true
  },
  "schema": "delx/util-agent-delivery-batch-gate/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "a3ede22673e2353847a91c1d024be5fc857ce9eb03c713162639695522959963",
   "external_calls": 0
  },
  "operation": "delivery_contract:agent_delivery_batch_gate"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-delivery-batch-gate-3c8bef88/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
