This endpoint retrieves the classification results for a specific batch of documents.
By providing the classificationId and batchId, you can obtain the predicted document types for each file in the batch,.
Optionally, including a fileId will return results for that specific file only. This is useful for retrieving targeted results without querying the entire batch.
Server URL
https://api.extracta.ai/api/v1
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Required
Description
classificationId
string
true
The ID of the classification.
batchId
string
true
The ID of the batch.
fileId
string
false
The ID of the file.
Body Example
β οΈ Important
To avoid rate-limiting, please ensure a delay of 2 seconds between consecutive requests to this endpoint.
Code Example
Responses
In case a file is linked to an extraction template, the response will also include an extraction object with:
extractionId β the ID of the created extraction job
batchId β the batch in which the file was processed
fileId β the ID of the file that was uploaded and processed in the data extraction module