---
title: "GET /v1/Workspaces/{WorkspaceSid}/TaskQueues/{TaskQueueSid}/RealTimeStatistics"
method: GET
path: "/v1/Workspaces/{WorkspaceSid}/TaskQueues/{TaskQueueSid}/RealTimeStatistics"
tags: ["TaskrouterV1TaskQueueRealTimeStatistics"]
---

# GET /v1/Workspaces/{WorkspaceSid}/TaskQueues/{TaskQueueSid}/RealTimeStatistics

`GET /v1/Workspaces/{WorkspaceSid}/TaskQueues/{TaskQueueSid}/RealTimeStatistics`

## Path parameters

- `WorkspaceSid` string, required
- `TaskQueueSid` string, required

## Query parameters

- `TaskChannel` string

## Response `200`

OK

- TaskrouterV1WorkspaceTaskQueueTaskQueueRealTimeStatistics
  - `account_sid` string, nullable — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the TaskQueue resource.
  - `activity_statistics` unknown[], nullable — The number of current Workers by Activity.
    - unknown
  - `longest_task_waiting_age` integer — The age of the longest waiting Task.
  - `longest_task_waiting_sid` string, nullable — The SID of the longest waiting Task.
  - `longest_relative_task_age_in_queue` integer — The relative age in the TaskQueue for the longest waiting Task. Calculation is based on the time when the Task entered the TaskQueue.
  - `longest_relative_task_sid_in_queue` string, nullable — The Task SID of the Task waiting in the TaskQueue the longest. Calculation is based on the time when the Task entered the TaskQueue.
  - `task_queue_sid` string, nullable — The SID of the TaskQueue from which these statistics were calculated.
  - `tasks_by_priority` unknown
  - `tasks_by_status` unknown
  - `total_available_workers` integer — The total number of Workers in the TaskQueue with an `available` status. Workers with an `available` status may already have active interactions or may have none.
  - `total_eligible_workers` integer — The total number of Workers eligible for Tasks in the TaskQueue, independent of their Activity state.
  - `total_tasks` integer — The total number of Tasks.
  - `workspace_sid` string, nullable — The SID of the Workspace that contains the TaskQueue.
  - `url` string, uri, nullable — The absolute URL of the TaskQueue statistics resource.

## Changes

- **2025-07-03** (v1) `98aedcadea73` — 3 breaking
  - the `activity_statistics/items/` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - the `tasks_by_priority` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - the `tasks_by_status` response's property type/format changed from `object`/`` to ``/`` for status `200`
- **2025-03-11** (v1) `4e6af3af0c51` — 3 breaking
  - the `activity_statistics/items/` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - the `tasks_by_priority` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - the `tasks_by_status` response's property type/format changed from ``/`` to `object`/`` for status `200`
- **2024-08-26** (v1) `98cb7b6f5a62` — 5 info
  - the `longest_relative_task_age_in_queue` response's property default value `0` was added for the status `200`
  - the `longest_task_waiting_age` response's property default value `0` was added for the status `200`
  - the `total_available_workers` response's property default value `0` was added for the status `200`
  - the `total_eligible_workers` response's property default value `0` was added for the status `200`
  - …1 more
- **2023-08-10** (v1) `0dff2919dfba` — 1 info
  - api tag `TaskrouterV1TaskQueueRealTimeStatistics` added

[Change history](https://skmtc.dev/twilio/apis/taskrouter-v1/changes/v1/Workspaces/:WorkspaceSid/TaskQueues/:TaskQueueSid/RealTimeStatistics/get.md)

---

[API](https://skmtc.dev/twilio/apis/taskrouter-v1.md) · [All operations](https://skmtc.dev/twilio/apis/taskrouter-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/twilio/taskrouter-v1/revisions/f431d2bc66ba/schema)
