List connected network devices in a location
get
Authorizations
defguard_sessionstringRequired
Path parameters
location_idinteger · int64Required
ID of the location.
Query parameters
fromstringOptional
Start of the reported period as an RFC 3339 timestamp. Defaults to 1 hour ago.
pageinteger · int32Optional
Page number. Defaults to 1.
per_pageinteger · int32Optional
Number of items per page, from 1 to 100. Defaults to 50.
Responses
200
Paginated list of connected network devices.
application/json
Envelope returned by paginated endpoints.
401
Session is missing or invalid.
application/json
403
Requires admin privileges.
application/json
404
Network not found.
application/json
500
Unable to get connected network devices.
application/json
get/api/v1/network/{location_id}/stats/connected_network_devices
GET /api/v1/network/{location_id}/stats/connected_network_devices HTTP/1.1
Accept: */*
{
"data": [
{
"connected_at": "2026-01-01T00:00:00.000Z",
"device_id": 1,
"device_name": "text",
"public_ip": "text",
"stats": [
{
"collected_at": null,
"download": null,
"upload": null
}
],
"total_download": 1,
"total_upload": 1,
"vpn_ips": [
"text"
]
}
],
"pagination": {
"current_page": 1,
"next_page": null,
"page_size": 1,
"total_items": 1,
"total_pages": 1
}
}Last updated
Was this helpful?