Download mill certification
Downloads mill certification data. Returns ZIP archive of scanned PDFs (application/zip) when export=scans, or CSV with certification details (text/csv) when export=csv. Default export is scans. For scans export, use groupBy parameter to group files by 'page' (default) or 'heat'.
path Parameters
companyIdThe unique identifier of the company. Example: 11111111-2222-3333-4444-555555555555
millCertificationIdThe unique identifier of the mill certification. Example: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
query Parameters
exportExport format: 'scans' (default, returns application/zip with PDFs) or 'csv' (returns text/csv with details)
groupByFor scans export only: 'page' (default) or 'heat' to group files in the ZIP archive
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Download mill certification › Responses
Success - content type varies based on export parameter (application/zip for scans, text/csv for CSV export)
Generate branded Material Test Certificate PDF
Generates a branded landscape A4 PDF derived from an ingested mill certification. Includes a DRAFT watermark when the certificate has not been approved. The generated PDF is stored in blob storage for audit purposes.
path Parameters
companyIdThe unique identifier of the company
millCertificationIdThe unique identifier of the mill certification to derive the report from
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Generate branded Material Test Certificate PDF › Responses
Generated PDF returned as a file download
Get mill certification details
Retrieves detailed information about a specific mill certification including document-level metadata (supplier, mill, standard, quality, production process, CARES QR, certificate date, customer), pages, heats with chemical composition, and mechanical properties
path Parameters
companyIdThe unique identifier of the company. Example: 11111111-2222-3333-4444-555555555555
millCertificationIdThe unique identifier of the mill certification. Example: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Get mill certification details › Responses
Mill certification details retrieved successfully
newFileNamedefenderResultIddateInserteddateModifiedheatCodesmillCertificationIdcompanyIdoriginalFileNamestorageFileNamestatusmillCertificationStatusLabelmillCertificationStatusNotesmillCertificationStatusTypeUpload a mill certification
Uploads a single mill certification PDF with rate limiting and validation. The client supplies the mill certification GUID.
path Parameters
companyIdThe unique identifier of the company. Example: 11111111-2222-3333-4444-555555555555
millCertificationIdClient-generated GUID that identifies this mill certification. Used as the record ID and the blob storage file name.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Upload a mill certification › Responses
Mill certification uploaded successfully
millCertificationIdcompanyIddefenderResultIdoriginalFileNamenewFileNamestorageFileNamestatusisTestRunGet mill certification PDF page content
Streams the PDF content for a specific mill certification page. Use this endpoint to render PDFs without cross-origin issues.
path Parameters
companyIdThe unique identifier of the company
millCertificationIdThe unique identifier of the mill certification
millCertificationPageIdThe unique identifier of the mill certification page
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Get mill certification PDF page content › Responses
PDF content streamed successfully
Get signed URLs for mill certification PDF pages
Retrieves time-limited signed URLs for accessing mill certification PDF page blobs
path Parameters
companyIdThe unique identifier of the company
millCertificationIdThe unique identifier of the mill certification
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Get signed URLs for mill certification PDF pages › Responses
PDF URLs retrieved successfully
millCertificationPageIdpageFileNamepageNumbersignedUrlList mill certifications
Retrieves a list of all mill certifications for a company
path Parameters
companyIdThe unique identifier of the company. Example: 11111111-2222-3333-4444-555555555555
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
List mill certifications › Responses
List of mill certifications retrieved successfully
newFileNamedefenderResultIddateInserteddateModifiedheatCodesmillCertificationIdcompanyIdoriginalFileNamestorageFileNamestatusmillCertificationStatusLabelmillCertificationStatusNotesmillCertificationStatusTypeManually create a mill certification
Creates a mill certification with user-provided data. The PDF is stored in a separate container and no AI pipeline is triggered.
path Parameters
companyIdThe unique identifier of the company.
millCertificationIdClient-generated GUID that identifies this mill certification.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Manually create a mill certification › Responses
Mill certification created successfully
millCertificationIdcompanyIdoriginalFileNamestorageFileNamestatusisTestRunsuppliermillstandardqualityproductionProcesscaresQRcertificateDatecustomerNamecustomerAddressReview a mill certification
Submits or updates a review decision (Approved or Issue) for a completed mill certification.
path Parameters
companyIdThe unique identifier of the company
millCertificationIdThe unique identifier of the mill certification
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Review a mill certification › Request Body
reviewStatuscommentReview a mill certification › Responses
Review submitted successfully
millCertificationIdreviewStatusreviewStatusLabelreviewCommentreviewedByNamereviewedAtmessageUpdate mill certification data
Persists the full mill certification state — document-level fields, heat records, and mechanical property records — in a single request. The frontend sends the complete object as it expects it to be after save. Each section is optional; omitted sections are not touched.
path Parameters
companyIdThe unique identifier of the company.
millCertificationIdThe unique identifier of the mill certification.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Update mill certification data › Request Body
deletedHeatIdsdeletedMechanicalPropertyIdsUpdate mill certification data › Responses
All changes persisted successfully
deletedHeatIdsdeletedMechanicalPropertyIds
