{"type":"api","title":"Generate Device Interface Statistics 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 Statistics Details V2"],"description":"Get device statistics data","operationId":"generateDeviceInterfaceStatisticsData","parameters":[{"name":"startDate","in":"query","description":"Start date (example:2023-1-1T00:00:00)","schema":{"type":"string"}},{"name":"endDate","in":"query","description":"End date (example:2023-1-1T00:00:00)","schema":{"type":"string"}},{"name":"scrollId","in":"query","description":"Scroll Id","schema":{"type":"string"}},{"name":"count","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"timeZone","in":"query","description":"Time zone","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"admin_status":{"type":"string","example":"Up"},"af_type":{"type":"string","example":"IPv4"},"bw_down":{"type":"number","example":1000000},"bw_up":{"type":"number","example":1000000},"device_model":{"type":"string","example":"vedge-C8000V"},"down_capacity_percentage":{"type":"number","example":0.0015},"entry_time":{"type":"integer","format":"int32","example":1687177528488},"host_name":{"type":"string","example":"vm6"},"id":{"type":"string","example":"ZmOr04gBUJf8VowqUaIl"},"interface":{"type":"string","example":"GigabitEthernet1"},"interface_type":{"type":"string","example":"physical"},"oper_status":{"type":"string","example":"Up"},"platform_type":{"type":"string"},"rx_drops":{"type":"number","example":0},"rx_errors":{"type":"number","example":0},"rx_kbps":{"type":"number","example":15},"rx_octets":{"type":"number","example":679091},"rx_pkts":{"type":"number","example":3876},"rx_pps":{"type":"number","example":0},"statcycletime":{"type":"integer","format":"int32","example":1687178400026},"stats_data_id":{"type":"string"},"system-ip":{"type":"string"},"tenant":{"type":"string","example":"default"},"total_mbps":{"type":"number","example":0},"tx_drops":{"type":"number","example":0},"tx_errors":{"type":"number","example":0},"tx_kbps":{"type":"number","example":14},"tx_octets":{"type":"number","example":769358},"tx_pkts":{"type":"number","example":3757},"tx_pps":{"type":"number","example":11},"up_capacity_percentage":{"type":"number","example":0.0014},"vdevice_name":{"type":"string","example":"172.16.255.16"},"vip_idx":{"type":"number","example":7},"vip_time":{"type":"integer","format":"int32"},"vmanage_system_ip":{"type":"string","example":"172.16.255.16"},"vnf_name":{"type":"string"},"vnic_id":{"type":"string"},"vpn_id":{"type":"number","example":0}},"$$ref":"#/components/schemas/InterfaceStatisticsRes"}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Device Monitoring-read,Device Monitoring-write,dca","method":"get","path":"/v2/data/device/statistics/interfacestatistics"}}