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.

NameValue

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

{
  "jobsByStatus": {
    "PENDING": 0,
    "IN_PROGRESS": 0,
    "RETRY": 0,
    "COMPLETE": 50,
    "ERROR": 0
  },
  "workspaceId": "f47ab737-4900-4357-b198-286b3c6e215b"
}

Last updated