Retrieve details for a specific extraction job.
Returns comprehensive information about an extraction job including status, timestamps, processing time, and error messages if applicable.
Args: job_id: UUID of the extraction job to retrieve. session_and_auth: Database session and auth context (injected).
Returns: JobDetailResponse: Full job details including all timestamps and error info.
Raises: HTTPException 404: Job not found or not accessible by tenant.
Edge Cases:
API Key authentication. Format: dk_test_
UUID of the extraction job
Detailed information about the extraction job
Response for job detail (GET /v1/jobs/{id}).
Note: Webhooks are configured separately via POST /v1/webhooks.
Unique identifier for the extraction job
Document this job belongs to
Current job status
pending, processing, completed, failed Job creation timestamp (ISO 8601)
Classified document type
Why this document type was chosen
When extraction processing began (ISO 8601)
When extraction completed (ISO 8601)
Total processing duration in seconds
Error details if status is 'failed'