{"type":"api","title":"Device health history data","meta":{"id":"/apps/pubhub/media/sd-wan-api-20-16/58fb893fa751949ea20a40274e9ab219a20e19fa/e77267b5-7b4b-3f93-807c-c6d1c6b41343","info":{"title":"Cisco Catalyst SD-WAN Manager API","description":"The vManage API exposes the functionality of operations maintaining devices and the overlay network","contact":{"email":"vmanage@cisco.com"},"license":{"name":"Commercial License","url":"https://www.cisco.com/c/en/us/solutions/enterprise-networks/sd-wan/index.html"},"version":"2.0.0"},"openapi":"3.0.1","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Monitoring - Device Health"],"summary":"Device health history data","description":"Get all device health history ","operationId":"getDeviceHealthHistory","parameters":[{"name":"last_n_hours","in":"query","schema":{"type":"integer","format":"int32","default":12}},{"name":"site","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","format":"int32","default":30}}],"responses":{"200":{"description":"search results matching criteria","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"cpu_load":{"type":"number","format":"double","example":1.32},"health":{"type":"string","example":"good","enum":["good","fair","poor","n/a"]},"health_score":{"type":"number","format":"double","example":10},"history":{"type":"array","items":{"type":"object","properties":{"cpu_load":{"type":"number","format":"double","example":1.32},"entry_time":{"type":"number","example":1657780200000},"health":{"type":"string","example":"good","enum":["good","fair","poor","n/a"]},"health_score":{"type":"number","format":"double","example":10},"memory_utilization":{"type":"number","format":"double","example":43.03},"qoe":{"type":"number","format":"double","example":10},"reachability":{"type":"string","example":"reachable"}},"$$ref":"#/components/schemas/DeviceHealthEntryItem"}},"host_name":{"type":"string","example":"vm11"},"memory_utilization":{"type":"number","format":"double","example":43.03},"qoe":{"type":"number","format":"double","example":10},"reachability":{"type":"string","example":"reachable"},"site_id":{"type":"string","example":"600"},"system_ip":{"type":"string","example":"172.16.255.21"}},"$$ref":"#/components/schemas/DeviceHealthHistoryItem"}}}}},"400":{"description":"bad input parameter"}},"__originalOperationId":"getDeviceHealthHistory","method":"get","path":"/statistics/devicehealth/history"}}