Job Queue
Document extraction requests are processed in a job queue. Use the following endpoints to monitor queue status.
Last updated
Document extraction requests are processed in a job queue. Use the following endpoints to monitor queue status.
Last updated
GET
/workspace/get-queue
Get a workspace's job queue
Headers
An API Key is required to access this endpoint.
Name | Value |
---|---|
The API returns the response in JSON format.
Each response includes an array of jobs
and a workspaceId
. Each individual job request can have a status
of PENDING
, IN_PROGRESS
, RETRY
, COMPLETE
or ERROR
and a type
of SYNC
, GENERATE
or PIPELINE
.
Example
GET
/workspace/get-queue-statistics
Get a workspace's job queue statistics
Headers
An API Key is required to access this endpoint.
The API returns the response in JSON format.
Each response includes a workspaceId
and a jobsByStatus
object with the count of jobs categorized by their status.
Example
Name | Value |
---|---|
x-api-key
your_api_key
x-api-key
your_api_key