# Fetch workflow real time statistics **GET /v1/Workspaces/{WorkspaceSid}/Workflows/{WorkflowSid}/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 with the Workflow to fetch. - **WorkflowSid** (string) Returns the list of Tasks that are being controlled by the Workflow with the specified SID value. ### 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 Workflow resource. - **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. - **workflow_sid** (string | null) Returns the list of Tasks that are being controlled by the Workflow with the specified SID value. - **workspace_sid** (string | null) The SID of the Workspace that contains the Workflow. - **url** (string(uri) | null) The absolute URL of the Workflow statistics resource. [Powered by Bump.sh](https://bump.sh)