{"uid":"cap_ATh2pbulHDoO5ZoF7bptn","slug":"json-array-chunk-2f8fd6e6","name":"JSON Array Chunk","description":"JSON Array Chunk: JSON Array Chunk chunks a JSON array into bounded ordered groups from bounded caller-supplied values without an external provider. Call JSON Array Chunk 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 Chunk as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, st…","url":"https://api.delx.ai/api/v1/x402/json-array-chunk","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"integer"},"maxItems":256,"description":"Items supplied to JSON Array Chunk; used only for this bounded calculation and processed in memory without retention."},"chunk_size":{"type":"integer","description":"Chunk Size supplied to JSON Array Chunk; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"chunks":[[1,2],[3,4],[5]],"chunk_count":3},"schema":"delx/util-json-array-chunk/v1","status":"pass","evidence":{"retained":false,"input_sha256":"4f72dbceaad27a26b92491017b889f01572529f0ffda27f5e6d7e08169769ac8","external_calls":0},"operation":"data_batch:json_array_chunk"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vr8AtmTI-ojxlsyfZmOJn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Splits a JSON array of integers into ordered, bounded sub-arrays (chunks) of a specified size, returning deterministic versioned results.","exampleAgentPrompt":"Can you split this list of integers [1,2,3,4,5,6,7,8,9,10] into chunks of 3 so I can hand each group to the next step in my pipeline?","exampleUseCases":[{"title":"Batching IDs for downstream API calls","prompt":"I have a list of 50 product IDs and the fulfillment API only accepts 10 at a time — can you break that array into chunks of 10 for me?"},{"title":"Paginating results for display","prompt":"Split this array of 32 integers into pages of 8 so I can display them one page at a time in my UI."},{"title":"Parallel task distribution","prompt":"I need to distribute these 24 job IDs across 4 workers — can you chunk the array into groups of 6 so each worker gets an equal share?"}],"resultDescription":"Returns a versioned deterministic JSON object containing the chunked sub-arrays (ordered groups), element counts per chunk, total item count, normalized values, and a versioned result contract identifier confirming the transformation.","failureModes":["Array exceeds 256-item maximum — request rejected with validation error","chunk_size is zero or negative — returns validation error","items array is empty — may return empty chunk set or validation finding","Non-integer values in array — schema validation failure","Missing required fields — 400-level error response"],"whenToPreferThis":"Choose this endpoint when an agent needs a stateless, deterministic, versioned record of chunking a bounded integer array — particularly when downstream tools enforce strict contracts and you need reproducible, auditable results. Prefer it over ad-hoc in-memory splitting when the transformation output needs a versioned envelope for traceability or when the chunking logic must be consistent across distributed agent steps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:49:28.032Z","isFirstParty":false}