Fetch workers real time statistics
TODO: Resource-level docs
Path parameters
-
The SID of the Workspace with the resource 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 asvoice
,sms
, ordefault
.
GET /v1/Workspaces/{WorkspaceSid}/Workers/RealTimeStatistics
curl \
-X GET https://taskrouter.twilio.com/v1/Workspaces/{WorkspaceSid}/Workers/RealTimeStatistics \
--user "username:password"
Response examples (200)
{
"account_sid": "string",
"activity_statistics": [],
"total_workers": 42,
"url": "https://example.com",
"workspace_sid": "string"
}
Response examples (200)
{
"account_sid": "string",
"activity_statistics": [],
"total_workers": 42,
"url": "https://example.com",
"workspace_sid": "string"
}