The classification history of a document, oldest first (tenant:dms:read)
GET /api/dms/v1/documents/{id}/classifications
Module: DMS · operationId: listDocumentClassifications · Tag: Classification · Auth: access token (Authorization: Bearer <accessToken>)
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string (uuid) | yes |
Responses
- 200 Classifications (
application/json) - 404 Error (
application/json)
Fields of the 200 answer:
items(array of Classification, required): The classification history, oldest firstcategory(string, required): The proposed or chosen document typeconfidence(number, required): Confidence of the proposal (0–1) (max 1)createdAt(string (date-time), required): Time of the classificationdocumentId(string (uuid), required): Document idfinal(boolean, required): false: a proposal below the threshold that waits for reviewid(integer (int64), required): Entry idsource(string, required): ai = the classifier model, einvoice = the e-invoice XML, manual = a person (one ofai,einvoice,manual)targetModule(string, required): Module that processes documents of the type (one ofnone,trade.invoice,trade.delivery_note,trade.order_confirmation,hr)version(integer, required): Document version that was classifiedactor(string): Who chose the type (manual only)method(string): Kind of model (ai only) (one ofnative,llm)model(string): Model that answered (ai only)previousCategory(string): The type the document had beforereason(string): Short justification of the model, if given
total(integer, required): Number of entries
Example 200 answer:
{
"items": [
{
"category": "incoming_document",
"confidence": 1,
"createdAt": "2026-09-30T08:40:20Z",
"documentId": "3f6c2a1e-8b4d-4c7a-9e21-5d0b7a9c1f42",
"final": true,
"id": 4711,
"source": "einvoice",
"targetModule": "trade.invoice",
"version": 1
}
],
"total": 1
}
Example request
curl -X GET 'https://api.mbcom.cloud/api/dms/v1/documents/3f2b8c1e-7d4a-4e9b-9c2a-5b1d6e8f0a12/classifications' \
-H "Authorization: Bearer $ACCESS_TOKEN"