---
title: "Return the analyzer definition"
method: GET
path: "/_fabric/{fabric}/_api/search/analyzer/{analyzer-name}"
tags: ["Search"]
---

# Return the analyzer definition

`GET /_fabric/{fabric}/_api/search/analyzer/{analyzer-name}`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/_fabric/:fabric/_api/search/analyzer/:analyzer-name/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch the information about analyzer.

## Path parameters

- `fabric` string, string, required
- `analyzer-name` string, string, required

## Response `200`

Successfully fetched analyzer.

- ApiSearchGetAnalyzerDetHttpExamplesRc200
  - `code` integer: HTTP response code.
  - `error` boolean: Flag if there is an error in response. *False* for this response.
  - `name` string: The name of analyzer.
  - `type` string: The type of analyzer.
  - `properties` object: The properties of analyzer.
    - `locale` string: The locale for analyzer.
    - `case` string: The character casing for analyzer.
    - `stopwords` unknown
    - `accent` boolean: *True* to preserve accented characters
    - `stemming` boolean: *True* to stem returned words
  - `features` unknown

## Other responses

- `400`: Failed due to missing or malformed data. Verify that all parameters are complete.
- `403`: Failed to validate because you do not have access to the server.
- `404`: Failed to find specified analyzer.

---

[API](https://skmtc.dev/macrometa/apis/macrometa-api-reference.md) - [All operations](https://skmtc.dev/macrometa/apis/macrometa-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/macrometa/apis/macrometa-api-reference/revisions/2006b6d7f31d?raw)
