---
title: "GET /documentModels/{modelId}/analyzeBatchResults/{resultId}"
method: GET
path: "/documentModels/{modelId}/analyzeBatchResults/{resultId}"
---

# GET /documentModels/{modelId}/analyzeBatchResults/{resultId}

`GET /documentModels/{modelId}/analyzeBatchResults/{resultId}`

Gets the result of batch document analysis.

## Path parameters

- `modelId` string, required
- `resultId` string, uuid, required

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

- AnalyzeBatchOperation — Status and result of the analyze batch operation.
  - `resultId` string, uuid — Universally Unique Identifier
  - `status` 'notStarted' | 'running' | 'failed' | 'succeeded' | 'canceled' | 'skipped', required — Operation status.
  - `createdDateTime` string, date-time, required — Date and time (UTC) when the operation was submitted.
  - `lastUpdatedDateTime` string, date-time, required — Date and time (UTC) when the status was last updated.
  - `percentCompleted` integer — Operation progress (0-100).
  - `error` DocumentIntelligenceError — The error object.
    - `code` string, required — One of a server-defined set of error codes.
    - `message` string, required — A human-readable representation of the error.
    - `target` string — The target of the error.
    - `details` DocumentIntelligenceError[] — An array of details about specific errors that led to this reported error.
    - `innererror` DocumentIntelligenceInnerError — An object containing more specific information about the error.
      - `code` string — One of a server-defined set of error codes.
      - `message` string — A human-readable representation of the error.
      - `innererror` DocumentIntelligenceInnerError — recursive
  - `result` AnalyzeBatchResult — Batch document analysis result.
    - `succeededCount` integer, required — Number of documents that completed with status succeeded.
    - `failedCount` integer, required — Number of documents that completed with status failed.
    - `skippedCount` integer, required — Number of documents that completed with status skipped.
    - `details` AnalyzeBatchOperationDetail[] — Operation detail for each document in the batch.
      - `status` 'notStarted' | 'running' | 'failed' | 'succeeded' | 'canceled' | 'skipped', required — Operation status.
      - `sourceUrl` string, uri, required — URL of the source document.
      - `resultUrl` string, uri — URL of the analyze result JSON.
      - `error` DocumentIntelligenceError — The error object.
        - `code` string, required — One of a server-defined set of error codes.
        - `message` string, required — A human-readable representation of the error.
        - `target` string — The target of the error.
        - `details` DocumentIntelligenceError[] — An array of details about specific errors that led to this reported error.
        - `innererror` DocumentIntelligenceInnerError — An object containing more specific information about the error.
          - `code` string — One of a server-defined set of error codes.
          - `message` string — A human-readable representation of the error.
          - `innererror` DocumentIntelligenceInnerError — recursive

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/ai-documentintelligence.md) · [All operations](https://skmtc.net/azure/apis/ai-documentintelligence/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/ai-documentintelligence/versions/3f750834da9e/schema)
