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

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

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

## Path parameters

- `WorkspaceSid` string, required

## Query parameters

- `TaskChannel` string

## Response `200`

OK

- TaskrouterV1WorkspaceWorkspaceRealTimeStatistics
  - `account_sid` string, nullable — The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Workspace 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.
  - `tasks_by_priority` unknown
  - `tasks_by_status` unknown
  - `total_tasks` integer — The total number of Tasks.
  - `total_workers` integer — The total number of Workers in the Workspace.
  - `workspace_sid` string, nullable — The SID of the Workspace.
  - `url` string, uri, nullable — The absolute URL of the Workspace 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` — 3 info
  - the `longest_task_waiting_age` response's property default value `0` was added for the status `200`
  - the `total_tasks` response's property default value `0` was added for the status `200`
  - the `total_workers` response's property default value `0` was added for the status `200`
- **2023-08-10** (v1) `0dff2919dfba` — 1 info
  - api tag `TaskrouterV1WorkspaceRealTimeStatistics` added

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