{"uid":"cap_CbwsGyDViO3NWAkIPGj2j","slug":"signaldesk-ai-array-chunk-6fc04baa","name":"SignalDesk AI Array Chunk","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/json/array-chunk?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"size":{"type":"integer","maximum":1000,"minimum":1,"description":"Elements per chunk."},"values":{"type":"array","items":{},"maxItems":1000,"minItems":0,"description":"JSON array."}}},"responseSchema":{"type":"json","example":{"chunks":[[1,2],[3,4],[5]]}},"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_PBsRVDM4mCytDxXvBp96s","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 into fixed-size sub-arrays (chunks) of a specified element count","exampleAgentPrompt":"Split this array [1,2,3,4,5,6,7,8,9,10] into chunks of 3 elements each using SignalDesk's array chunker.","exampleUseCases":[{"title":"Batch API calls from large ID list","prompt":"I have a list of 500 user IDs and I need to call an API that only accepts 50 at a time — can you split the list into chunks of 50 so I can send them in batches?"},{"title":"Paginate product catalog results","prompt":"Take this array of 200 product objects and break it into pages of 25 items each so I can display them one page at a time."},{"title":"Parallel task distribution","prompt":"I've got a list of 300 image URLs to process — split them into groups of 100 so I can assign each group to a separate worker."}],"resultDescription":"Returns a JSON object with a 'chunks' field containing an array of arrays, where each inner array holds up to 'size' elements from the input, and the final chunk may contain fewer elements if the input length is not evenly divisible.","failureModes":["Array exceeds 1000 items — request rejected with validation error","Chunk size less than 1 or greater than 1000 — rejected with schema validation error","Empty array input returns empty chunks array","Malformed JSON body causes 400 parse error","Payment not included or insufficient — 402 Payment Required returned"],"whenToPreferThis":"Choose this endpoint when you need a simple, reliable, stateless utility to partition any JSON array into fixed-size sub-arrays, especially in automated agent workflows that need to fan out work to rate-limited downstream APIs or parallel workers. It is ideal for preprocessing steps in pipelines where batch size matters and no local code execution is available.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:44:13.091Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-array-chunk-6fc04baa"}