---
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.

## Changes

- **2026-07-13** (2023-09-01) `442226cb14a9` — 1 info
  - api tag `Discovery` removed
- **2026-07-13** (2023-09-01) `5afce6b3aae1` — 1 info
  - api tag `Discovery` added

[Change history](https://skmtc.dev/azure/apis/purview-datamap/changes/search/autocomplete/post.md)

---

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