Skip to main content

Global IP Usage Metrics

GET 
/global_ip_usage

Global IP Usage Metrics

Request

Query Parameters

    filter[global_ip_id][in] string

    Filter by Global IP ID(s) separated by commas

    filter[timestamp][gt] date-time

    Filter by timestamp greater than

    filter[timestamp][lt] date-time

    Filter by timestamp less than

Responses

200: Successful response

default: Unexpected error

Request samples


curl -L 'https://api.telnyx.com/v2/global_ip_usage' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": [
{
"timestamp": "2020-01-01T00:00:00.000Z",
"global_ip": {
"id": "a836125b-20b6-452e-9c03-2653f09c7ed7",
"ip_address": "64.1.2.130"
},
"transmitted": {
"amount": 100000,
"unit": "B"
},
"received": {
"amount": 100000,
"unit": "B"
}
}
]
}