cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3532
Views
2
Helpful
2
Replies

Dashboard API for device availability.

Ritish
Community Member

Is there any api for getting the info for device availability?

1 Accepted Solution

Accepted Solutions

CBurkhead
Level 5
Level 5

You should be able to use GET /organizations/{organizationId}/deviceStatuses to retrieve the status of the devices in an organization. Anything that is not "offline" should be accessible.

View solution in original post

2 Replies 2

CBurkhead
Level 5
Level 5

You should be able to use GET /organizations/{organizationId}/deviceStatuses to retrieve the status of the devices in an organization. Anything that is not "offline" should be accessible.

BrianP2
Level 2
Level 2

Are you referring to Device Status? If so @CBurkhead is correct and that call should be sufficient. If you are looking for availability statistics like if a device is up for 99% of a time period, then they don't have a specific call for that.

You can use the GET /networks/{networkId}/devices/{serial}/lossAndLatencyHistory endpoint to get the packet loss info for a time period. The inverse of that is close to availability (depending on the availability calc you are going for ).