GET
/
api
/
v1
/
document-extractions
/
{workflowName}
/
{jobId}
Retrieve a job by ID
curl --request GET \
  --url https://api.repromptai.com/api/v1/document-extractions/{workflowName}/{jobId} \
  --header 'Authorization: Bearer <token>'
{
  "file_id": "file_12345",
  "organizationId": "org_12345",
  "status": "extracted",
  "createdAt": "2023-01-01T00:00:00Z",
  "updatedAt": "2023-01-02T00:00:00Z",
  "file_metadata": "{\"pdf_type\": \"invoice\"}",
  "extraction": "{}"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflowName
string
required

The name of the workflow.

jobId
string
required

The ID of the job to retrieve.

Response

Job details retrieved successfully

The response is of type object.