Skip to main content
POST
/
ingest
/
job
/
{jobId}
Poll status of an ingestion job
curl --request POST \
  --url https://api.artosai.com/ingest/job/{jobId} \
  --header 'Authorization: Bearer <token>'
{
  "jobId": "<string>",
  "status": "<string>",
  "progress": 50,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z",
  "failed_at": "2023-11-07T05:31:56Z",
  "estimated_completion": "2023-11-07T05:31:56Z",
  "file_info": {},
  "extraction_results": {},
  "error": {}
}

Authorizations

Authorization
string
header
required

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

Path Parameters

jobId
string
required

Response

200 - application/json

Current job status

Status of a document ingestion job.

jobId
string
status
string

Current job status (pending, processing, completed or failed).

progress
integer
Required range: 0 <= x <= 100
created_at
string<date-time>
updated_at
string<date-time>
completed_at
string<date-time>
failed_at
string<date-time>
estimated_completion
string<date-time>
file_info
object
extraction_results
object
error
object