Skip to main content
POST
Concordance search

Authorizations

Authorization
string
header
required

API token: tsu_pat_… (PAT) or tsu_proj_… (project token). The token's granted RBAC permissions determine access; see each operation's x-permission.

Path Parameters

projectId
string
required

Project id (UUID) or id-embedded path slug.

Body

application/json
query
string
required

The word or phrase to search for within stored TM segments.

Required string length: 1 - 1000
Example:

"welcome"

languageCodes
string[]

Restrict returned translations to these language codes (all languages if omitted).

Maximum array length: 50
Minimum string length: 1
Example:
searchIn
enum<string>
default:both

Where to match: source (source text only), target (translated text only), or both.

Available options:
source,
target,
both
Example:

"both"

page
integer
default:1

1-based page number.

Required range: x >= 1
Example:

1

limit
integer
default:50

Results per page, 1–200.

Required range: 1 <= x <= 200
Example:

50

Response

200 - application/json

A paginated list of matching TM segments with their translations.

success
boolean
required
data
object
required