---
title: "Retrieves a queue's statistics."
method: GET
path: "/routing/queues/{queueId}/statistics"
---

# Retrieves a queue's statistics.

`GET /routing/queues/{queueId}/statistics`

Retrieves a queue's statistics.

## Path parameters

- `queueId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

- RouterQueueStatistics — Statistics for the queue.
  - `queueId` string, required — Id of the queue these details are about.
  - `length` integer, required — Length of the queue: total number of enqueued jobs.
  - `estimatedWaitTimeMinutes` object — The estimated wait time of this queue rounded up to the nearest minute, grouped by job priority.
  - `longestJobWaitTimeMinutes` number, double — The wait time of the job that has been enqueued in this queue for the longest.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/communication-jobrouter.md) · [All operations](https://skmtc.net/azure/apis/communication-jobrouter/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/communication-jobrouter/versions/c06e8f55d8b7/schema)
