Overview
SearchTMResponseDto entries ordered by score.Modes
phraseQuery=true(default). The service calls the downstream /search endpoint with wildcard=true to allow combined exact/wildcard candidates in one pass.phraseQuery=false to disable the wildcard branch (wildcard=false, exactIfQuotes=false, combinedExact=false). Use when you need strict normalized matches without wildcard processing.Request parameters
query (required): search text. If trimQuery=true (default) leading/trailing whitespace is removed before sending to TM service.sourceLang (required) and optional targetLangs: locales are normalized to BCP-47. When targetLangs is omitted the backend queries all TM targets.previousSegment / nextSegment: optional context strings; when provided, the backend raises 101% matches that align with the surrounding segments.tagMetadata: serialized inline tags; improves scoring and avoids dropping tag pairs.trimQuery: default true. Set to false to preserve leading/trailing spaces (rare).phraseQuery: default true. Controls whether wildcard/phrase helpers are enabled (see “Modes”).Scoring & ordering
grossScore (raw similarity) and score (penalty-adjusted). 101% matches retain their priority even after penalties.score DESC, grossScore DESC, context match priority DESC, segment key ASC, TM priority ASC, timestamp DESC, TU id DESC.replaceFigures=false, modifyTransText=false in this controller).Limits & behavior
offset or totalFoundCount.0, so all results above penalties are returned until limit.query are interpreted only when phraseQuery=true enables the wildcard path.Context & caching notes
Error handling
query, or an inaccessible TM ID return 400/403.Documentation Index
Fetch the complete documentation index at: https://developers.phrase.com/llms.txt
Use this file to discover all available pages before exploring further.
Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.
successful operation