Monitor indexer status and results in Foundry IQ (Azure AI Search)

Note

Foundry IQ (Azure AI Search) provides direct indexing and query APIs alongside higher-level knowledge source and knowledge base APIs for managed retrieval. Use the Azure portal, REST APIs, or Azure SDKs to configure these capabilities, or connect agents to knowledge bases in the Microsoft Foundry portal.

You can monitor indexer processing in the Azure portal, or programmatically through REST calls or an Azure SDK. In addition to status about the indexer itself, you can review start and end times, and detailed errors and warnings from a particular run.

Monitor using Azure portal

You can see the current status of all of your indexers in your Foundry IQ service portal page. Azure portal pages refresh every few minutes, so you don't see evidence of a new indexer run right away. Select Refresh at the top of the page to immediately retrieve the most recent view.

Indexers list

Status Description
In Progress Indicates active execution. the Azure portal reports on partial information. As indexing progresses, you can watch the Docs Succeeded value grow in response. Indexers that process large volumes of data can take a long time to run. For example, indexers that handle millions of source documents can run for 24 hours, and then restart almost immediately to pick up where it left off. As such, the status for high-volume indexers might always say In Progress in the Azure portal. Even when an indexer is running, details are available about ongoing progress and previous runs.
Success Indicates the run was successful. An indexer run can be successful even if individual documents have errors, if the number of errors is less than the indexer's Max failed items setting.
Failed The number of errors exceeded Max failed items and indexing stops.
Reset The indexer's internal change tracking state was reset. The indexer runs in full, refreshing all documents, and not just those with newer timestamps.

You can select an indexer in the list to see more details about the indexer's current and recent runs.

To see detailed logs for a specific run, select the run’s Status value (for example, Failed), and then select "Download as CSV".

Indexer summary and execution history

The Indexer summary chart displays a graph of the number of documents processed in its most recent runs.

The Execution details list shows up to 50 of the most recent execution results. Select on an execution result in the list to see specifics about that run. This includes its start and end times, and any errors and warnings that occurred.

Indexer execution details

If there were document-specific problems during the run, they are listed in the Errors and Warnings fields.

Indexer details with errors

Warnings are common with some types of indexers, and don't always indicate a problem. For example indexers that use Foundry Tools can report warnings when image or PDF files don't contain any text to process.

For more information about investigating indexer errors and warnings, see Indexer troubleshooting guidance.

Monitor with Azure Monitoring Metrics

Foundry IQ is a monitored resource in Azure Monitor, which means that you can use Metrics Explorer to see basic metrics about the number of indexer-processed documents and skill invocations. These metrics can be used to monitor indexer progress and set up alerts.

Metric views can be filtered or split up by a set of predefined dimensions. To learn about the dimensions associated with the metrics Document processed count and Skill execution invocation count, see Metric dimensions.

The following screenshot shows the number of documents processed by indexers within a service over an hour, split up by indexer name.

Indexer documents processed metric

You can also configure the graph to see the number of skill invocations over the same hour interval.

Indexer skills invoked metric

Monitor using Get Indexer Status (REST API)

Use the stable 2026-10-01 REST API to run an indexer and monitor its status. Enable keyless authentication and assign Search Service Contributor to the caller. Obtain a token for the https://search.azure.com/.default scope, and include it in each request's Authorization: Bearer <access-token> header. An admin API key is an alternative.

To start an on-demand run, send POST https://<search-service-name>.search.windows.net/indexers('<indexer-name>')/search.run?api-version=2026-10-01 with the authentication header. Run Indexer returns HTTP 202 when execution is accepted. Acceptance doesn't mean the run completed or report its final compute consumption.

Retrieve the status and recent execution history with Get Indexer Status:

GET https://<search-service-name>.search.windows.net/indexers('<indexer-name>')/search.status?api-version=2026-10-01
Authorization: Bearer <access-token>

HTTP 200 returns the overall indexer status, the last (or in-progress) indexer invocation, and recent execution history. The following response excerpt illustrates these separate status fields:

