---
title: "POST /documentModels:compose"
method: POST
path: "/documentModels:compose"
---

# POST /documentModels:compose

`POST /documentModels:compose`

Creates a new document model from document types of existing document models.

## Query parameters

- `api-version` string, required

## Request body

- ComposeDocumentModelRequest — Request body to create a composed document model from component document models.
  - `modelId` string, required — Unique document model name.
  - `description` string — Document model description.
  - `classifierId` string, required — Custom classifier to split and classify the input file.
  - `split` 'auto' | 'none' | 'perPage' — File splitting behavior.
  - `docTypes` object, required — Dictionary mapping supported docTypes to the corresponding document models.
  - `tags` object — List of key-value tag attributes associated with the document model.

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