Microsoft Azure Indexers API

The Indexers API from Microsoft Azure, for indexers.

GitHub OpenAPI

Operations 8

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

POST /indexers('{indexerName}')/search.reset Reset an indexer's change tracking · Microsoft Azure Post Indexers Indexername Search Reset #
Ask an LLM
“How do I make a search indexer reprocess all documents from scratch?”
“Can I clear an indexer's change tracking state so it does a full reindex?”
Tell an agent
Reset indexer {indexer}.
Clear the change tracking state of indexer {indexer} so the next run is a full crawl.
POST /indexers('{indexerName}')/search.run Run an indexer on demand · Microsoft Azure Post Indexers Indexername Search Run #
Ask an LLM
“Can I trigger a search indexer right now instead of waiting for its schedule?”
“How do I kick off an indexer run manually?”
Tell an agent
Run indexer {indexer} now.
Trigger an on-demand run of indexer {indexer}.
PUT /indexers('{indexerName}') Create or update a named indexer · Microsoft Azure Put Indexers Indexername #
Ask an LLM
“How do I update an existing indexer's schedule or field mappings?”
“Can I only overwrite an indexer if its ETag still matches?”
Tell an agent
Create or update indexer {indexer} reading from {data_source} into index {target_index}.
Change the schedule of existing indexer {indexer} to {schedule}.
DELETE /indexers('{indexerName}') Delete an indexer · Microsoft Azure Delete Indexers Indexername #
Ask an LLM
“How do I remove a search indexer I no longer need?”
“Does deleting an indexer support an If-Match condition?”
Tell an agent destructive · confirm first
Delete indexer {indexer}.
Delete indexer {indexer} only if its ETag is {etag}.
GET /indexers('{indexerName}') Get an indexer definition · Microsoft Azure Get Indexers Indexername #
Ask an LLM
“How is a particular search indexer configured, such as its data source and target index?”
“Can I read the field mappings and schedule of an existing indexer?”
Tell an agent
Get the definition of indexer {indexer}.
Show the data source, target index and schedule of indexer {indexer}.
GET /indexers List indexers on a search service · Microsoft Azure Get Indexers #
Ask an LLM
“Which indexers are defined on my search service?”
“Can I list indexers but return only a few properties like name?”
Tell an agent
List all indexers on my search service.
List indexers returning only {fields}.
POST /indexers Create a new indexer · Microsoft Azure Post Indexers #
Ask an LLM
“How do I set up a new indexer that pulls a data source into a search index?”
“Can I attach a skillset when creating a new indexer?”
Tell an agent
Create a new indexer {name} that loads {data_source} into index {target_index}.
Add indexer {name} using skillset {skillset} to enrich {data_source} into {target_index}.
GET /indexers('{indexerName}')/search.status Get an indexer's status and run history · Microsoft Azure Get Indexers Indexername Search Status #
Ask an LLM
“Did my indexer's last run succeed, and how many documents failed?”
“Where can I see the execution history of a search indexer?”
Tell an agent
Get the status of indexer {indexer}.
Show the execution history and errors for indexer {indexer}.

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/microsoft-azure:microsoft-azure-indexers-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

microsoft-azure-indexers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure SearchServiceClient Indexers API
  description: Client that can be used to manage and query indexes and documents, as well as manage other resources, on a search service.
  version: 2019-05-06-Preview
  x-ms-code-generation-settings:
    useDateTimeOffset: true
