{"uid":"cap_344YzFUn__uOdOXIZRTsU","slug":"one-engine-text-segment-pack-tier-2-ef31549a","name":"ONE Engine Text Segment Pack Tier 2","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v2/text-segment-pack/t2?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"tier":2,"result":"Tier-dependent output"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0009","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.0009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_moiGuvC_BbZDeWQE0BICD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Segments and packs input text into structured chunks at the Tier 2 processing level, optimized for autonomous agent pipelines.","exampleAgentPrompt":"Can you segment this article into packed text chunks using the Tier 2 level so I can feed each piece into my embedding pipeline? Here's the text: 'Artificial intelligence is transforming industries across the globe, from healthcare to finance, enabling new automation and decision-making capabilities.'","exampleUseCases":[{"title":"Chunking documents for RAG pipelines","prompt":"Take this research paper excerpt and break it into Tier 2 text segments so I can store each chunk in my vector database: 'Recent advances in large language models have demonstrated remarkable capabilities in reasoning, coding, and creative tasks, though challenges around hallucination and alignment remain.'"},{"title":"Preprocessing long user messages","prompt":"I have a long user support message I need to split into structured segments before running classification — can you run it through the Tier 2 text segment packer? The text is: 'I've been having issues with my account for the past three weeks. First the login stopped working, then my payment history disappeared, and now I can't access the billing section at all.'"},{"title":"Segmenting content for summarization","prompt":"Break this blog post into packed text segments at tier 2 so each section can be summarized individually: 'Climate change is accelerating at an unprecedented rate. Glaciers are retreating, sea levels are rising, and extreme weather events are becoming more frequent and severe.'"}],"resultDescription":"A JSON object containing a 'tier' field (value 2) and a 'result' field with the tier-dependent segmented and packed text output — typically structured text chunks derived from the input string.","failureModes":["Missing or empty 'text' field returns a validation error","Extremely long input strings may be truncated or rejected","Payment failure via x402 results in a 402 Payment Required response before processing","Malformed JSON body returns a 400 Bad Request","Temporary worker downtime may cause 503 Service Unavailable"],"whenToPreferThis":"Choose this endpoint when you need low-cost, pay-per-call text segmentation for autonomous agent pipelines operating on Base via x402 micropayments. It is ideal for preprocessing text before embedding, indexing, or summarization at Tier 2 fidelity. Prefer it over higher-tier endpoints when cost efficiency matters more than maximum segmentation sophistication.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:52.207Z","isFirstParty":false,"canonicalSlug":"one-engine-text-segment-pack-tier-2-ef31549a"}