---
title: "POST /search/autocomplete"
method: POST
path: "/search/autocomplete"
tags: ["Discovery"]
---

# POST /search/autocomplete

`POST /search/autocomplete`

Get auto complete options.

## Query parameters

- `api-version` string, required

## Request body

- AutoCompleteRequest — The query of autocomplete request.
  - `keywords` string — The keywords applied to all fields that support autocomplete operation. It must be at least 1 character, and no more than 100 characters.
  - `limit` integer — The number of autocomplete results we hope to return. The default value is 50. The value must be a number between 1 and 100.
  - `filter` object — The filter for the autocomplete request.

## Response `200`

OK. On successful lookup of the auto complete options.

- AutoCompleteResult — The result of the autocomplete request.
  - `value` AutoCompleteResultValue[]
    - `text` string — The completed term or phrase.
    - `queryPlusText` string — The completed search query text.

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.net/azure/apis/purview-catalog.md) · [All operations](https://skmtc.net/azure/apis/purview-catalog/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/purview-catalog/revisions/63dd676f9a6b/schema)
