---
title: "Search Terminology"
method: GET
path: "/brand-terms/search"
tags: ["brandTerms"]
---

# Search Terminology

`GET /brand-terms/search`

Searches the text for relevant terminology and returns matched term sets.

Term sets are matched if any word sequence (up to 5 words) in the text is similar to one of the terms of the term set.
The similarity measure used is a trigram similarity of 0.5 or higher between the word sequence and the term.

## Query parameters

- `query` string, required
- `domain_ids` string[], nullable

## Headers

- `Authorization` string, required

## Response `200`

Successful Response

- TerminologySearchResponse
  - `results` TermSetResult[], required
    - `context` string, required
    - `context_polarity` string, nullable
    - `terms` TermItem[], required
      - `term` string, required
      - `type` string, required
      - `case_sensitive` boolean
    - `matched_terms` MatchedTerm[], required
      - `term` string, required
      - `matched_ngram` string, required

## Other responses

- `401` — Authentication failed or no valid API key provided.
- `403` — Forbidden
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/markup/apis/api-reference.md) · [All operations](https://skmtc.net/markup/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/markup/api-reference/revisions/8e28e770c55d/schema)
