Skip to main content
GET
/
global_ip_latency
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const globalIPLatency = await client.globalIPLatency.retrieve();

console.log(globalIPLatency.data);
{
  "data": [
    {
      "timestamp": "2020-01-01T00:00:00.000Z",
      "global_ip": {
        "id": "a836125b-20b6-452e-9c03-2653f09c7ed7",
        "ip_address": null
      },
      "prober_location": {
        "id": 1,
        "name": "Amsterdam",
        "lat": 52.370216,
        "lon": 4.895168
      },
      "mean_latency": {
        "amount": 100,
        "unit": "ms"
      },
      "percentile_latency": {
        "0": {
          "amount": 100,
          "unit": "ms"
        },
        "25": {
          "amount": 100,
          "unit": "ms"
        },
        "50": {
          "amount": 100,
          "unit": "ms"
        },
        "75": {
          "amount": 100,
          "unit": "ms"
        },
        "90": {
          "amount": 100,
          "unit": "ms"
        },
        "99": {
          "amount": 100,
          "unit": "ms"
        },
        "100": {
          "amount": 100,
          "unit": "ms"
        }
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

filter
object

Consolidated filter parameter (deepObject style). Originally: filter[global_ip_id][in]

Response

Successful response

data
object[]