---
title: "POST /search/autocomplete"
method: POST
path: "/search/autocomplete"
---

# POST /search/autocomplete

`POST /search/autocomplete`

Get auto complete options.

## Query parameters

- `api-version` string, required

## Request body

- AutoCompleteOptions — The payload 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` unknown

## Response `200`

The request has succeeded.

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

## Other responses

- `default` — An unexpected error response.

---

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