Quality

Start a quality check

Check translated strings with Glossa.

POST
/v1/qa/run

Check translated strings with Glossa. Answers 202 with how much was queued; findings land on the translations, readable through GET /v1/translations, and the qa.completed webhook fires when the check finishes. Needs the Team plan or higher; otherwise 403 plan-limit.

Authorization

deployToken
headerAuthorizationBearer <token>

A project deploy token, minted in the console under Settings, Developer, API tokens. Send the whole value, including the numeric prefix before the |. A token carries a set of abilities (push, pull, manage, read, write) and each operation requires one of them. Tokens do not inherit from each other: a manage token cannot read the glossary unless it also has read.

Request Body

application/json
  1. body
scope*string

missing: translations never checked. stale: translations whose source changed since their last check. all and selected: every translation in scope. A translation already checked whose source and value have not changed since is not checked again. selected with no key_ids checks nothing.

Value in"missing""selected""stale""all"
key_ids?array<integer>
Itemsitems <= 2000
locales?array<>
Itemsitems <= 200

Response Body

The check was queued.

application/json
  1. response
dispatched_jobs?integer

How many groups of strings were queued for checking.

rows?integer

How many translations will be checked.

curl -X POST 'https://api.transglot.ai/v1/qa/run' \  -H 'Content-Type: application/json' \  -d '{  "scope": "stale",  "locales": [    "de"  ]}'
{  "dispatched_jobs": 0,  "rows": 0}