Icu Sentence Prefix Under Byte Budget
Sentence excerpt returns the longest complete sentence prefix within a UTF-8 byte budget. Use it when an agent needs a bounded excerpt that ends at a sentence boundary.
POST https://text.halowerk.com/v1/icu-sentence-prefix-under-byte-budget
0.005 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"locale": "en",
"max_bytes": 26,
"text": "Operating systems. Library management system."
}{
"data": {
"excerpt": "Operating systems. ",
"included_sentences": 1,
"omitted_sentences": 1,
"used_bytes": 19
},
"limitations": "Local ICU segmentation of supplied text. Offsets count UTF-16 code units. Locale and installed Unicode version affect boundaries.",
"measured_at": "2026-11-19T10:54:26.816Z",
"source": {
"reference": "https://tc39.es/ecma402/#sec-intl-segmenter-objects",
"retrieved_at": "2026-11-19T10:54:26.816Z"
}
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://text.halowerk.com/v1/icu-sentence-prefix-under-byte-budget · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"maxLength": 7000,
"minLength": 1
},
"locale": {
"type": "string",
"maxLength": 45,
"minLength": 1
},
"max_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 28000
}
},
"required": [
"text",
"max_bytes"
],
"additionalProperties": false
}Output schema
{
"type": "object"
}curl -i -X POST 'https://text.halowerk.com/v1/icu-sentence-prefix-under-byte-budget' \
-H 'content-type: application/json' -d '{"text":"Operating systems. Library management system.","locale":"en","max_bytes":26}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs