# Fetch workspace real time statistics **GET /v1/Workspaces/{WorkspaceSid}/RealTimeStatistics** ## Servers - https://taskrouter.twilio.com: https://taskrouter.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Path parameters - **WorkspaceSid** (string) The SID of the Workspace to fetch. ### Query parameters - **TaskChannel** (string) Only calculate real-time statistics on this TaskChannel. Can be the TaskChannel's SID or its `unique_name`, such as `voice`, `sms`, or `default`. ## Responses ### 200 OK #### Headers - **X-Rate-Limit-Limit** (string) - **X-Rate-Limit-Remaining** (string) - **X-Rate-Limit-Config** (string) - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/json (object) - **account_sid** (string | null) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Workspace resource. - **activity_statistics** (array | null) The number of current Workers by Activity. - **longest_task_waiting_age** (integer) The age of the longest waiting Task. - **longest_task_waiting_sid** (string | null) The SID of the longest waiting Task. - **tasks_by_priority** () The number of Tasks by priority. For example: `{"0": "10", "99": "5"}` shows 10 Tasks at priority 0 and 5 at priority 99. - **tasks_by_status** () The number of Tasks by their current status. For example: `{"pending": "1", "reserved": "3", "assigned": "2", "completed": "5"}`. - **total_tasks** (integer) The total number of Tasks. - **total_workers** (integer) The total number of Workers in the Workspace. - **workspace_sid** (string | null) The SID of the Workspace. - **url** (string(uri) | null) The absolute URL of the Workspace statistics resource. [Powered by Bump.sh](https://bump.sh)