---
title: "POST /documentModels/{modelId}:analyze"
method: POST
path: "/documentModels/{modelId}:analyze"
---

# POST /documentModels/{modelId}:analyze

`POST /documentModels/{modelId}:analyze`

Analyzes document with document model.

## Path parameters

- `modelId` string, required

## Query parameters

- `api-version` string, required
- `pages` string
- `locale` string
- `stringIndexType` 'textElements' | 'unicodeCodePoint' | 'utf16CodeUnit'
- `features` string[]
- `queryFields` string[]
- `outputContentFormat` 'text' | 'markdown'
- `output` string[]

## Response `202`

The request has been accepted for processing, but processing has not yet completed.

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