List all extraction jobs for a specific document.
Returns the extraction history for a document, including any re-processing attempts. Jobs are ordered from newest to oldest.
Args: document_id: UUID of the document to list jobs for. session_and_auth: Database session and auth context (injected). page: Page number (1-indexed). Values < 1 are normalized to 1. per_page: Items per page (1-100). Values outside range are clamped.
Returns: JobListResponse: Paginated list of jobs for this document.
Raises: HTTPException 404: Document not found or not accessible by tenant.
Edge Cases:
API Key authentication. Format: dk_test_
UUID of the document
Page number (1-indexed)
x >= 1Items per page (max 100)
1 <= x <= 100Paginated list of extraction jobs for the document