JSON Array Length Check 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-16).
Validates that specified array fields within a JSON object have lengths within caller-supplied minimum and maximum bounds, returning counts and normalized values.
JSON Array Length Check: JSON Array Length Check checks selected array fields against caller item-count bounds from bounded caller-supplied values without an external provider. Call JSON Array Length Check before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for JSON Array Length Check as versioned deterministic JSON. Price: $0.…
Returns a versioned deterministic JSON object containing: per-field array length counts, a pass/fail validation finding indicating whether each field is within the specified minimum and maximum bounds, normalized values, and a versioned result contract identifier.
POSThttps://api.delx.ai/api/v1/x402/json-array-length-check?utm_source=zero.xyzChoose this endpoint when an AI agent needs to enforce item-count contracts on array fields in a JSON object before passing structured data to a downstream tool or API with stricter requirements. It is ideal for pre-flight checks in agentic pipelines where batch sizes, list lengths, or array cardinality must be bounded. Prefer this over ad-hoc code execution when you need a deterministic, versioned, auditable validation result without retaining data.
| Field | Type | Description |
|---|---|---|
| fields | array | Fields supplied to JSON Array Length Check; used only for this bounded calculation and processed in memory without retention. |
| object | object | Object supplied to JSON Array Length Check; used only for this bounded calculation and processed in memory without retention. |
| maximum | integer | Maximum supplied to JSON Array Length Check; used only for this bounded calculation and processed in memory without retention. |
| minimum | integer | Minimum supplied to JSON Array Length Check; used only for this bounded calculation and processed in memory without retention. |
{
"type": "json",
"example": {
"result": {
"passed": true,
"invalid_fields": []
},
"schema": "delx/util-json-array-length-check/v1",
"status": "pass",
"evidence": {
"retained": false,
"input_sha256": "95a21205d9c6d659623a8ea762303c79e2d75f8c4ff1455041af6261652db58d",
"external_calls": 0
},
"operation": "data_batch:json_array_length_check"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"