---
title: "Returns the status for all documents in a batch document translation request"
method: GET
path: "/document/batches/{id}/documents"
---

# Returns the status for all documents in a batch document translation request

`GET /document/batches/{id}/documents`

Returns the status for all documents in a batch document translation request.
 
          
If the number of documents in the response exceeds our paging limit,
server-side paging is used.
Paginated responses indicate a partial result and
include a continuation token in the response. The absence of a continuation
token means that no additional pages are available.
            
top, skip
and maxpagesize query parameters can be used to specify a number of results to
return and an offset for the collection.
            
top indicates the total
number of records the user wants to be returned across all pages.
skip
indicates the number of records to skip from the list of document status held
by the server based on the sorting method specified.  By default, we sort by
descending start time.
maxpagesize is the maximum items returned in a page. 
If more items are requested via top (or top is not specified and there are
more items to be returned), @nextLink will contain the link to the next page.
 
          
orderby query parameter can be used to sort the returned list (ex
"orderby=createdDateTimeUtc asc" or "orderby=createdDateTimeUtc
desc").
The default sorting is descending by createdDateTimeUtc.
Some query
parameters can be used to filter the returned list (ex:
"status=Succeeded,Cancelled") will only return succeeded and cancelled
documents.
createdDateTimeUtcStart and createdDateTimeUtcEnd can be used
combined or separately to specify a range of datetime to filter the returned
list by.
The supported filtering query parameters are (status, ids,
createdDateTimeUtcStart, createdDateTimeUtcEnd).
            
When both top
and skip are included, the server should first apply skip and then top on
the collection.
Note: If the server can't honor top and/or skip, the server
must return an error to the client informing about it instead of just ignoring
the query options.
This reduces the risk of the client making assumptions about
the data returned.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `api-version` string, required
- `top` integer
- `skip` integer
- `maxpagesize` integer
- `ids` string[]
- `statuses` string[]
- `createdDateTimeUtcStart` string, date-time
- `createdDateTimeUtcEnd` string, date-time
- `orderby` string[]

## Response `200`

The request has succeeded.

- DocumentsStatus — Documents Status Response
  - `value` DocumentStatus[], required — The detail status of individual documents
    - `path` string — Location of the document or folder
    - `sourcePath` string, required — Location of the source document
    - `createdDateTimeUtc` string, date-time, required — Operation created date time
    - `lastActionDateTimeUtc` string, date-time, required — Date time in which the operation's status has been updated
    - `status` 'NotStarted' | 'Running' | 'Succeeded' | 'Failed' | 'Cancelled' | 'Cancelling' | 'ValidationFailed', required — List of possible statuses for job or document
    - `to` string, required — To language
    - `error` TranslationError — This contains an outer error with error code, message, details, target and an inner error with more descriptive details.
      - `code` 'InvalidRequest' | 'InvalidArgument' | 'InternalServerError' | 'ServiceUnavailable' | 'ResourceNotFound' | 'Unauthorized' | 'RequestRateTooHigh', required — Enums containing high level error codes.
      - `message` string, required — Gets high level error message.
      - `target` string — Gets the source of the error. For example it would be "documents" or "document id" in case of invalid document.
      - `innerError` InnerTranslationError — New Inner Error format which conforms to Cognitive Services API Guidelines which is available at https://microsoft.sharepoint.com/%3Aw%3A/t/CognitiveServicesPMO/EUoytcrjuJdKpeOKIK_QRC8BPtUYQpKBi8JsWyeDMRsWlQ?e=CPq8ow. This contains required properties ErrorCode, message and optional properties target, details(key value pair), inner error(this can be nested).
        - `code` string, required — Gets code error string.
        - `message` string, required — Gets high level error message.
        - `target` string — Gets the source of the error. For example it would be "documents" or "document id" in case of invalid document.
        - `innerError` InnerTranslationError — recursive
    - `progress` number, float, required — Progress of the translation if available
    - `id` string, uuid, required — Universally Unique Identifier
    - `characterCharged` integer — Character charged by the API
    - `totalImageScansSucceeded` integer — Total image scans charged by the API
    - `totalImageScansFailed` integer — Total image scans failed
    - `imageCharged` integer — Images charged by the API
    - `imageCharacterDetected` integer — Characters detected within images
  - `nextLink` string — Url for the next page. Null if no more pages available

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2023-11-01-preview) `2a29f2b714b8` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/translation-documenttranslation/changes/document/batches/:id/documents/get.md)

---

[API](https://skmtc.dev/azure/apis/translation-documenttranslation.md) · [All operations](https://skmtc.dev/azure/apis/translation-documenttranslation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/translation-documenttranslation/revisions/f29cf344b9da/schema)
