Check the async queue

Returns async queue metrics for the whole organization: how many tasks are queued and processing, plus concurrency in use.

get/v1/async/status

Request

  • Base URL: https://api.answerline.dev
  • URL: https://api.answerline.dev/v1/async/status
  • Auth: HTTP bearer

Response

Success: queue metrics returned.

queuedTasksinteger required

Tasks this organization currently has waiting in the queue.

processingTasksinteger required

Tasks this organization has in progress right now.

Example response

{
  "queuedTasks": 3,
  "processingTasks": 2,
  "priorityBreakdown": [
    {
      "priority": 5,
      "count": 2
    }
  ],
  "concurrency": {
    "used": 2,
    "max": 5
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.