{"uid":"cap_LQeCS-C_Rf2HSdVk5aDio","slug":"delx-chunk-list-1d57d7a7","name":"Delx Chunk List","description":"Chunk a list into fixed-size batches. Call when you plan batch POSTs under payload ceilings. Returns chunks array and count for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.","url":"https://api.delx.ai/api/v1/x402/chunk-list","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"size":{"type":"integer","description":"Input field: size."},"items":{"type":"array","description":"Input field: items."}}},"responseSchema":{"type":"json","example":{"size":2,"count":3,"chunks":[[1,2],[3,4],[5]],"schema":"delx/util-chunk-list/v1"}},"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_9U9Xe9YoZeyuxJf5VH9DZ","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 an array into fixed-size batches, returning the chunked groups and total count.","exampleAgentPrompt":"Can you split this list of 200 product IDs into batches of 25 so I can POST them in chunks without hitting the payload limit?","exampleUseCases":[{"title":"Batch API upload under payload ceiling","prompt":"I have a list of 500 customer records I need to POST to an API that only accepts 50 at a time — can you chunk the list into groups of 50 for me?"},{"title":"Parallel processing job distribution","prompt":"Split these 120 image URLs into batches of 10 so I can fan them out to 12 parallel workers."},{"title":"Paginated email campaign sends","prompt":"I have a list of 300 email addresses and my email provider only lets me send to 100 recipients per request — please break it into groups of 100."}],"resultDescription":"Returns a JSON object containing a 'chunks' array (an array of arrays, each sub-array being one batch of items up to the specified size) and a 'count' integer indicating the total number of chunks produced.","failureModes":["Missing 'items' field returns a validation error","Missing or non-integer 'size' field returns a validation error","Size of zero or negative integer causes an error","Payment not fulfilled via x402 returns a 402 response","Empty items array may return a single empty chunk or zero chunks"],"whenToPreferThis":"Choose this endpoint when you need a simple, stateless, zero-dependency utility to partition an array into fixed-size batches before making batch API calls — especially in agentic pipelines where you want a deterministic, auditable split without writing custom code. It is ideal when operating under payload ceilings or rate limits and you want a reliable chunk count returned alongside the data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:53:08.439Z","isFirstParty":false}