List metric

GET /v1/Voice/{CallSid}/Metrics

TODO: Resource-level docs

Query parameters

  • Edge string

    Values are unknown_edge, carrier_edge, sip_edge, sdk_edge, or client_edge.

  • Values are unknown, inbound, outbound, or both.

  • PageSize integer

    How many resources to return in each list page. The default is 50, and the maximum is 1000.

    Minimum value is 1, maximum value is 1000.

Responses

GET /v1/Voice/{CallSid}/Metrics
curl \
 -X GET https://insights.twilio.com/v1/Voice/{CallSid}/Metrics \
 --user "username:password"
Response examples (200)
{
  "meta": {
    "first_page_url": "https://example.com",
    "key": "string",
    "next_page_url": "https://example.com",
    "page": 42,
    "page_size": 42,
    "previous_page_url": "https://example.com",
    "url": "https://example.com"
  },
  "metrics": [
    {
      "account_sid": "string",
      "call_sid": "string",
      "direction": "unknown",
      "edge": "unknown_edge",
      "timestamp": "string"
    }
  ]
}
Response examples (200)
{
  "meta": {
    "first_page_url": "https://example.com",
    "key": "string",
    "next_page_url": "https://example.com",
    "page": 42,
    "page_size": 42,
    "previous_page_url": "https://example.com",
    "url": "https://example.com"
  },
  "metrics": [
    {
      "account_sid": "string",
      "call_sid": "string",
      "direction": "unknown",
      "edge": "unknown_edge",
      "timestamp": "string"
    }
  ]
}