6. Get results
POST /documentClassification/getResults
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/v1Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
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 jobbatchIdβ the batch in which the file was processedfileIdβ the ID of the file that was uploaded and processed in the data extraction module
Last updated
Was this helpful?