> ## Documentation Index
> Fetch the complete documentation index at: https://developer.pdf.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Background & Job Check (API Tester)

> Run Background & Job Check live from your browser — send a real request and see the response and credit usage, no code required. PDF.co API Tester.

> [!NOTE]
>
> **Full reference:** [Background & Job Check → API Reference](https://developer.pdf.co/api/job-check.md) — all parameters, response fields, and limits.


## OpenAPI

````yaml /openapi.json post /v1/job/check
openapi: 3.0.1
info:
  title: PDF.co API
  description: ''
  version: '1.0'
servers:
  - url: https://api.pdf.co
security:
  - ApiKeyAuth: []
tags:
  - name: Extraction
  - name: Editing
  - name: PDF Conversion
  - name: Excel Conversion
  - name: PDF Merging & Splitting
  - name: Forms
  - name: Find & Search
  - name: Document, File & System
  - name: Pages
  - name: Barcodes
paths:
  /v1/job/check:
    post:
      tags:
        - Document, File & System
      summary: Background & Job Check
      description: >-
        Checks the [status](/api/job-check#available-status-values) of a
        background job that was previously created with PDF.co API. Use this API
        to check the status of your asynchronous API calls.
      operationId: post_v1_job_check
      requestBody:
        content:
          application/json:
            schema:
              required:
                - jobid
              type: object
              properties:
                jobid:
                  type: string
                  description: Id of processing that was started asynchronously
                  default: '12345'
                timeout:
                  $ref: '#/components/schemas/timeout'
              additionalProperties: false
        required: false
      responses:
        '200':
          description: >-
            Background job status. HTTP 200 can contain a failed or aborted job.
            Validator fields and warnings are optional and apply to supported
            conversion jobs.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - working
                      - success
                      - failed
                      - aborted
                    description: Background job state. Only working should be polled again.
                  message:
                    type: string
                    description: Job status or failure message.
                  jobId:
                    type: string
                  pageCount:
                    type: integer
                  url:
                    type: string
                    format: uri
                    nullable: true
                    description: >-
                      Output URL when available. A returned artifact is not
                      proof of compliance.
                  outputLinkValidTill:
                    type: string
                    format: date-time
                  credits:
                    type: integer
                    description: >-
                      Credits charged for this job-check request. Can be
                      negative when the first terminal failure check returns the
                      processing refund.
                  remainingCredits:
                    type: integer
                  duration:
                    type: integer
                    description: Job-check request duration in milliseconds.
                  validationStatus:
                    type: string
                    nullable: true
                    description: >-
                      Optional validation lifecycle state. For e-invoice,
                      completed means all required checks passed; error means
                      validation failed or could not complete.
                  isCompliant:
                    type: boolean
                    nullable: true
                    description: >-
                      Optional combined compliance result. May be null or absent
                      when validation could not complete.
                  pdfaProfile:
                    type: string
                    nullable: true
                  validator:
                    type: string
                    nullable: true
                    description: Validator identity, such as veraPDF+Mustang for e-invoice.
                  validatorVersion:
                    type: string
                    nullable: true
                  validatedAt:
                    type: string
                    format: date-time
                    nullable: true
                  failedRules:
                    type: integer
                    nullable: true
                    description: >-
                      Failed veraPDF rule count. Does not include Mustang
                      failures.
                  failedChecks:
                    type: integer
                    nullable: true
                    description: >-
                      Failed veraPDF check count. Zero alone does not establish
                      combined compliance.
                  validationReportUrl:
                    type: string
                    format: uri
                    nullable: true
                    description: >-
                      Temporary detailed report URL when a report is available.
                      Component evidence is in the report, not this summary.
                  validationReportName:
                    type: string
                    nullable: true
                  validationReportLinkValidTill:
                    type: string
                    format: date-time
                    nullable: true
                  warnings:
                    type: array
                    description: >-
                      Optional conversion notices, separate from validation.
                      Legacy details are exposed as warnings. Empty warnings can
                      be omitted.
                    items:
                      type: object
                      required:
                        - code
                        - message
                      properties:
                        code:
                          type: string
                          description: Stable warning code.
                        message:
                          type: string
                          description: Human-readable warning.
                        count:
                          type: integer
                        fontNames:
                          type: array
                          items:
                            type: string
                      additionalProperties: true
              examples:
                working:
                  value:
                    status: working
                eInvoiceSuccess:
                  value:
                    status: success
                    message: Success
                    url: https://example.com/output/invoice-e-invoice.pdf
                    pageCount: 1
                    validationStatus: completed
                    isCompliant: true
                    pdfaProfile: PDF/A-3B
                    failedRules: 0
                    failedChecks: 0
                    validator: veraPDF+Mustang
                    validatorVersion: 1.30.1+2.26.0
                    validationReportUrl: >-
                      https://example.com/output/invoice-e-invoice-pdfa-validation.json
                    validationReportName: invoice-e-invoice-pdfa-validation.json
                    warnings:
                      - code: documentModified
                        message: >-
                          The PDF was rewritten for PDF/A. Change details are
                          reported where available.
                    jobId: EXAMPLEJOBID0123456789ABCDEFGHIJ--167-300
                    credits: 2
                    remainingCredits: 9898
                    duration: 100
                eInvoiceFailure:
                  value:
                    status: failed
                    message: >-
                      The e-invoice output did not pass all required validation
                      checks.
                    jobId: EXAMPLEJOBID0123456789ABCDEFGHIJ--167-300
                    credits: -100
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/NotEnoughCredits'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '408':
          $ref: '#/components/responses/Timeout'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '441':
          $ref: '#/components/responses/InvalidPassword'
        '442':
          $ref: '#/components/responses/DamagedDocument'
        '443':
          $ref: '#/components/responses/PermissionsError'
        '444':
          $ref: '#/components/responses/ProfilesParsingError'
        '445':
          $ref: '#/components/responses/TimeoutError'
        '446':
          $ref: '#/components/responses/MissingFiles'
        '447':
          $ref: '#/components/responses/InvalidTemplate'
        '448':
          $ref: '#/components/responses/InvalidUrlOrHtml'
        '449':
          $ref: '#/components/responses/InvalidIndexRange'
        '450':
          $ref: '#/components/responses/InvalidPageRange'
        '452':
          $ref: '#/components/responses/InvalidUrl'
        '454':
          $ref: '#/components/responses/InvalidParameters'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    timeout:
      type: number
      description: Timeout for output links in seconds
      readOnly: true
  responses:
    BadRequest:
      description: >-
        Bad request. Typically due to bad input parameters or unreachable input
        URLs (e.g., access restrictions like login or password).
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 400
              message:
                type: string
                example: >-
                  Bad request. Typically due to bad input parameters or
                  unreachable input URLs (e.g., access restrictions like login
                  or password).
    Unauthorized:
      description: >-
        Unauthorized. Authentication is required and has failed or has not yet
        been provided.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 401
              message:
                type: string
                example: >-
                  Unauthorized. Authentication is required and has failed or has
                  not yet been provided.
    NotEnoughCredits:
      description: Not enough credits.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 402
              message:
                type: string
                example: Not enough credits.
    Forbidden:
      description: Access forbidden for input URL.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 403
              message:
                type: string
                example: Access forbidden for input URL.
    NotFound:
      description: The requested resource could not be found.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 404
              message:
                type: string
                example: The requested resource could not be found.
    Timeout:
      description: The server timed out waiting for the request.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 408
              message:
                type: string
                example: The server timed out waiting for the request.
    TooManyRequests:
      description: Too many requests in a given time period.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 429
              message:
                type: string
                example: Too many requests in a given time period.
    InvalidPassword:
      description: Invalid Password. Password protected document.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 441
              message:
                type: string
                example: Invalid Password. Password protected document.
    DamagedDocument:
      description: Input document is damaged or of incorrect type.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 442
              message:
                type: string
                example: Input document is damaged or of incorrect type.
    PermissionsError:
      description: >-
        Permissions. The operation is prohibited by document security settings.
        You can turn off this check by setting the `profiles` param to
        `{CheckPermissions: false}`. Important: only use this if you are the
        owner or have legal permission.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 443
              message:
                type: string
                example: >-
                  Permissions. The operation is prohibited by document security
                  settings.
    ProfilesParsingError:
      description: >-
        Profiles parsing error. Please ensure that the configuration is
        supported. See `/profiles` samples.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 444
              message:
                type: string
                example: >-
                  Profiles parsing error. Please ensure that the configuration
                  is supported.
    TimeoutError:
      description: >-
        Timeout error. For large documents, use asynchronous mode (`async=true`)
        and check status via `/job/check`. For many-page files, use the `pages`
        parameter.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 445
              message:
                type: string
                example: >-
                  Timeout error. For large documents, use asynchronous mode
                  (async=true) and check status via /job/check.
    MissingFiles:
      description: Some files required for conversion are missing.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 446
              message:
                type: string
                example: Some files required for conversion are missing.
    InvalidTemplate:
      description: Invalid template.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 447
              message:
                type: string
                example: Invalid template.
    InvalidUrlOrHtml:
      description: Invalid URL or HTML. Ensure the provided URL is valid and accessible.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 448
              message:
                type: string
                example: >-
                  Invalid URL or HTML. Ensure the provided URL is valid and
                  accessible.
    InvalidIndexRange:
      description: >-
        Invalid index range. Page index is out of range. Use `/pdf/info` to get
        page count. First page is `0`.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 449
              message:
                type: string
                example: Invalid index range. Page index is out of range.
    InvalidPageRange:
      description: Invalid page range specified.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 450
              message:
                type: string
                example: Invalid page range specified.
    InvalidUrl:
      description: Invalid URL.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 452
              message:
                type: string
                example: Invalid URL.
    InvalidParameters:
      description: Invalid parameters.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 454
              message:
                type: string
                example: Invalid parameters.
    InternalServerError:
      description: Something went wrong. Please try again or contact support.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: boolean
                example: true
              status:
                type: integer
                example: 500
              message:
                type: string
                example: Something went wrong. Please try again or contact support.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.