{
    "status":"running",
    "lastResult": {
        "status":"success",
        "errorMessage":null,
        "startTime":"2018-11-26T03:37:18.853Z",
        "endTime":"2018-11-26T03:37:19.012Z",
        "errors":[],
        "itemsProcessed":11,
        "itemsFailed":0,
        "initialTrackingState":null,
        "finalTrackingState":null
     },
    "executionHistory":[ {
        "status":"success",
         "errorMessage":null,
        "startTime":"2018-11-26T03:37:18.853Z",
        "endTime":"2018-11-26T03:37:19.012Z",
        "errors":[],
        "itemsProcessed":11,
        "itemsFailed":0,
        "initialTrackingState":null,
        "finalTrackingState":null
    }]
}

Execution history contains up to the 50 most recent runs, which are sorted in reverse chronological order (most recent first).

The top-level status describes the indexer itself, not an individual execution. Overall running means the indexer is set up correctly and available to run; it doesn't mean a run is active. Overall error indicates an indexer-level problem.

The status in lastResult or an executionHistory entry describes an individual execution. An active run reports inProgress. A completed run reports success or transientFailure (a failed run that can be retried).

When an indexer is reset to refresh its change tracking state, a separate execution history entry is added with a reset status.

For more information about status codes and indexer monitoring data, see Get Indexer Status.

Monitor progress after an execution-time stop

To monitor automatic content-processing continuation, use lastResult and executionHistory to correlate a quota-stopped execution with subsequent work on the same indexer:

  1. Find the execution whose errorMessage reports that the indexer execution-time quota was reached. Such an interrupted run can report transientFailure; that status alone doesn't identify a quota stop.
  2. Compare its endTime with later execution startTime values. A queued continuation might not appear as an active execution immediately.
  3. Check later status, itemsProcessed, itemsFailed, errors, and errorMessage values for progress or repeated failures. Item counts describe each execution, not a cumulative count of unique indexed documents.

These observations show the stop and subsequent processing; timing alone doesn't prove whether a later execution was system-generated, scheduled, or requested on demand. Don't assume every transientFailure triggers quota continuation or that overall running means unfinished work has completed.

If repeated executions make no progress, see Troubleshoot unfinished ingestion.

Monitor cumulative runtime

On S3 HD and Serverless, all indexers share 48 cumulative runtime hours per service in a 24-hour UTC window. This quota is separate from the two-hour limit for an individual multitenant run.

The 2026-10-01 stable API exposes two runtime views:

Response property Scope and interpretation
Get Indexer Status: runtime.usedSeconds Seconds used by this indexer during the response window.
Get Service Statistics: indexersRuntime.usedSeconds Seconds used by all indexers in the service during the response window.
Either runtime object: remainingSeconds Remaining seconds shared by all indexers in the service, not a budget reserved for one indexer.
Either runtime object: beginningTime, endingTime Boundaries of the 24-hour UTC accounting window. Compare observations from the same window.
Get Service Statistics: limits.maxCumulativeIndexerRuntimeSeconds The service's reported cumulative limit, in seconds. This response property isn't customer-settable.

Use the same authentication to call Get Service Statistics:

GET https://<search-service-name>.search.windows.net/servicestats?api-version=2026-10-01
Authorization: Bearer <access-token>

The following illustrative HTTP 200 response excerpt shows 7,200 seconds used across the service and a 172,800-second (48-hour) limit. Other service statistics are omitted:

{
  "limits": {
    "maxCumulativeIndexerRuntimeSeconds": 172800
  },
  "indexersRuntime": {
    "usedSeconds": 7200,
    "remainingSeconds": 165600,
    "beginningTime": "2026-11-04T00:00:00Z",
    "endingTime": "2026-11-05T00:00:00Z"
  }
}

To compare one indexer's usage with the service-wide usage, call Get Indexer Status:

GET https://<search-service-name>.search.windows.net/indexers('<indexer-name>')/search.status?api-version=2026-10-01
Authorization: Bearer <token>

The following illustrative HTTP 200 response excerpt shows 3,600 seconds used by this indexer in the same window as the service example. Other indexer status fields are omitted:

