Pre-QC API
Get Pre-QC results for a batch
GET /api/pre-qc/results?batchId={batch_id}Returns all Pre-QC results for the files in a batch.
Response
{
"results": [
{
"id": "uuid",
"file_id": "uuid",
"file_name": "filename.pdf",
"status": "completed",
"summary": "pass",
"checks": [
{
"check_id": "dimension_check",
"label": "Dimensions",
"status": "pass",
"confidence": 0.98,
"details": "300×250px — correct"
}
]
}
]
}Pre-QC analytics
GET /api/pre-qc/analytics/agencies?from={date}&to={date}Returns aggregated Pre-QC pass/fail metrics grouped by agency. Requires coordinator or higher access.
Pre-QC settings (enabling checks, configuring thresholds) are managed through the Settings → Pre-QC interface in the application. Contact your QC Tool administrator to adjust settings.