{"uid":"cap_BovSTYVe1qa9LEsa-M4jn","slug":"delx-text-chunk-plan-615b6c83","name":"Delx Text Chunk Plan","description":"Plan overlapping character chunks for RAG without storing the text — call when planning overlapping character chunks for RAG prep. Use on text/URLs the agent already holds—adjacent to high-volume extract demand, never advertised as general web or X search. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or media gen…","url":"https://api.delx.ai/api/v1/x402/text-chunk-plan","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"UTF-8 text to encode, chunk, index, or analyze (caller-supplied only)."},"overlap":{"type":"number","description":"Characters of overlap between consecutive chunks (0 .. chunk_size-1)."},"chunk_size":{"type":"number","description":"Characters per chunk (1–20000); example uses small sizes for demos."}}},"responseSchema":{"type":"json","example":{"chunks":[{"end":4,"chars":4,"index":0,"start":0},{"end":7,"chars":4,"index":1,"start":3},{"end":10,"chars":4,"index":2,"start":6}],"schema":"delx/util-text-chunk-plan/v1","overlap":1,"truncated":false,"chunk_size":4,"text_chars":10,"chunk_count":3}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lZbhN_zIasDXNo6JbQpID","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Plans overlapping character-based chunks for RAG ingestion from caller-supplied text, returning deterministic chunk boundary metadata without storing the input","exampleAgentPrompt":"Plan overlapping character chunks for this article text — use a chunk size of 512 characters with 64 characters of overlap so I can prep it for my RAG pipeline.","exampleUseCases":[{"title":"RAG prep for long document","prompt":"I have this research paper text — can you plan out the chunk boundaries using 1024 characters per chunk with 128 characters of overlap so I can figure out how to split it before embedding?"},{"title":"Optimizing overlap for dense text","prompt":"Help me plan how to chunk this legal contract into 800-character pieces with 100 characters of overlap — I want to see the chunk plan before I actually index anything."},{"title":"Validating chunking strategy for small corpus","prompt":"Before I run my ingestion pipeline, plan the character chunks for this blog post using 256-character chunks and 32-character overlap so I can verify the segmentation makes sense."}],"resultDescription":"Returns a deterministic JSON object describing the planned chunk boundaries, number of chunks, character offsets, and overlap windows for the supplied text — no text is stored and no upstream services are called.","failureModes":["Text missing or empty — returns error indicating required field","chunk_size out of range (must be 1–20000) — returns validation error","overlap equals or exceeds chunk_size — returns validation error","Payment not included or insufficient — x402 payment required error","Very large text with tiny chunk_size may exceed processing limits"],"whenToPreferThis":"Use this endpoint when you already hold the text in memory and need a deterministic, stateless chunk plan for RAG ingestion — especially when you want to preview or validate chunking parameters before committing to an embedding pipeline. Prefer this over general-purpose text-splitting libraries when you need a machine-readable JSON plan via API with guaranteed no data retention, and when cost per call ($0.003 USDC) is acceptable for planning workloads.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:56:14.697Z","isFirstParty":false}