{"uid":"cap_7V70CzYkxMytTH0j79Ilv","slug":"one-engine-text-head-first-32-unicode-characters-tier-10-f01a8ead","name":"ONE Engine Text Head – First 32 Unicode Characters (Tier 10)","description":"Return first 32 Unicode characters. Tier 10/10 adds richer diagnostics.","url":"https://one-search.one-engine.workers.dev/v6/text-head/chars-32/t10?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_i6m944BYSn-jFqhln-lDw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the first 32 Unicode characters from a submitted text string, with Tier 10 richer diagnostic metadata included in the response.","exampleAgentPrompt":"Can you give me the first 32 Unicode characters of this text: 'Héllo wörld, this is a tëst string for Unicode truncation!' and include the full diagnostics?","exampleUseCases":[{"title":"Debug Unicode prefix in agent pipeline","prompt":"I need to inspect the first 32 Unicode characters of this raw input my agent received — can you extract them with full diagnostics so I can see exactly what codepoints are at the start: '日本語テキストのサンプルです。This is mixed content.'"},{"title":"Truncate user display name for UI preview","prompt":"Take this display name string and give me just the first 32 Unicode characters for the preview card: 'Alexandros Παπαδόπουλος-Konstantinou III'"},{"title":"Validate leading characters of scraped content","prompt":"I scraped some web content and I want to check what the first 32 Unicode characters are to confirm the encoding is correct — here's the raw text: '\\uFEFF<!DOCTYPE html><html lang=\"en\">'"}],"resultDescription":"The endpoint returns the first 32 Unicode characters (codepoints) of the submitted text string, along with Tier 10 richer diagnostic information such as character count, codepoint details, encoding notes, and truncation metadata useful for debugging and validation.","failureModes":["Empty or missing text body returns an error indicating no input was provided","Text shorter than 32 characters returns the full string with a diagnostic note about the actual length","Invalid or malformed Unicode sequences may produce partial or error responses","Payment failure via x402 protocol results in a 402 Payment Required response before processing","Rate limiting or quota exhaustion may return a 429 Too Many Requests error"],"whenToPreferThis":"Choose this endpoint when you specifically need the first 32 Unicode characters (codepoints, not bytes) of a text string and want richer Tier 10 diagnostics alongside the result. It is ideal for agent pipelines that need lightweight, deterministic string slicing with Unicode-awareness and diagnostic transparency, rather than byte-level truncation or language-model summarization. Prefer it over generic substring operations when Unicode correctness (multi-byte characters, emoji, CJK scripts) matters and when detailed metadata about the truncation is needed for debugging or validation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:35:02.260Z","isFirstParty":false,"canonicalSlug":"one-engine-text-head-first-32-unicode-characters-tier-10-f01a8ead"}