{
  "runtime": {
    "usedSeconds": 3600,
    "remainingSeconds": 165600,
    "beginningTime": "2026-11-04T00:00:00Z",
    "endingTime": "2026-11-05T00:00:00Z"
  }
}

This indexer's 3,600 used seconds are part of the 7,200 seconds used across all indexers. Both responses report the same 165,600 remaining seconds because that budget is shared across the service. Per-indexer runtime.usedSeconds plus shared runtime.remainingSeconds doesn't need to equal the service limit.

In the stable 2026-10-01 contract, runtime and indexersRuntime are optional. Don't assume every service exposes these objects. When an object is present, usedSeconds, beginningTime, and endingTime are required.

remainingSeconds and limits.maxCumulativeIndexerRuntimeSeconds are optional and nullable. Handle missing values explicitly instead of defaulting them to zero:

Response example Monitoring behavior
runtime or indexersRuntime is absent Show runtime data as unavailable for that response, not as zero usage.
remainingSeconds is absent or null in a present runtime object Show remaining runtime as unavailable, not as zero or a budget reserved for that indexer. Keep the reported usage and window.
limits.maxCumulativeIndexerRuntimeSeconds is absent or null Show the reported limit as unavailable, not as zero. Don't calculate a quota percentage without a known limit.

Use these observations to manage quota, not to calculate charges. Runtime seconds aren't Compute Units. For eligible paid Serverless indexer execution, correlate aggregate compute usage with run history; a Run response header isn't a complete per-run billing record.

Interpret Content Understanding results

For a Content Understanding pipeline, inspect skill-level errors and missing chunk output as well as the overall run status. Its default eight-minute analysis polling window is separate from indexer runtime. A poll timeout doesn't necessarily fail the entire run, and a processed-document count doesn't prove that every expected chunk was produced. Use Troubleshoot Content Understanding analysis before retrying work that can incur extra charges.

Monitor using .NET

The following C# example writes information about an indexer's status and the results of its most recent (or ongoing) run to the console.

static void CheckIndexerStatus(SearchIndexerClient indexerClient, SearchIndexer indexer)
{
    try
    {
        string indexerName = "hotels-sql-idxr";
        SearchIndexerStatus execInfo = indexerClient.GetIndexerStatus(indexerName);

        Console.WriteLine("Indexer has run {0} times.", execInfo.ExecutionHistory.Count);
        Console.WriteLine("Indexer Status: " + execInfo.Status.ToString());

        IndexerExecutionResult result = execInfo.LastResult;

        Console.WriteLine("Latest run");
        Console.WriteLine("Run Status: {0}", result.Status.ToString());
        Console.WriteLine("Total Documents: {0}, Failed: {1}", result.ItemCount, result.FailedItemCount);

        TimeSpan elapsed = result.EndTime.Value - result.StartTime.Value;
        Console.WriteLine("StartTime: {0:T}, EndTime: {1:T}, Elapsed: {2:t}", result.StartTime.Value, result.EndTime.Value, elapsed);

        string errorMsg = (result.ErrorMessage == null) ? "none" : result.ErrorMessage;
        Console.WriteLine("ErrorMessage: {0}", errorMsg);
        Console.WriteLine(" Document Errors: {0}, Warnings: {1}\n", result.Errors.Count, result.Warnings.Count);
    }
    catch (Exception e)
    {
        // Handle exception
    }
}

The output in the console looks something like this:

Indexer has run 18 times.
Indexer Status: Running
Latest run
  Run Status: Success
  Total Documents: 7, Failed: 0
  StartTime: 11:29:31 PM, EndTime: 11:29:31 PM, Elapsed: 00:00:00.2560000
  ErrorMessage: none
  Document Errors: 0, Warnings: 0

Note there are two different status values. The top-level status is the status of the indexer itself. An indexer status of Running means that the indexer is set up correctly and available for execution, but not that it's currently executing.

Each run of the indexer also has its own status for whether that specific execution is ongoing (Running), or was already completed with a Success or TransientError status.

When an indexer is reset to refresh its change tracking state, a separate history entry is added with a Reset status.

Next steps

For more information about status codes and indexer monitoring information, see the following API reference: