1. Create classification

POST /documentClassification/createClassification

Initiates a new document classification process. This endpoint allows you to define a classification with a list of possible document types. Once created, you can use the returned classificationId to upload documents for type prediction.

Server URL

https://api.extracta.ai/api/v1

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Required
Description

name

string

true

A name for the classification.

description

string

false

A description for the classification.

documentTypes

object

true

An array of objects, each specifying a document type.

πŸ’‘ Need help defining documentTypes?

Each item in the documentTypes array represents a document category used for classification (e.g., Invoice, Receipt). To learn how to properly define a document type β€” including required fields, keyword strategy, and optional data extraction linkage β€” refer to the Document Types page.

Body Example

Code Example

Responses

Last updated

Was this helpful?