---
title: "Classify Document Types Endpoint"
method: POST
path: "/document-types/classify"
tags: ["document-types"]
---

# Classify Document Types Endpoint

`POST /document-types/classify`

## Request body

- ClassifyFileTypeRequest
  - `filenames` string[], required
  - `categories` DocumentCategory[], nullable
  - `scope` 'vendor' | 'internal', required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/kobaltlabs/apis/fastapi.md) · [All operations](https://skmtc.dev/kobaltlabs/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kobaltlabs/fastapi/revisions/3ff4c0bd276b/schema)
