---
title: "GET /documentModels"
method: GET
path: "/documentModels"
---

# GET /documentModels

`GET /documentModels`

List all document models

## Query parameters

- `api-version` string, required

## Headers

- `x-ms-client-request-id` string, uuid

## Response `200`

The request has succeeded.

- PagedDocumentModelDetails — Paged collection of DocumentModelDetails items
  - `value` DocumentModelDetails[], required — The DocumentModelDetails items on this page
    - `modelId` string, required — Unique document model name.
    - `description` string — Document model description.
    - `createdDateTime` string, date-time, required — Date and time (UTC) when the document model was created.
    - `expirationDateTime` string, date-time — Date and time (UTC) when the document model will expire.
    - `modifiedDateTime` string, date-time — Date and time (UTC) when the document model was last modified.
    - `apiVersion` string — API version used to create this document model.
    - `tags` object — List of key-value tag attributes associated with the document model.
    - `buildMode` 'template' | 'neural' — Custom document model build mode.
    - `azureBlobSource` AzureBlobContentSource — Azure Blob Storage content.
      - `containerUrl` string, uri, required — Azure Blob Storage container URL.
      - `prefix` string — Blob name prefix.
    - `azureBlobFileListSource` AzureBlobFileListContentSource — File list in Azure Blob Storage.
      - `containerUrl` string, uri, required — Azure Blob Storage container URL.
      - `fileList` string, required — Path to a JSONL file within the container specifying a subset of documents.
    - `classifierId` string — For composed models, the custom classifier to split and classify the input file.
    - `split` 'auto' | 'none' | 'perPage' — For composed models, the file splitting behavior.
    - `docTypes` object — Supported document types.
    - `warnings` DocumentIntelligenceWarning[] — List of warnings encountered while building the model.
      - `code` string, required — One of a server-defined set of warning codes.
      - `message` string, required — A human-readable representation of the warning.
      - `target` string — The target of the error.
    - `trainingHours` number, float — Number of V100-equivalent GPU hours consumed for model training.
  - `nextLink` string, uri — The link to the next page of items

## 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)
