---
title: "Returns all search algorithms"
method: GET
path: "/search-algorithm"
tags: ["Search algorithm"]
---

# Returns all search algorithms

`GET /search-algorithm`

## Request

- The document declares no server URL.
- Auth: API key in header `TWN-InstanceKey` and API key in header `TWN-Authentication`

## Query parameters

- `limit` integer
- `offset` integer
- `types` ApiSearchAlgorithmType[]

## Response `200`

OK

- ApiSearchAlgorithmSummaryPagingModel: Paginated collection of search algorithm summaries
  - `Total` integer, nullable, required: The total number of records which can be retrieved. Note that this field is not available for all paginated endpoints.
  - `Records` ApiSearchAlgorithmSummary[], required: The retrieved records.
    - `SearchAlgorithmId` integer: Unique id of the search algorithm
    - `Type` 'ExactMatch' | 'Word' | 'Damereau' | 'CategoryMatch' | 'FuzzyV2' | 'MerchandisingRule' | 'Phonetic' | 'NumberRecognition' | 'VectorSearch' | 'ExactStart' | 'PlugAndPlayVectorSearch'
    - `Volgorde` integer: Execution order of the algorithm
    - `StopWhenResultsFound` boolean: Stops when results were found
    - `Weight` number, double, nullable: Maximum item score for the algorithm
    - `Enabled` boolean: Indicates whether the search algorithm is enabled

---

[API](https://skmtc.dev/tweakwise/apis/app-api.md) - [All operations](https://skmtc.dev/tweakwise/apis/app-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tweakwise/apis/app-api/revisions/dc936bf76941?raw)
