Skip to main content
GET
/
v1
/
jobs
/
{job_id}
Get job details
curl --request GET \
  --url http://localhost:8000/v1/jobs/{job_id} \
  --header 'Authorization: Bearer <token>'
{
  "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "document_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "pending",
  "created_at": "2023-11-07T05:31:56Z",
  "document_type": "<string>",
  "classification_reasoning": "<string>",
  "processing_started_at": "2023-11-07T05:31:56Z",
  "processing_completed_at": "2023-11-07T05:31:56Z",
  "processing_time_seconds": 123,
  "error_message": "<string>"
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: dk_test_ or dk_live_

Path Parameters

job_id
string<uuid>
required

UUID of the extraction job

Response

Detailed information about the extraction job

Response for job detail (GET /v1/jobs/{id}).

Note: Webhooks are configured separately via POST /v1/webhooks.

job_id
string<uuid>
required

Unique identifier for the extraction job

document_id
string<uuid>
required

Document this job belongs to

status
enum<string>
required

Current job status

Available options:
pending,
processing,
completed,
failed
created_at
string<date-time>
required

Job creation timestamp (ISO 8601)

document_type
string | null

Classified document type

classification_reasoning
string | null

Why this document type was chosen

processing_started_at
string<date-time> | null

When extraction processing began (ISO 8601)

processing_completed_at
string<date-time> | null

When extraction completed (ISO 8601)

processing_time_seconds
number | null

Total processing duration in seconds

error_message
string | null

Error details if status is 'failed'