tags:
- name: Indexers
paths:
  /indexers('{indexerName}')/search.reset:
    post:
      tags:
      - Indexers
      operationId: microsoftAzureIndexersReset
      x-ms-examples:
        SearchServiceResetIndexer:
          $ref: ./examples/SearchServiceResetIndexer.json
      description: Resets the change tracking state associated with an indexer.
      externalDocs:
        url: https://docs.microsoft.com/rest/api/searchservice/Reset-Indexer
      parameters:
      - name: indexerName
        in: path
        required: true
        description: The name of the indexer to reset.
        schema:
          type: string
      - $ref: '#/components/parameters/ClientRequestIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      x-ms-request-id: request-id
      responses:
        '204':
          description: ''
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchError'
      summary: Microsoft Azure Post Indexers Indexername Search Reset
  /indexers('{indexerName}')/search.run:
    post:
      tags:
      - Indexers
      operationId: microsoftAzureIndexersRun
      x-ms-examples:
        SearchServiceRunIndexer:
          $ref: ./examples/SearchServiceRunIndexer.json
      description: Runs an indexer on-demand.
      externalDocs:
        url: https://docs.microsoft.com/rest/api/searchservice/Run-Indexer
      parameters:
      - name: indexerName
        in: path
        required: true
        description: The name of the indexer to run.
        schema:
          type: string
      - $ref: '#/components/parameters/ClientRequestIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      x-ms-request-id: request-id
      responses:
        '202':
          description: ''
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchError'
      summary: Microsoft Azure Post Indexers Indexername Search Run
  /indexers('{indexerName}'):
    put:
      tags:
      - Indexers
      operationId: microsoftAzureIndexersCreateorupdate
      x-ms-examples:
        SearchServiceCreateOrUpdateIndexer:
          $ref: ./examples/SearchServiceCreateOrUpdateIndexer.json
      description: Creates a new indexer or updates an indexer if it already exists.
      externalDocs:
        url: https://docs.microsoft.com/rest/api/searchservice/Create-Indexer
      parameters:
      - name: indexerName
        in: path
        required: true
        description: The name of the indexer to create or update.
        schema:
          type: string
      - $ref: '#/components/parameters/ClientRequestIdParameter'
      - $ref: '#/components/parameters/IfMatchParameter'
      - $ref: '#/components/parameters/IfNoneMatchParameter'
      - $ref: '#/components/parameters/PreferHeaderParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      x-ms-request-id: request-id
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchIndexer'
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchIndexer'
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchError'
      summary: Microsoft Azure Put Indexers Indexername
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchIndexer'
        description: The definition of the indexer to create or update.
        required: true
    delete:
      tags:
      - Indexers
      operationId: microsoftAzureIndexersDelete
      x-ms-examples:
        SearchServiceDeleteIndexer:
          $ref: ./examples/SearchServiceDeleteIndexer.json
      description: Deletes an indexer.
      externalDocs:
        url: https://docs.microsoft.com/rest/api/searchservice/Delete-Indexer
      parameters:
      - name: indexerName
        in: path
        required: true
        description: The name of the indexer to delete.
        schema:
          type: string
      - $ref: '#/components/parameters/ClientRequestIdParameter'
      - $ref: '#/components/parameters/IfMatchParameter'
      - $ref: '#/components/parameters/IfNoneMatchParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      x-ms-request-id: request-id
      responses:
        '204':
          description: ''
        '404':
          description: ''
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchError'
      summary: Microsoft Azure Delete Indexers Indexername
    get:
      tags:
      - Indexers
      operationId: microsoftAzureIndexersGet
      x-ms-examples:
        SearchServiceGetIndexer:
          $ref: ./examples/SearchServiceGetIndexer.json
      description: Retrieves an indexer definition.
      externalDocs:
        url: https://docs.microsoft.com/rest/api/searchservice/Get-Indexer
      parameters:
      - name: indexerName
        in: path
        required: true
        description: The name of the indexer to retrieve.
        schema:
          type: string
      - $ref: '#/components/parameters/ClientRequestIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      x-ms-request-id: request-id
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchIndexer'
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchError'
      summary: Microsoft Azure Get Indexers Indexername
  /indexers:
    get:
      tags:
      - Indexers
      operationId: microsoftAzureIndexersList
      x-ms-examples:
        SearchServiceListIndexers:
          $ref: ./examples/SearchServiceListIndexers.json
      description: Lists all indexers available for a search service.
      externalDocs:
        url: https://docs.microsoft.com/rest/api/searchservice/List-Indexers
      parameters:
      - name: $select
        in: query
        required: false
        description: Selects which top-level properties of the indexers to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties.
        schema:
          type: string
      - $ref: '#/components/parameters/ClientRequestIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      x-ms-request-id: request-id
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListIndexersResult'
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchError'
      summary: Microsoft Azure Get Indexers
    post:
      tags:
      - Indexers
      operationId: microsoftAzureIndexersCreate
      x-ms-examples:
        SearchServiceCreateIndexer:
          $ref: ./examples/SearchServiceCreateIndexer.json
      description: Creates a new indexer.
      externalDocs:
        url: https://docs.microsoft.com/rest/api/searchservice/Create-Indexer
      parameters:
      - $ref: '#/components/parameters/ClientRequestIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      x-ms-request-id: request-id
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchIndexer'
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchError'
      summary: Microsoft Azure Post Indexers
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchIndexer'
        description: The definition of the indexer to create.
        required: true
  /indexers('{indexerName}')/search.status:
    get:
      tags:
      - Indexers
      operationId: microsoftAzureIndexersGetstatus
      x-ms-examples:
        SearchServiceGetIndexerStatus:
          $ref: ./examples/SearchServiceGetIndexerStatus.json
      description: Returns the current status and execution history of an indexer.
      externalDocs:
        url: https://docs.microsoft.com/rest/api/searchservice/Get-Indexer-Status
      parameters:
      - name: indexerName
        in: path
        required: true
        description: The name of the indexer for which to retrieve status.
        schema:
          type: string
      - $ref: '#/components/parameters/ClientRequestIdParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      x-ms-request-id: request-id
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchIndexerStatus'
        default:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchError'
      summary: Microsoft Azure Get Indexers Indexername Search Status
