Manual
CLI
API
Log in Get started free

Search the translation memory

Finds approved translations of similar source text in the projects you can see, the best match first. Without `q` it returns the most used entries.

Finds approved translations of similar source text in the projects you can see, the best match first. Without q it returns the most used entries.

HTTP
GET /tm

Access: Session token only. API keys get 403 with insufficient_scope.

Query parameters #

ParameterRequiredDescription
languageyesThe language code of the translations, such as de-de.
qnoThe source text to match. With it, entries must be at least 30% similar unless you set minPct.
projectIdnoOnly entries of this project.
limitnoHow many entries, 1 to 50. Default 30.
minPctnoMinimum similarity, 0 to 100. Default 30 with q, otherwise 0.
excludeKeynoLeave out the entry of this key name. Needs excludeProject.
excludeProjectnoThe project of excludeKey.

Response 200 #

A list of entries. Empty when you can see no project.

JSON
[
  {
    "id": "0197a3cb-92a8-7f99-8cef-4a8dab5f7219",
    "pct": 100,
    "key": "checkout.title",
    "source": "Checkout",
    "target": "Kasse",
    "projectId": "0197a3c6-4d53-7a44-87fb-9b3e5c0a2d64",
    "project": "Shop",
    "branch": "main",
    "approvedBy": "Rex Reviewer",
    "ageMinutes": 1440,
    "used": 3,
    "icu": null
  }
]

Response fields #

FieldTypeDescription
idstringThe id of the entry.
pctintegerHow similar the source is to q, 0 to 100. 0 when there is no q.
keystringThe key it came from.
sourcestringThe source text.
targetstringThe approved translation.
projectIdstringThe project it came from.
projectstringThe name of that project.
branchstringThe branch it came from.
approvedBystring or nullWho approved it.
ageMinutesintegerMinutes since the entry changed.
usedintegerHow often it was reused.
icustring or nullThe first {placeholder} in the source, if any.

Errors #

StatuserrorWhen
401unauthenticatedThe token is missing or not valid.
429rate_limitedToo many requests, see Rate limiting.

See Errors for the error format.