Job Queue
Document extraction requests are processed in a job queue. Use the following endpoints to monitor queue status.
Get Job Queue
GET
/workspace/get-queue
Get a workspace's job queue
Request
Headers
An API Key is required to access this endpoint.
x-api-key
your_api_key
Response
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 Queue Statistics
GET
/workspace/get-queue-statistics
Get a workspace's job queue statistics
Request
Headers
An API Key is required to access this endpoint.
x-api-key
your_api_key
Response
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
Last updated