components:
  schemas:
    SearchIndexer:
      properties:
        name:
          externalDocs:
            url: https://docs.microsoft.com/rest/api/searchservice/Naming-rules
          type: string
          description: The name of the indexer.
        description:
          type: string
          description: The description of the indexer.
        dataSourceName:
          type: string
          description: The name of the datasource from which this indexer reads data.
        skillsetName:
          type: string
          description: The name of the skillset executing with this indexer.
        targetIndexName:
          type: string
          description: The name of the index to which this indexer writes data.
        schedule:
          $ref: '#/components/schemas/IndexingSchedule'
          description: The schedule for this indexer.
        parameters:
          $ref: '#/components/schemas/IndexingParameters'
          description: Parameters for indexer execution.
        fieldMappings:
          type: array
          items:
            $ref: '#/components/schemas/FieldMapping'
          description: Defines mappings between fields in the data source and corresponding target fields in the index.
          externalDocs:
            url: https://docs.microsoft.com/azure/search/search-indexer-field-mappings
        outputFieldMappings:
          type: array
          items:
            $ref: '#/components/schemas/FieldMapping'
          description: Output field mappings are applied after enrichment and immediately before indexing.
          externalDocs:
            url: https://docs.microsoft.com/azure/search/search-indexer-field-mappings
        disabled:
          x-ms-client-name: IsDisabled
          type: boolean
          default: false
          description: A value indicating whether the indexer is disabled. Default is false.
        '@odata.etag':
          x-ms-client-name: ETag
          type: string
          description: The ETag of the indexer.
      required:
      - name
      - dataSourceName
      - targetIndexName
      externalDocs:
        url: https://docs.microsoft.com/rest/api/searchservice/Indexer-operations
      description: Represents an indexer.
    ListIndexersResult:
      properties:
        value:
          x-ms-client-name: Indexers
          type: array
          readOnly: true
          items:
            $ref: '#/components/schemas/SearchIndexer'
          description: The indexers in the Search service.
      required:
      - value
      description: Response from a List Indexers request. If successful, it includes the full definitions of all indexers.
    IndexingSchedule:
      properties:
        interval:
          type: string
          format: duration
          description: The interval of time between indexer executions.
        startTime:
          type: string
          format: date-time
          description: The time when an indexer should start running.
      required:
      - interval
      description: Represents a schedule for indexer execution.
    SearchError:
      properties:
        code:
          type: string
          readOnly: true
          description: One of a server-defined set of error codes.
        message:
          type: string
          readOnly: true
          description: A human-readable representation of the error.
        details:
          type: array
          items:
            $ref: '#/components/schemas/SearchError'
          readOnly: true
          description: An array of details about specific errors that led to this reported error.
      required:
      - message
      description: Describes an error condition for the Azure Cognitive Search API.
    IndexerExecutionResult:
      properties:
        status:
          $ref: '#/components/schemas/IndexerExecutionStatus'
          readOnly: true
          description: The outcome of this indexer execution.
        errorMessage:
          type: string
          readOnly: true
          description: The error message indicating the top-level error, if any.
        startTime:
          type: string
          format: date-time
          readOnly: true
          description: The start time of this indexer execution.
        endTime:
          type: string
          format: date-time
          readOnly: true
          description: The end time of this indexer execution, if the execution has already completed.
        errors:
          type: array
          readOnly: true
          items:
            $ref: '#/components/schemas/SearchIndexerError'
          description: The item-level indexing errors.
        warnings:
          type: array
          readOnly: true
          items:
            $ref: '#/components/schemas/SearchIndexerWarning'
          description: The item-level indexing warnings.
        itemsProcessed:
          x-ms-client-name: ItemCount
          type: integer
          format: int32
          readOnly: true
          description: The number of items that were processed during this indexer execution. This includes both successfully processed items and items where indexing was attempted but failed.
        itemsFailed:
          x-ms-client-name: FailedItemCount
          type: integer
          format: int32
          readOnly: true
          description: The number of items that failed to be indexed during this indexer execution.
        initialTrackingState:
          type: string
          readOnly: true
          description: Change tracking state with which an indexer execution started.
        finalTrackingState:
          type: string
          readOnly: true
          description: Change tracking state with which an indexer execution finished.
      required:
      - status
      - errors
      - warnings
      - itemsProcessed
      - itemsFailed
      description: Represents the result of an individual indexer execution.
    IndexingParameters:
      properties:
        batchSize:
          type: integer
          format: int32
          description: The number of items that are read from the data source and indexed as a single batch in order to improve performance. The default depends on the data source type.
        maxFailedItems:
          type: integer
          format: int32
          default: 0
          description: The maximum number of items that can fail indexing for indexer execution to still be considered successful. -1 means no limit. Default is 0.
        maxFailedItemsPerBatch:
          type: integer
          format: int32
          default: 0
          description: The maximum number of items in a single batch that can fail indexing for the batch to still be considered successful. -1 means no limit. Default is 0.
        configuration:
          type: object
          additionalProperties:
            type: object
          description: A dictionary of indexer-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type.
      description: Represents parameters for indexer execution.
    SearchIndexerStatus:
      properties:
        status:
          $ref: '#/components/schemas/IndexerStatus'
          readOnly: true
          description: Overall indexer status.
        lastResult:
          $ref: '#/components/schemas/IndexerExecutionResult'
          readOnly: true
          description: The result of the most recent or an in-progress indexer execution.
        executionHistory:
          type: array
          readOnly: true
          items:
            $ref: '#/components/schemas/IndexerExecutionResult'
          description: History of the recent indexer executions, sorted in reverse chronological order.
        limits:
          $ref: '#/components/schemas/SearchIndexerLimits'
          readOnly: true
          description: The execution limits for the indexer.
      required:
      - status
      - executionHistory
      - limits
      description: Represents the current status and execution history of an indexer.
    FieldMapping:
      properties:
        sourceFieldName:
          type: string
          description: The name of the field in the data source.
        targetFieldName:
          type: string
          description: The name of the target field in the index. Same as the source field name by default.
        mappingFunction:
          $ref: '#/components/schemas/FieldMappingFunction'
          description: A function to apply to each source field value before indexing.
      required:
      - sourceFieldName
      description: Defines a mapping between a field in a data source and a target field in an index.
      externalDocs:
        url: https://docs.microsoft.com/azure/search/search-indexer-field-mappings
    IndexerStatus:
      type: string
      enum:
      - unknown
      - error
      - running
      x-ms-enum:
        name: IndexerStatus
        modelAsString: false
        values:
        - value: unknown
          name: Unknown
          description: Indicates that the indexer is in an unknown state.
        - value: error
          name: Error
          description: Indicates that the indexer experienced an error that cannot be corrected without human intervention.
        - value: running
          name: Running
          description: Indicates that the indexer is running normally.
      description: Represents the overall indexer status.
    FieldMappingFunction:
      properties:
        name:
          type: string
          description: The name of the field mapping function.
        parameters:
          type: object
          additionalProperties:
            type: object
          description: A dictionary of parameter name/value pairs to pass to the function. Each value must be of a primitive type.
      required:
      - name
      description: Represents a function that transforms a value from a data source before indexing.
      externalDocs:
        url: https://docs.microsoft.com/azure/search/search-indexer-field-mappings
    SearchIndexerWarning:
      properties:
        key:
          type: string
          readOnly: true
          description: The key of the item which generated a warning.
        message:
          type: string
          readOnly: true
          description: The message describing the warning that occurred while processing the item.
        name:
          type: string
          readOnly: true
          description: The name of the source at which the warning originated. For example, this could refer to a particular skill in the attached skillset. This may not be always available.
        details:
          type: string
          readOnly: true
          description: Additional, verbose details about the warning to assist in debugging the indexer. This may not be always available.
        documentationLink:
          type: string
          readOnly: true
          description: A link to a troubleshooting guide for these classes of warnings. This may not be always available.
      required:
      - message
      description: Represents an item-level warning.
    SearchIndexerLimits:
      properties:
        maxRunTime:
          type: string
          format: duration
          readOnly: true
          description: The maximum duration that the indexer is permitted to run for one execution.
        maxDocumentExtractionSize:
          type: number
          format: int64
          readOnly: true
          description: The maximum size of a document, in bytes, which will be considered valid for indexing.
        maxDocumentContentCharactersToExtract:
          type: number
          format: int64
          readOnly: true
          description: The maximum number of characters that will be extracted from a document picked up for indexing.
    IndexerExecutionStatus:
      type: string
      enum:
      - transientFailure
      - success
      - inProgress
      - reset
      x-ms-enum:
        name: IndexerExecutionStatus
        modelAsString: false
        values:
        - value: transientFailure
          name: TransientFailure
          description: An indexer invocation has failed, but the failure may be transient. Indexer invocations will continue per schedule.
        - value: success
          name: Success
          description: Indexer execution completed successfully.
        - value: inProgress
          name: InProgress
          description: Indexer execution is in progress.
        - value: reset
          name: Reset
          description: Indexer has been reset.
      description: Represents the status of an individual indexer execution.
    SearchIndexerError:
      properties:
        key:
          type: string
          readOnly: true
          description: The key of the item for which indexing failed.
        errorMessage:
          type: string
          readOnly: true
          description: The message describing the error that occurred while processing the item.
        statusCode:
          type: integer
          format: int32
          readOnly: true
          description: 'The status code indicating why the indexing operation failed. Possible values include: 400 for a malformed input document, 404 for document not found, 409 for a version conflict, 422 when the index is temporarily unavailable, or 503 for when the service is too busy.'
        name:
          type: string
          readOnly: true
          description: The name of the source at which the error originated. For example, this could refer to a particular skill in the attached skillset. This may not be always available.
        details:
          type: string
          readOnly: true
          description: Additional, verbose details about the error to assist in debugging the indexer. This may not be always available.
        documentationLink:
          type: string
          readOnly: true
          description: A link to a troubleshooting guide for these classes of errors. This may not be always available.
      required:
      - errorMessage
      - statusCode
      description: Represents an item- or document-level indexing error.
  parameters:
    IfMatchParameter:
      name: If-Match
      in: header
      required: false
      description: Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.
      x-ms-parameter-location: method
      schema:
        type: string
    ClientRequestIdParameter:
      name: x-ms-client-request-id
      in: header
      required: false
      description: The tracking ID sent with the request to help with debugging.
      x-ms-client-request-id: true
      x-ms-parameter-grouping:
        name: request-options
      x-ms-parameter-location: method
      schema:
        type: string
        format: uuid
    IfNoneMatchParameter:
      name: If-None-Match
      in: header
      required: false
      description: Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.
      x-ms-parameter-location: method
      schema:
        type: string
    PreferHeaderParameter:
      name: Prefer
      in: header
      required: true
      description: For HTTP PUT requests, instructs the service to return the created/updated resource on success.
      x-ms-parameter-location: method
      schema:
        type: string
        enum:
        - return=representation
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: Client Api Version.
      schema:
        type: string
x-ms-parameterized-host:
  hostTemplate: '{endpoint}'
  useSchemePrefix: false
  parameters:
  - $ref: '#/components/parameters/EndpointParameter'
x-provenance:
  method: harvested
  publisher: Microsoft Azure
  source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/search/data-plane/Microsoft.Azure.Search.Service/preview/2017-11-11-preview/searchservice.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)