{"uid":"cap_w24gDePhXeoRw19A7WGbg","slug":"writerslogic-translation-invariants-checker-bfe0f207","name":"WritersLogic Translation Invariants Checker","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/translation-invariants?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"kinds":{"type":"array","items":{"enum":["number","identifier","operator","placeholder","url","date"],"type":"string"},"maxItems":6,"description":"Token kinds to check. Default all."},"segments":{"type":"array","items":{"type":"object","required":["id","source","target"],"properties":{"id":{"type":"string","maxLength":100,"minLength":1,"description":"Echoed back."},"source":{"type":"string","maxLength":10000},"target":{"type":"string","maxLength":10000}},"additionalProperties":false},"maxItems":200,"minItems":1,"description":"Up to 200; 100000 characters in total."},"sourceDecimal":{"enum":[".",",","auto"],"type":"string","description":"Decimal mark of the source locale. Default auto (both readings tried)."},"targetDecimal":{"enum":[".",",","auto"],"type":"string","description":"Decimal mark of the target locale. Default auto."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3YtE6hEadpyK0QkahZPla","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts tokens that must not change in translation (numbers, dates, identifiers, placeholders, URLs, operators) and reports any missing, added, or altered between source and target segments.","exampleAgentPrompt":"Check these two translated segments for any numbers, dates, placeholders like {0}, URLs, or operators that are missing or changed — source is 'Ship ±5% of 1,234.5 kg by 2024-03-15' and target is 'Envoyer ±5% de 1.234,5 kg avant le 2024-03-15', with source decimal as '.' and target decimal as ','","exampleUseCases":[{"title":"Software string placeholder audit","prompt":"I have 50 UI strings that were just translated from English to German. Can you check all of them to make sure placeholders like {0}, {1}, and %s are all still present in the target — flag any that are missing or were accidentally changed?"},{"title":"Technical manual number verification","prompt":"We just translated a machine spec sheet from English to French. The source uses period as decimal and the French uses comma. Can you scan all the aligned segments and report any numbers, tolerances like ±, or unit values that are missing or were altered in the translation?"},{"title":"ISO date preservation check","prompt":"Our localization team translated a contract from English to Spanish. Can you go through the aligned segments and tell me if any ISO dates like 2024-01-31 were changed, dropped, or reformatted incorrectly in the Spanish version?"}],"resultDescription":"For each submitted segment, the endpoint returns any tokens that are missing from the target, added in the target but not in the source, or altered in value — along with their character offsets expressed in UTF-16 code units, Unicode code points, UTF-8 bytes, and grapheme clusters for both source and target texts. Numbers are compared by numeric value, handling mixed decimal/thousands separators, and ambiguous separators are flagged if locale hints are not provided.","failureModes":["Segment batch exceeds 200 items or 100,000 total characters — returns validation error","Individual source or target string exceeds 10,000 characters — rejected","Invalid enum value for sourceDecimal, targetDecimal, or kinds — returns schema error","Ambiguous number separators reported when sourceDecimal/targetDecimal not specified and separator is contextually ambiguous","Empty segments array — returns validation error"],"whenToPreferThis":"Use this endpoint when you need programmatic, offset-precise verification that translation-invariant tokens (numbers, dates, identifiers, operators, placeholders, URLs) have been faithfully preserved in translated text. It is the right choice for localization QA pipelines, CAT tool integrations, and automated translation review workflows. It handles cross-locale numeric conventions automatically. It is not a grammar checker, translator, or semantic similarity tool — prefer it specifically for token-level invariant validation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:40:32.142Z","isFirstParty":false,"canonicalSlug":"writerslogic-translation-invariants-checker-bfe0f207"}