---
title: "Check the async queue"
method: GET
path: "/v1/async/status"
---

# Check the async queue

`GET /v1/async/status`

## Request

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

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

## Response `200`

Success: queue metrics returned.

- AsyncStatusResponse
  - `queuedTasks` integer, required: Tasks this organization currently has waiting in the queue.
  - `processingTasks` integer, required: Tasks this organization has in progress right now.
  - `priorityBreakdown` object[], required: Number of queued tasks for each priority level, highest priority first. Priority levels with no queued tasks are left out.
    - `priority` integer, required: Priority on a scale of 1-10.
    - `count` integer, required: Tasks waiting in the queue at this priority.
  - `concurrency` object, nullable: Concurrency in use right now; null when it could not be read.
    - `used` integer: Concurrency slots occupied right now.
    - `max` integer: Highest number of tasks this organization may run concurrently.

## Other responses

- `401`: Unauthorized - authentication failed
- `429`: Too Many Requests - the API key went over its rate limit, or the service dropped the request because it was overloaded (`SERVICE_OVERLOADED`); that case returns `Retry-After` without any limit headers
- `500`: Internal Server Error

---

[API](https://skmtc.dev/answerline/apis/answerline-api.md) · [All operations](https://skmtc.dev/answerline/apis/answerline-api/llms.txt) · [OpenAPI document](https://skmtc.dev/answerline/apis/answerline-api/revisions/a9dc35794662?raw)
