---
title: "POST /documentClassifiers:build"
method: POST
path: "/documentClassifiers:build"
---

# POST /documentClassifiers:build

`POST /documentClassifiers:build`

Builds a custom document classifier.

## Query parameters

- `api-version` string, required

## Request body

- BuildDocumentClassifierRequest — Request body to build a new custom document classifier.
  - `classifierId` string, required — Unique document classifier name.
  - `description` string — Document classifier description.
  - `baseClassifierId` string — Base classifierId on top of which to train the classifier.
  - `docTypes` object, required — List of document types to classify against.
  - `allowOverwrite` boolean — Allow overwriting an existing classifier with the same name.

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