Azure AI Search · Schema
AutocompleteRequest
Parameters for fuzzy matching, and other autocomplete query behaviors.
Artificial IntelligenceSearchMicrosoft AzureCloudServices
Properties
| Name | Type | Description |
|---|---|---|
| search | string | The search text on which to base autocomplete results. |
| autocompleteMode | object | Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms. |
| filter | string | An OData expression that filters the documents used to produce completed terms for the Autocomplete result. |
| fuzzy | boolean | A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will autocomplete terms even if there's a substituted or missing character in |
| highlightPostTag | string | A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled. |
| highlightPreTag | string | A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled. |
| minimumCoverage | number | A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ens |
| searchFields | string | The comma-separated list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester. |
| suggesterName | string | The name of the suggester as specified in the suggesters collection that's part of the index definition. |
| top | integer | The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/azure-ai-search/json-schema/azure-ai-search-autocomplete-request-schema.json",
"title": "AutocompleteRequest",
"description": "Parameters for fuzzy matching, and other autocomplete query behaviors.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/azure-ai-search-indexes-indexname-api-openapi.yml#/components/schemas/AutocompleteRequest",
"type": "object",
"properties": {
"search": {
"type": "string",
"description": "The search text on which to base autocomplete results."
},
"autocompleteMode": {
"$ref": "#/$defs/AutocompleteMode",
"description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms."
},
"filter": {
"type": "string",
"description": "An OData expression that filters the documents used to produce completed terms for the Autocomplete result."
},
"fuzzy": {
"type": "boolean",
"description": "A value indicating whether to use fuzzy matching for the autocomplete query. Default is false. When set to true, the query will autocomplete terms even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are slower and consume more resources."
},
"highlightPostTag": {
"type": "string",
"description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. If omitted, hit highlighting is disabled."
},
"highlightPreTag": {
"type": "string",
"description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. If omitted, hit highlighting is disabled."
},
"minimumCoverage": {
"type": "number",
"format": "double",
"description": "A number between 0 and 100 indicating the percentage of the index that must be covered by an autocomplete query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 80."
},
"searchFields": {
"type": "string",
"description": "The comma-separated list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester."
},
"suggesterName": {
"type": "string",
"description": "The name of the suggester as specified in the suggesters collection that's part of the index definition."
},
"top": {
"type": "integer",
"format": "int32",
"description": "The number of auto-completed terms to retrieve. This must be a value between 1 and 100. The default is 5."
}
},
"required": [
"search",
"suggesterName"
],
"$defs": {
"AutocompleteMode": {
"type": "string",
"description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context in producing autocomplete terms.",
"enum": [
"oneTerm",
"twoTerms",
"oneTermWithContext"
],
"x-ms-enum": {
"name": "AutocompleteMode",
"modelAsString": false,
"values": [
{
"name": "OneTerm",
"value": "oneTerm",
"description": "Only one term is suggested. If the query has two terms, only the last term is completed. For example, if the input is 'washington medic', the suggested terms could include 'medicaid', 'medicare', and 'medicine'."
},
{
"name": "TwoTerms",
"value": "twoTerms",
"description": "Matching two-term phrases in the index will be suggested. For example, if the input is 'medic', the suggested terms could include 'medicare coverage' and 'medical assistant'."
},
{
"name": "OneTermWithContext",
"value": "oneTermWithContext",
"description": "Completes the last term in a query with two or more terms, where the last two terms are a phrase that exists in the index. For example, if the input is 'washington medic', the suggested terms could include 'washington medicaid' and 'washington medical'."
}
]
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/azure-ai-search-autocomplete-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.