{"type":"api","title":"Device health history data","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/d2f02ba2-fd0d-3a26-bcc5-feafc8f24d17","info":{"title":"Monitoring and Troubleshooting","description":"Includes API operations for the following:\n- Real-time monitoring\n- Accessing statistics APIs and statistics bulk APIs\n- Retrieving device state\n- Managing alarms and events\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","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":{"data":{"type":"object","properties":{"jitter":{"type":"number","format":"double"},"latency":{"type":"number","format":"double"},"loss_percentage":{"type":"number","format":"double"},"rx_octets":{"type":"number"},"state":{"type":"string","enum":["Up","Down"]},"tx_octets":{"type":"number"},"vqoe_score":{"type":"number","format":"double"}},"$$ref":"#/components/schemas/TunnelHealthData"},"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}},"$$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"}},"method":"get","path":"/statistics/devicehealth/history"}}