---
title: "Fetch a Task Queue Real Time Statistics in bulk for the array of TaskQueue SIDs, support upto 50 in a request."
method: POST
path: "/v1/Workspaces/{WorkspaceSid}/TaskQueues/RealTimeStatistics"
tags: ["TaskrouterV1TaskQueueBulkRealTimeStatistics"]
---

# Fetch a Task Queue Real Time Statistics in bulk for the array of TaskQueue SIDs, support upto 50 in a request.

`POST /v1/Workspaces/{WorkspaceSid}/TaskQueues/RealTimeStatistics`

Fetch a Task Queue Real Time Statistics in bulk for the array of TaskQueue SIDs, support upto 50 in a request.

## Path parameters

- `WorkspaceSid` string, required

## Request body

- object

## Response `200`

OK

- TaskrouterV1WorkspaceTaskQueueTaskQueueBulkRealTimeStatistics
  - `account_sid` string, nullable — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the TaskQueue resource.
  - `workspace_sid` string, nullable — The SID of the Workspace that contains the TaskQueue.
  - `task_queue_data` unknown[], nullable — The real-time statistics for each requested TaskQueue SID. `task_queue_data` returns the following attributes: `task_queue_sid`: The SID of the TaskQueue from which these statistics were calculated. `total_available_workers`: The total number of Workers available for Tasks in the TaskQueue. `total_eligible_workers`: The total number of Workers eligible for Tasks in the TaskQueue, regardless of their Activity state. `total_tasks`: The total number of Tasks. `longest_task_waiting_age`: The age of the longest waiting Task. `longest_task_waiting_sid`: The SID of the longest waiting Task. `tasks_by_status`: The number of Tasks grouped by their current status. `tasks_by_priority`: The number of Tasks grouped by priority. `activity_statistics`: The number of current Workers grouped by Activity.
    - unknown
  - `task_queue_response_count` integer — The number of TaskQueue statistics received in task_queue_data.
  - `url` string, uri, nullable — The absolute URL of the TaskQueue statistics resource.

## Changes

- **2025-07-03** (v1) `98aedcadea73` — 1 breaking
  - the `task_queue_data/items/` response's property type/format changed from `object`/`` to ``/`` for status `200`
- **2025-03-11** (v1) `4e6af3af0c51` — 1 breaking
  - the `task_queue_data/items/` response's property type/format changed from ``/`` to `object`/`` for status `200`
- **2024-08-26** (v1) `98cb7b6f5a62` — 1 info
  - the `task_queue_response_count` response's property default value `0` was added for the status `200`
- **2024-06-18** (v1) `ea2aa8180d2a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/twilio/apis/taskrouter-v1/changes/v1/Workspaces/:WorkspaceSid/TaskQueues/RealTimeStatistics/post.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)
