Verify translations against their sources
Runs Glossa’s integrity gate on each source/translation pair: variable slots must be conserved, markup tags must match, no script or event-handler injection, and any protected glossary terms must be present. Each item is metered, as localization.check.
POST
/v1/localization/checkAuthorization
AuthorizationBearer token (JWT) · headerrequiredBearer API key issued for your account. Send Authorization: Bearer <key>.
Request body
requiredapplication/jsonitemsobject[]requiredmin items 1 · max items 500
Show propertiesHide properties
Array of
objectkeystringsourcestringrequiredtranslationstringrequiredglossaryobjectProtected terms: each key must appear in the translation as its value.
Responses
200
One result per item
totalintegerrequiredpassedintegerrequiredfailedintegerrequiredresultsobject[]requiredShow propertiesHide properties
Array of
objectkeystringrequiredokbooleanrequiredcodestring | nullAllowed:
missing_slotextraneous_slottag_mismatchsecurity_riskglossary_violationnullmessagestring | null400
Bad request
string401
Missing or invalid bearer token
string403
Billing or plan entitlement blocked the request
string