Azure AI Search Indexes('{index Name}') API

The Indexes('{indexName}') API from Azure AI Search — 12 operation(s) for indexes('{indexname}').

GitHub OpenAPI
Business capability
Retrieval & Embeddings AE-110.60

Operations 14

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /indexes('{indexName}') Get a search index definition · Indexes get #
Ask an LLM
“What fields and scoring profiles does a search index have?”
“Can I fetch an index definition by name?”
Tell an agent
Get the definition of search index {indexName}.
Show me the fields and scoring profiles in {indexName}.
PUT /indexes('{indexName}') Create or update a search index · Indexes create or update #
Ask an LLM
“How do I create an index for full-text and semantic search?”
“Can I add analyzers to an index without downtime?”
Tell an agent
Create index {indexName} with fields {fields}.
Create index {indexName} with fields {fields}, similarity {similarity} and vector search configuration {vectorSearch}.
DELETE /indexes('{indexName}') Delete a search index · Indexes delete #
Ask an LLM
“How do I delete a search index and its documents?”
“Is deleting an index permanent?”
Tell an agent destructive · confirm first
Delete search index {indexName}.
Permanently remove index {indexName} and all documents in it.
GET /indexes('{indexName}')/docs Search documents in an index · Documents search get #
Ask an LLM
“How do I search an index for documents matching a query?”
“Can I get facet counts and hit highlights back with a search?”
Tell an agent
Search index {indexName} for {search}.
Find documents in {indexName} matching {filter} and return {top} hits.
GET /indexes('{indexName}')/docs/$count Count documents in an index · Documents count #
Ask an LLM
“How many documents are in a search index?”
“Can I get the total document count for an index?”
Tell an agent
Count the documents in search index {indexName}.
Tell me how many documents exist in {indexName}.
GET /indexes('{indexName}')/docs/search.autocomplete Autocomplete a search term · Documents autocomplete get #
Ask an LLM
“How do I autocomplete a partial search term?”
“Can I autocomplete using a suggester and get fuzzy matches?”
Tell an agent
Autocomplete {search} in index {indexName} using suggester {suggesterName}.
Autocomplete {search} in {indexName} with fuzzy {fuzzy} and suggester {suggesterName}.
POST /indexes('{indexName}')/docs/search.index Index documents in a batch · Documents index #
Ask an LLM
“How do I add or update many documents in an index at once?”
“Can I send a batch of index actions for an index?”
Tell an agent
Index the documents {value} in search index {indexName}.
Batch upsert documents {value} into {indexName}.
POST /indexes('{indexName}')/docs/search.post.autocomplete Autocomplete a search term with a POST body · Documents autocomplete post #
Ask an LLM
“Can I POST an autocomplete request with a suggester name in the body?”
“What's the POST form of autocomplete for an index?”
Tell an agent
POST autocomplete {search} in index {indexName} using suggester {suggesterName}.
Send a POST autocomplete request to {indexName} for {search} with suggester {suggesterName}.
POST /indexes('{indexName}')/docs/search.post.search Search documents in an index · Documents search post #
Ask an LLM
“Can I run semantic search over an index with a custom scoring profile?”
“How do I get snippets highlighted around matches in search results?”
Tell an agent
Search {search} in index {indexName}.
Search {search} in index {indexName} using scoring profile {scoringProfile} and return {top} results.
POST /indexes('{indexName}')/docs/search.post.suggest Suggest documents matching a partial text · Documents suggest post #
Ask an LLM
“How do I suggest documents for a partial query text?”
“Can I suggest using a suggester name in the POST body?”
Tell an agent
POST suggest {search} in index {indexName} using suggester {suggesterName}.
Send a POST suggestion request to {indexName} for {search} with suggester {suggesterName}.
GET /indexes('{indexName}')/docs/search.suggest Suggest documents matching a partial text · Documents suggest get #
Ask an LLM
“How do I get suggestions for a partial search term?”
“Can I filter suggestions with a query filter?”
Tell an agent
Suggest documents in index {indexName} for {search} using suggester {suggesterName}.
Get {top} suggestions in {indexName} for {search} with suggester {suggesterName}.
GET /indexes('{indexName}')/docs('{key}') Get a document from an index · Documents get #
Ask an LLM
“How do I fetch a single document from a search index?”
“Can I select which fields come back for one document?”
Tell an agent
Get document {key} from search index {indexName}.
Fetch {select} from {indexName} for document {key}.
POST /indexes('{indexName}')/search.analyze See how text is tokenized by an analyzer · Indexes analyze #
Ask an LLM
“How do I test what tokens a search analyzer produces for my text?”
“Can I preview how a custom analyzer breaks text into tokens?”
Tell an agent
Analyze the text {text} in index {indexName} with analyzer {analyzer}.
Break {text} into tokens using the {tokenizer} tokenizer.
GET /indexes('{indexName}')/search.stats Get document count and storage for an index · Indexes get statistics #
Ask an LLM
“How many documents are in my search index and how much storage does it use?”
“What are the statistics for a given index?”
Tell an agent
Get statistics for index {indexName}.
Show the document count and storage usage of {indexName}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/azure-ai-search:azure-ai-search-indexes-indexname-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

azure-ai-search-indexes-indexname-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure AI Search Indexes('{index Name}') API
  version: '2026-10-01'
  description: Client that can be used to manage and query indexes and documents, as well as manage other resources, on a search service.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
security:
- ApiKeyAuth: []
- OAuth2Auth:
  - https://search.azure.com/.default
tags:


# --- truncated at 32 KB (176 KB total) ---
# Full source: https://artifacts.apis.io/azure-ai-search/openapi/azure-ai-search-indexes-indexname-api-openapi.yml