Get Status History
GET
/api/v1/devices/{device_type}/status-history
Get a collection of all the previous UP/DOWN statuses for a device.
This route should provide 3 months of device status history along with the current status of a device.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” device_type
required
DeviceTypeName
Enumeration of allowed and legacy device type names
string
Query Parameters
Section titled “Query Parameters ” start_date
Start Date
string format: date
Responses
Section titled “ Responses ”Successful Response
NonPaginatedResponse[ProducedManyDeviceHistoryResponse]
object
data
ProducedManyDeviceHistoryResponse
object
device_type
required
DeviceTypeName
Enumeration of allowed and legacy device type names
string
current_status
required
DeviceStatus
An enumeration.
string
current_status_message
Current Status Message
string
history
required
History
Array<object>
DeviceStatusHistoryUpdateobject
status
required
DeviceStatus
An enumeration.
string
message
Message
string
created_at
required
Created At
string format: date-time
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
