Schemas
Problem
titlestatusdetailAccountSummary
accountIddisplayNamestatusmodetrainingConsentretentionDayspricePerCreditcurrencymonthlyCreditCapCreateJobRequest
modefileNameYour own name for the file, for your reference only.
scenarioMock accounts only: the canned sandbox result. Single: single-certificate, mixed-heats, low-confidence-supplier, delayed-completion. Pack: three-supplier-pack, pack-one-failed-child, split-failure. Rejected for live accounts.
Upload
urlmethodexpiresAtmaxBytesJobCertificate
certificateIdstatusJob
jobIdmodestatussubmitted: waiting for the malware scan. classifying: the AI stage up to the split. completedWithErrors: some certificates failed, the rest are returned and billed.
createdAtsubmittedAtcompletedAtfileNamepageCountscannedPageCountscenarioMock accounts only.
failureReasonPresent only while the job is waiting for its file.
JobList
nextCursorResultCertificate
certificateIdstatuslowConfidencetagsReserved for rule-based tagging in a later version; always empty today.
supplierclassificationConfidencepageCountresultThe full extraction document, served as stored.
errorJobResult
jobIdmodestatuswarningspageCountscannedPageCountfailureReasonUsageReportCertificate
creditsPages billed for this certificate (extraction).
certificateIdsupplieramountcredits x pricePerCredit, exact. Null when no price is agreed.
UsageReportJob
jobIdscanCreditsNon-blank pages scanned in pack mode.
extractCreditsPages extracted across the certificates.
creditsscanCredits + extractCredits.
amountcredits x pricePerCredit, exact. Null when no price is agreed.
UsageReportTotals
jobscertificatesscanCreditsextractCreditscreditsamountcredits x pricePerCredit rounded to two decimal places: the invoice figure. Null when no price is agreed.
UsageReport
monthperiodStartperiodEndExclusive end of the month.
finalTrue once the month has ended, so the figures cannot grow.
mockA mock account: never billed, so the report is empty.
capReachedThe month used at least the whole monthly credit cap.
pricePerCreditcurrencyISO 4217 code.
monthlyCreditCapPdfExportFile
nameFile name: {heat}-{supplier}.pdf, unassigned-{supplier}.pdf, {supplier}.pdf or {supplier}-{nn}.pdf; made filesystem-safe and unique.
urlRead-only signed link straight to storage; stops working at expiresAt.
pageCountunassignedTrue for the file holding a certificate's pages that belong to no heat.
certificateIdsheatThe heat code, for per-heat files.
supplierPdfExport
jobIdgroupByexpiresAtarchiveA ZIP of every file; absent when a heat filter was used or there is only one file.
WebhookEndpointRequest
urlHTTPS address, port 443, public host.
eventsDefaults to ["job.completed"].
WebhookEndpoint
endpointIdurleventscreatedAtupdatedAtrotationInProgressTrue while deliveries carry signatures for both the new and the previous secret.
secretPresent only in the response that created or rotated the secret; never retrievable again.

