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

# Classify Document Types Endpoint

`POST /document-types/classify`

## Request

- Base URL: `https://api.kobaltlabs.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kobaltlabs.com/document-types/classify`
- Auth: none declared

## 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/kobaltlabs-api.md) - [All operations](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/revisions/8587332d5e43?raw)
