{"type":"api","title":"Tunnel 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 - Tunnel Health"],"summary":"Tunnel health history data","description":"Get all tunnel health history ","operationId":"statisticsApprouteTunnelhealthHistoryGet","parameters":[{"name":"last_n_hours","in":"query","schema":{"type":"integer","format":"int32","default":12}},{"name":"start_time","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"end_time","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"time_interval_minutes","in":"query","schema":{"type":"integer","format":"int32"}},{"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":{"health":{"type":"string","example":"good","enum":["good","fair","poor","n/a"]},"health_score":{"type":"number","format":"double"},"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"}},"local_color":{"type":"string","example":"lte"},"local_system_ip":{"type":"string","example":"172.16.255.21"},"name":{"type":"string","example":"vm11:lte-vm6:lte"},"remote_color":{"type":"string","example":"lte"},"remote_system_ip":{"type":"string","example":"172.16.255.16"},"summary":{"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"}},"$$ref":"#/components/schemas/TunnelHealthHistoryItem"}}}}},"400":{"description":"bad input parameter"}},"method":"get","path":"/statistics/tunnelhealth/history"}}