API reference · v1.0.0
PDF Tagger API reference
Tag PDFs for PDF/UA accessibility from your own code. Authenticate with an API key, upload a PDF, submit a tagging job, then poll the job or receive a signed webhook when it finishes. To tag many PDFs at once, submit up to 100 uploads as one batch. Jobs draw from the same credit balance as the web app (1 credit per page).
Download the OpenAPI specBase URL
https://api.pdf-tagger.comAuthentication
Send your key as Authorization: Bearer sk_live_….
Header
Authorization: Bearer sk_live_...Account
Your account and credit balance.
Get account
The authenticated account, its plan, and its current credit balance.
Responses
200Account infoaccount_idstringplanstring | nullsubscription_statusstring | nullcredits_availableintegerrequest_idstring
401Missing, invalid, or revoked API keyerrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
429Rate limit exceeded (see the Retry-After header)Retry-Afterheader · integerSeconds until the window resets.
errorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
https://api.pdf-tagger.com/v1/meRequest
curl -X GET https://api.pdf-tagger.com/v1/me \
-H "Authorization: Bearer sk_live_..."Response 200
{
"account_id": "string",
"plan": "string",
"subscription_status": "string",
"credits_available": 0,
"request_id": "string"
}Response 401, 429
{
"error": {
"type": "string",
"message": "string",
"request_id": "string",
"errors": [
{
"index": 0,
"type": "string",
"message": "string"
}
]
}
}Jobs
Upload a PDF, submit a tagging job, and download the result.
Create upload
Returns a presigned POST. Upload the PDF straight to storage as multipart/form-data, including every field in fields plus the file, then pass key to POST /v1/jobs (one file) or POST /v1/batches (many files).
Request body (JSON)
filenamestringThe original filename (optional).
Responses
201Presigned uploadupload_urlstringfieldsobjectkeystringrequest_idstring
401Missing, invalid, or revoked API keyerrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
429Rate limit exceeded (see the Retry-After header)Retry-Afterheader · integerSeconds until the window resets.
errorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
https://api.pdf-tagger.com/v1/uploadsRequest
curl -X POST https://api.pdf-tagger.com/v1/uploads \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"filename": "string"
}'Response 201
{
"upload_url": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"key": "string",
"request_id": "string"
}Response 401, 429
{
"error": {
"type": "string",
"message": "string",
"request_id": "string",
"errors": [
{
"index": 0,
"type": "string",
"message": "string"
}
]
}
}Submit job
Submit a tagging job for an uploaded PDF. Charges one credit per page.
Parameters
Idempotency-Keyheader · stringA repeat with the same key returns the first job and never double-charges.
Request body (JSON, required)
keystringrequiredThe key from POST /v1/uploads.
filenamestringoptionsobjectocrboolean, default falseForce OCR on image-only pages.
embed_fontsboolean, default falseEmbed a non-embedded font when safe.
Responses
202Job acceptedidstringstatusstring: processing, completed, failedfilenamestring | nullcredits_usedintegeroptionsobject | nullcreated_atstring (date-time)request_idstring
400Invalid requesterrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
401Missing, invalid, or revoked API keyerrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
402Not enough creditserrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
409Idempotency conflict or a job still being createderrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
429Rate limit exceeded (see the Retry-After header)Retry-Afterheader · integerSeconds until the window resets.
errorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
https://api.pdf-tagger.com/v1/jobsRequest
curl -X POST https://api.pdf-tagger.com/v1/jobs \
-H "Authorization: Bearer sk_live_..." \
-H "Idempotency-Key: <Idempotency-Key>" \
-H "Content-Type: application/json" \
-d '{
"key": "string",
"filename": "string",
"options": {
"ocr": false,
"embed_fonts": false
}
}'Response 202
{
"id": "string",
"status": "processing",
"filename": "string",
"credits_used": 0,
"options": {},
"created_at": "2026-01-01T12:00:00Z",
"request_id": "string"
}Response 400, 401, 402, 409, 429
{
"error": {
"type": "string",
"message": "string",
"request_id": "string",
"errors": [
{
"index": 0,
"type": "string",
"message": "string"
}
]
}
}Get job
A job's current status — processing, completed, or failed.
Parameters
idpath · stringrequired
Responses
200Jobidstringstatusstring: processing, completed, failedfilenamestring | nullcredits_usedintegeroptionsobject | nullcreated_atstring (date-time)request_idstring
401Missing, invalid, or revoked API keyerrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
404No such resource for this accounterrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
429Rate limit exceeded (see the Retry-After header)Retry-Afterheader · integerSeconds until the window resets.
errorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
https://api.pdf-tagger.com/v1/jobs/{id}Request
curl -X GET https://api.pdf-tagger.com/v1/jobs/{id} \
-H "Authorization: Bearer sk_live_..."Response 200
{
"id": "string",
"status": "processing",
"filename": "string",
"credits_used": 0,
"options": {},
"created_at": "2026-01-01T12:00:00Z",
"request_id": "string"
}Response 401, 404, 429
{
"error": {
"type": "string",
"message": "string",
"request_id": "string",
"errors": [
{
"index": 0,
"type": "string",
"message": "string"
}
]
}
}Get result
A short-lived download URL for the tagged PDF, once the job is completed.
Parameters
idpath · stringrequired
Responses
200A presigned download URLresult_urlstringexpires_inintegerSeconds the URL is valid.
request_idstring
401Missing, invalid, or revoked API keyerrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
404No such resource for this accounterrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
409The job is not completed yeterrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
429Rate limit exceeded (see the Retry-After header)Retry-Afterheader · integerSeconds until the window resets.
errorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
https://api.pdf-tagger.com/v1/jobs/{id}/resultRequest
curl -X GET https://api.pdf-tagger.com/v1/jobs/{id}/result \
-H "Authorization: Bearer sk_live_..."Response 200
{
"result_url": "string",
"expires_in": 0,
"request_id": "string"
}Response 401, 404, 409, 429
{
"error": {
"type": "string",
"message": "string",
"request_id": "string",
"errors": [
{
"index": 0,
"type": "string",
"message": "string"
}
]
}
}Get report
The job's report, once the job is completed: the result and evidence for each of the accessibility requirements in PDF/UA-1, in the standard's order; the result for each WCAG 2.2 Level A and AA success criterion (wcag); and a short-lived download URL for the report PDF.
Parameters
idpath · stringrequired
Responses
200The reportjob_idstringstandardstringFor example "PDF/UA-1 (ISO 14289-1:2014)".
total_requirementsintegersummaryobjectHow many requirements have each result.
handledintegerfailedintegerneeds_reviewintegerfor_informationintegernot_applicableinteger
requirementsarrayidstringreferencestringThe ISO clause, for example "ISO 14289-1 section 7.5".
namestringlevelstring | null"shall" or "should".
sectionobjectidstringtitlestring
categorystringThe report category, for example "Tables".
resultstring: handled, failed, needs_review, for_information, not_applicablehandled: passed, or PDF Tagger met or fixed it. failed: a validator found it failing in the file. needs_review: a person must confirm it. for_information: a limit from the source file that you cannot act on. not_applicable: the document has no content of this kind.
evidencestring | nullThe evidence behind the result, as the web report shows it. Null for a plain pass.
wcagobjectBeta: the fields and the result names may change. Every WCAG 2.2 Level A and AA success criterion, and 4.1.1 from WCAG 2.0 and 2.1. Most results come from the PDF/UA-1 requirements behind the criterion (see
requirements); contrast, target size and required fields are also measured on the file.wcagis null for a report made before the WCAG view existed.standardstring"WCAG 2.2".
levelsstring"A and AA".
summariesarrayThe counts for WCAG 2.2 and for WCAG 2.1, each at Level AA (which includes Level A).
versionstring"2.2" or "2.1".
levelstring"AA".
total_criteriaintegersummaryobjectHow many of that version's criteria have each result.
handledintegerfailedintegerneeds_reviewintegerfor_informationintegernot_applicableinteger
criteriaarrayidstringThe success criterion, for example "1.1.1".
levelstring: A, AAversionsarrayThe WCAG versions it is in, for example ["2.0", "2.1", "2.2"].
titlestringThe W3C title, for example "Non-text Content".
namestringOur plain statement of the criterion.
principleobjectidstringtitlestring
guidelineobjectidstringtitlestring
resultstring: handled, failed, needs_review, for_information, not_applicableThe same results as a requirement. needs_review also covers a criterion that only a person can judge.
evidencestring | nullThe evidence behind the result, as the web report shows it.
pdfua_requirementsarrayThe ids of the PDF/UA-1 requirements the result comes from.
report_pdf_urlstring | nullA presigned URL for the report PDF, or null when the file is no longer stored.
expires_inintegerSeconds the URL is valid.
request_idstring
401Missing, invalid, or revoked API keyerrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
404No job with that id (not_found), or the job has no PDF/UA-1 report (report_unavailable).errorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
409The job is not completed yeterrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
429Rate limit exceeded (see the Retry-After header)Retry-Afterheader · integerSeconds until the window resets.
errorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
https://api.pdf-tagger.com/v1/jobs/{id}/reportRequest
curl -X GET https://api.pdf-tagger.com/v1/jobs/{id}/report \
-H "Authorization: Bearer sk_live_..."Response 200
{
"job_id": "string",
"standard": "string",
"total_requirements": 0,
"summary": {
"handled": 0,
"failed": 0,
"needs_review": 0,
"for_information": 0,
"not_applicable": 0
},
"requirements": [
{
"id": "string",
"reference": "string",
"name": "string",
"level": "string",
"section": {
"id": "string",
"title": "string"
},
"category": "string",
"result": "handled",
"evidence": "string"
}
],
"wcag": {
"standard": "string",
"levels": "string",
"summaries": [
{
"version": "string",
"level": "string",
"total_criteria": 0,
"summary": {
"handled": 0,
"failed": 0,
"needs_review": 0,
"for_information": 0,
"not_applicable": 0
}
}
],
"criteria": [
{
"id": "string",
"level": "A",
"versions": [
"string"
],
"title": "string",
"name": "string",
"principle": {
"id": "string",
"title": "string"
},
"guideline": {
"id": "string",
"title": "string"
},
"result": "handled",
"evidence": "string",
"pdfua_requirements": [
"string"
]
}
]
},
"report_pdf_url": "string",
"expires_in": 0,
"request_id": "string"
}Response 401, 404, 409, 429
{
"error": {
"type": "string",
"message": "string",
"request_id": "string",
"errors": [
{
"index": 0,
"type": "string",
"message": "string"
}
]
}
}Batches
Submit up to 100 uploaded PDFs in one request, follow them as one batch, and get one batch.completed webhook when every job has finished. Each job's result downloads with GET /v1/jobs/{id}/result.
Submit batch
Submit 1 to 100 uploaded PDFs as one batch. All or nothing: the API first checks every job (the key, the options, a valid PDF, 750 pages or fewer). If any job fails a check, the answer is 400 with one entry in error.errors for each bad job, and nothing is created or charged. If the credits do not cover every page, the answer is 402 and nothing is charged. Otherwise it charges 1 credit per page for all the jobs at once and starts each job. A job that cannot be started is marked failed and its credits are refunded; the others continue. Each job sends its own job.completed or job.failed webhook, and the batch sends one batch.completed when every job has finished. The API reads every file before it answers, so a batch takes longer to accept than one job; allow a long client timeout.
Parameters
Idempotency-Keyheader · stringA repeat with the same key and body returns the first batch and never double-charges.
Request body (JSON, required)
namestringA name for the batch. The default is like "3 documents, Oct 14, 2026".
jobsarrayrequiredOne entry for each uploaded PDF. Each key can appear once.
keystringrequiredThe key from POST /v1/uploads.
filenamestringoptionsobjectocrboolean, default falseForce OCR on image-only pages.
embed_fontsboolean, default falseEmbed a non-embedded font when safe.
Responses
200The batch this Idempotency-Key already createdidstringnamestringstatusstring: processing, completedcompleted once every job has finished.
countsobjecttotalintegerprocessingintegercompletedintegerfailedinteger
credits_usedintegerCredits charged for the batch. A failed job's credits are refunded.
created_atstring (date-time)completed_atstring | null (date-time)jobsarrayThe jobs, in the order of the request.
idstringThe job id. Use it with GET /v1/jobs/{id} and GET /v1/jobs/{id}/result.
statusstring: processing, completed, failedfilenamestring | nullcredits_usedintegeroptionsobject | nullcreated_atstring (date-time)error_codestring | nullWhy the job failed, when it failed.
error_messagestring | null
request_idstring
202Batch acceptedidstringnamestringstatusstring: processing, completedcompleted once every job has finished.
countsobjecttotalintegerprocessingintegercompletedintegerfailedinteger
credits_usedintegerCredits charged for the batch. A failed job's credits are refunded.
created_atstring (date-time)completed_atstring | null (date-time)jobsarrayThe jobs, in the order of the request.
idstringThe job id. Use it with GET /v1/jobs/{id} and GET /v1/jobs/{id}/result.
statusstring: processing, completed, failedfilenamestring | nullcredits_usedintegeroptionsobject | nullcreated_atstring (date-time)error_codestring | nullWhy the job failed, when it failed.
error_messagestring | null
request_idstring
400Invalid request. When one or more jobs are bad,error.errorslists each one with itsindexinjobs. Nothing was created or charged.errorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
401Missing, invalid, or revoked API keyerrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
402Not enough credits for every page in the batch. Nothing was charged.errorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
409Idempotency conflict or a batch still being createderrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
429Rate limit exceeded (see the Retry-After header)Retry-Afterheader · integerSeconds until the window resets.
errorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
https://api.pdf-tagger.com/v1/batchesRequest
curl -X POST https://api.pdf-tagger.com/v1/batches \
-H "Authorization: Bearer sk_live_..." \
-H "Idempotency-Key: <Idempotency-Key>" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"jobs": [
{
"key": "string",
"filename": "string",
"options": {
"ocr": false,
"embed_fonts": false
}
}
]
}'Response 200, 202
{
"id": "string",
"name": "string",
"status": "processing",
"counts": {
"total": 0,
"processing": 0,
"completed": 0,
"failed": 0
},
"credits_used": 0,
"created_at": "2026-01-01T12:00:00Z",
"completed_at": "2026-01-01T12:00:00Z",
"jobs": [
{
"id": "string",
"status": "processing",
"filename": "string",
"credits_used": 0,
"options": {},
"created_at": "2026-01-01T12:00:00Z",
"error_code": "string",
"error_message": "string"
}
],
"request_id": "string"
}Response 400, 401, 402, 409, 429
{
"error": {
"type": "string",
"message": "string",
"request_id": "string",
"errors": [
{
"index": 0,
"type": "string",
"message": "string"
}
]
}
}Get batch
A batch's status, counts and every job. status is completed once every job has finished, whether each job completed or failed; the counts say which.
Parameters
idpath · stringrequired
Responses
200Batchidstringnamestringstatusstring: processing, completedcompleted once every job has finished.
countsobjecttotalintegerprocessingintegercompletedintegerfailedinteger
credits_usedintegerCredits charged for the batch. A failed job's credits are refunded.
created_atstring (date-time)completed_atstring | null (date-time)jobsarrayThe jobs, in the order of the request.
idstringThe job id. Use it with GET /v1/jobs/{id} and GET /v1/jobs/{id}/result.
statusstring: processing, completed, failedfilenamestring | nullcredits_usedintegeroptionsobject | nullcreated_atstring (date-time)error_codestring | nullWhy the job failed, when it failed.
error_messagestring | null
request_idstring
401Missing, invalid, or revoked API keyerrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
404No such resource for this accounterrorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
429Rate limit exceeded (see the Retry-After header)Retry-Afterheader · integerSeconds until the window resets.
errorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
https://api.pdf-tagger.com/v1/batches/{id}Request
curl -X GET https://api.pdf-tagger.com/v1/batches/{id} \
-H "Authorization: Bearer sk_live_..."Response 200
{
"id": "string",
"name": "string",
"status": "processing",
"counts": {
"total": 0,
"processing": 0,
"completed": 0,
"failed": 0
},
"credits_used": 0,
"created_at": "2026-01-01T12:00:00Z",
"completed_at": "2026-01-01T12:00:00Z",
"jobs": [
{
"id": "string",
"status": "processing",
"filename": "string",
"credits_used": 0,
"options": {},
"created_at": "2026-01-01T12:00:00Z",
"error_code": "string",
"error_message": "string"
}
],
"request_id": "string"
}Response 401, 404, 429
{
"error": {
"type": "string",
"message": "string",
"request_id": "string",
"errors": [
{
"index": 0,
"type": "string",
"message": "string"
}
]
}
}Webhooks
Signed job and batch events delivered to your server. Register and manage endpoints in the dashboard (the Developers page); this section documents the event you receive and how to verify it.
Job event
POSTed to every enabled endpoint. Verify the X-PDFTagger-Signature header before trusting the body: it is t=<unixSeconds>,v1=<hmac>, where the HMAC is SHA-256 over <t>.<rawBody> keyed by the endpoint secret. Reject a timestamp older than a few minutes (replay). Delivery is at least once — dedupe on data.job.id. The event carries no result URL; fetch it with GET /v1/jobs/{id}/result.
Parameters
X-PDFTagger-Signatureheader · stringrequired
Request body (JSON)
idstringtypestring: job.completed, job.failedcreatedintegerdataobjectjobobjectA job with its failure details, as in a batch and in job webhook events.
idstringThe job id. Use it with GET /v1/jobs/{id} and GET /v1/jobs/{id}/result.
statusstring: processing, completed, failedfilenamestring | nullcredits_usedintegeroptionsobject | nullcreated_atstring (date-time)error_codestring | nullWhy the job failed, when it failed.
error_messagestring | null
Responses
2XXAny 2xx acknowledges receipt. Non-2xx is retried with backoff.
Your webhook endpointPayload you receive
{
"id": "string",
"type": "job.completed",
"created": 0,
"data": {
"job": {
"id": "string",
"status": "processing",
"filename": "string",
"credits_used": 0,
"options": {},
"created_at": "2026-01-01T12:00:00Z",
"error_code": "string",
"error_message": "string"
}
}
}Batch event
POSTed once to every enabled endpoint when every job in a batch has finished, completed or failed. Each job's own job.completed or job.failed event is sent as well. Verify the X-PDFTagger-Signature header as for a job event. Delivery is at least once — dedupe on data.batch.id. The event carries counts, not result URLs; read the jobs with GET /v1/batches/{id}.
Parameters
X-PDFTagger-Signatureheader · stringrequired
Request body (JSON)
idstringtypestring: batch.completedcreatedintegerdataobjectbatchobjectidstringnamestringstatusstring: completedtotalintegercompletedintegerfailedintegercreated_atstring (date-time)completed_atstring (date-time)
Responses
2XXAny 2xx acknowledges receipt. Non-2xx is retried with backoff.
Your webhook endpointPayload you receive
{
"id": "string",
"type": "batch.completed",
"created": 0,
"data": {
"batch": {
"id": "string",
"name": "string",
"status": "completed",
"total": 0,
"completed": 0,
"failed": 0,
"created_at": "2026-01-01T12:00:00Z",
"completed_at": "2026-01-01T12:00:00Z"
}
}
}Schemas
Job
idstringstatusstring: processing, completed, failedfilenamestring | nullcredits_usedintegeroptionsobject | nullcreated_atstring (date-time)request_idstring
Example
{
"id": "string",
"status": "processing",
"filename": "string",
"credits_used": 0,
"options": {},
"created_at": "2026-01-01T12:00:00Z",
"request_id": "string"
}JobReport
job_idstringstandardstringFor example "PDF/UA-1 (ISO 14289-1:2014)".
total_requirementsintegersummaryobjectHow many requirements have each result.
handledintegerfailedintegerneeds_reviewintegerfor_informationintegernot_applicableinteger
requirementsarrayidstringreferencestringThe ISO clause, for example "ISO 14289-1 section 7.5".
namestringlevelstring | null"shall" or "should".
sectionobjectidstringtitlestring
categorystringThe report category, for example "Tables".
resultstring: handled, failed, needs_review, for_information, not_applicablehandled: passed, or PDF Tagger met or fixed it. failed: a validator found it failing in the file. needs_review: a person must confirm it. for_information: a limit from the source file that you cannot act on. not_applicable: the document has no content of this kind.
evidencestring | nullThe evidence behind the result, as the web report shows it. Null for a plain pass.
wcagobjectBeta: the fields and the result names may change. Every WCAG 2.2 Level A and AA success criterion, and 4.1.1 from WCAG 2.0 and 2.1. Most results come from the PDF/UA-1 requirements behind the criterion (see
requirements); contrast, target size and required fields are also measured on the file.wcagis null for a report made before the WCAG view existed.standardstring"WCAG 2.2".
levelsstring"A and AA".
summariesarrayThe counts for WCAG 2.2 and for WCAG 2.1, each at Level AA (which includes Level A).
versionstring"2.2" or "2.1".
levelstring"AA".
total_criteriaintegersummaryobjectHow many of that version's criteria have each result.
handledintegerfailedintegerneeds_reviewintegerfor_informationintegernot_applicableinteger
criteriaarrayidstringThe success criterion, for example "1.1.1".
levelstring: A, AAversionsarrayThe WCAG versions it is in, for example ["2.0", "2.1", "2.2"].
titlestringThe W3C title, for example "Non-text Content".
namestringOur plain statement of the criterion.
principleobjectidstringtitlestring
guidelineobjectidstringtitlestring
resultstring: handled, failed, needs_review, for_information, not_applicableThe same results as a requirement. needs_review also covers a criterion that only a person can judge.
evidencestring | nullThe evidence behind the result, as the web report shows it.
pdfua_requirementsarrayThe ids of the PDF/UA-1 requirements the result comes from.
report_pdf_urlstring | nullA presigned URL for the report PDF, or null when the file is no longer stored.
expires_inintegerSeconds the URL is valid.
request_idstring
Example
{
"job_id": "string",
"standard": "string",
"total_requirements": 0,
"summary": {
"handled": 0,
"failed": 0,
"needs_review": 0,
"for_information": 0,
"not_applicable": 0
},
"requirements": [
{
"id": "string",
"reference": "string",
"name": "string",
"level": "string",
"section": {
"id": "string",
"title": "string"
},
"category": "string",
"result": "handled",
"evidence": "string"
}
],
"wcag": {
"standard": "string",
"levels": "string",
"summaries": [
{
"version": "string",
"level": "string",
"total_criteria": 0,
"summary": {
"handled": 0,
"failed": 0,
"needs_review": 0,
"for_information": 0,
"not_applicable": 0
}
}
],
"criteria": [
{
"id": "string",
"level": "A",
"versions": [
"string"
],
"title": "string",
"name": "string",
"principle": {
"id": "string",
"title": "string"
},
"guideline": {
"id": "string",
"title": "string"
},
"result": "handled",
"evidence": "string",
"pdfua_requirements": [
"string"
]
}
]
},
"report_pdf_url": "string",
"expires_in": 0,
"request_id": "string"
}Requirement
idstringreferencestringThe ISO clause, for example "ISO 14289-1 section 7.5".
namestringlevelstring | null"shall" or "should".
sectionobjectidstringtitlestring
categorystringThe report category, for example "Tables".
resultstring: handled, failed, needs_review, for_information, not_applicablehandled: passed, or PDF Tagger met or fixed it. failed: a validator found it failing in the file. needs_review: a person must confirm it. for_information: a limit from the source file that you cannot act on. not_applicable: the document has no content of this kind.
evidencestring | nullThe evidence behind the result, as the web report shows it. Null for a plain pass.
Example
{
"id": "string",
"reference": "string",
"name": "string",
"level": "string",
"section": {
"id": "string",
"title": "string"
},
"category": "string",
"result": "handled",
"evidence": "string"
}WcagReport
standardstring"WCAG 2.2".
levelsstring"A and AA".
summariesarrayThe counts for WCAG 2.2 and for WCAG 2.1, each at Level AA (which includes Level A).
versionstring"2.2" or "2.1".
levelstring"AA".
total_criteriaintegersummaryobjectHow many of that version's criteria have each result.
handledintegerfailedintegerneeds_reviewintegerfor_informationintegernot_applicableinteger
criteriaarrayidstringThe success criterion, for example "1.1.1".
levelstring: A, AAversionsarrayThe WCAG versions it is in, for example ["2.0", "2.1", "2.2"].
titlestringThe W3C title, for example "Non-text Content".
namestringOur plain statement of the criterion.
principleobjectidstringtitlestring
guidelineobjectidstringtitlestring
resultstring: handled, failed, needs_review, for_information, not_applicableThe same results as a requirement. needs_review also covers a criterion that only a person can judge.
evidencestring | nullThe evidence behind the result, as the web report shows it.
pdfua_requirementsarrayThe ids of the PDF/UA-1 requirements the result comes from.
Example
{
"standard": "string",
"levels": "string",
"summaries": [
{
"version": "string",
"level": "string",
"total_criteria": 0,
"summary": {
"handled": 0,
"failed": 0,
"needs_review": 0,
"for_information": 0,
"not_applicable": 0
}
}
],
"criteria": [
{
"id": "string",
"level": "A",
"versions": [
"string"
],
"title": "string",
"name": "string",
"principle": {
"id": "string",
"title": "string"
},
"guideline": {
"id": "string",
"title": "string"
},
"result": "handled",
"evidence": "string",
"pdfua_requirements": [
"string"
]
}
]
}WcagCriterion
idstringThe success criterion, for example "1.1.1".
levelstring: A, AAversionsarrayThe WCAG versions it is in, for example ["2.0", "2.1", "2.2"].
titlestringThe W3C title, for example "Non-text Content".
namestringOur plain statement of the criterion.
principleobjectidstringtitlestring
guidelineobjectidstringtitlestring
resultstring: handled, failed, needs_review, for_information, not_applicableThe same results as a requirement. needs_review also covers a criterion that only a person can judge.
evidencestring | nullThe evidence behind the result, as the web report shows it.
pdfua_requirementsarrayThe ids of the PDF/UA-1 requirements the result comes from.
Example
{
"id": "string",
"level": "A",
"versions": [
"string"
],
"title": "string",
"name": "string",
"principle": {
"id": "string",
"title": "string"
},
"guideline": {
"id": "string",
"title": "string"
},
"result": "handled",
"evidence": "string",
"pdfua_requirements": [
"string"
]
}BatchJob
idstringThe job id. Use it with GET /v1/jobs/{id} and GET /v1/jobs/{id}/result.
statusstring: processing, completed, failedfilenamestring | nullcredits_usedintegeroptionsobject | nullcreated_atstring (date-time)error_codestring | nullWhy the job failed, when it failed.
error_messagestring | null
Example
{
"id": "string",
"status": "processing",
"filename": "string",
"credits_used": 0,
"options": {},
"created_at": "2026-01-01T12:00:00Z",
"error_code": "string",
"error_message": "string"
}Batch
idstringnamestringstatusstring: processing, completedcompleted once every job has finished.
countsobjecttotalintegerprocessingintegercompletedintegerfailedinteger
credits_usedintegerCredits charged for the batch. A failed job's credits are refunded.
created_atstring (date-time)completed_atstring | null (date-time)jobsarrayThe jobs, in the order of the request.
idstringThe job id. Use it with GET /v1/jobs/{id} and GET /v1/jobs/{id}/result.
statusstring: processing, completed, failedfilenamestring | nullcredits_usedintegeroptionsobject | nullcreated_atstring (date-time)error_codestring | nullWhy the job failed, when it failed.
error_messagestring | null
request_idstring
Example
{
"id": "string",
"name": "string",
"status": "processing",
"counts": {
"total": 0,
"processing": 0,
"completed": 0,
"failed": 0
},
"credits_used": 0,
"created_at": "2026-01-01T12:00:00Z",
"completed_at": "2026-01-01T12:00:00Z",
"jobs": [
{
"id": "string",
"status": "processing",
"filename": "string",
"credits_used": 0,
"options": {},
"created_at": "2026-01-01T12:00:00Z",
"error_code": "string",
"error_message": "string"
}
],
"request_id": "string"
}BatchEvent
idstringnamestringstatusstring: completedtotalintegercompletedintegerfailedintegercreated_atstring (date-time)completed_atstring (date-time)
Example
{
"id": "string",
"name": "string",
"status": "completed",
"total": 0,
"completed": 0,
"failed": 0,
"created_at": "2026-01-01T12:00:00Z",
"completed_at": "2026-01-01T12:00:00Z"
}Error
errorobjecttypestringmessagestringrequest_idstringerrorsarrayOnly on POST /v1/batches with bad jobs. One entry for each bad job.
indexintegerThe job's place in
jobs, from 0.typestringmessagestring
Example
{
"error": {
"type": "string",
"message": "string",
"request_id": "string",
"errors": [
{
"index": 0,
"type": "string",
"message": "string"
}
]
}
}