Jobs

Delete or cancel a job

If the job is in the queued or processing status, marks it as canceled and deletes the input file. If ready or error, deletes the Markdown and the record. The operation is idempotent.

delete/jobs/{jobId}

Request

  • Base URL: https://pdf2md.dev
  • URL: https://pdf2md.dev/jobs/{jobId}
  • Auth: HTTP bearer

Path parameters

jobIdstring uuid required

Job identifier (UUID)

Headers

X-Timestampinteger required
Example:1700000000

Unix time (sec) for the request signature (±300s window, see docs/security.md)

X-Noncestring required
Example:bXlfbm9uY2UtdjE

Random string (base64url), unique per request (TTL 5 minutes, anti-replay)

X-Body-SHA256string required
Example:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

hex sha256 of the request body (for GET/DELETE — sha256 of an empty body)

X-Signaturestring required
Example:MEYCIQCZqlk3E1p5k2y1hZ0ykjW9tzjO4GDBWJ3QYw9UWF2gtwIhAKuQKk8NfZp7uA9u6YzKxHnD7bHkHHRp2tkMZ0QYpQMb

Signature of the canonical string (ES256), see docs/security.md

Response

Job deleted or canceled

job_idstring uuid required
status'queued' | 'processing' | 'ready' | 'error' | 'canceled' | 'deleted' required

Job status

messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.