{"type":"api","title":"Get Statistics","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":["Real-Time Monitoring - Orchestrator"],"description":"Get statistics from device","operationId":"getStatistics","parameters":[{"name":"deviceId","in":"query","description":"deviceId - Device IP","required":true,"schema":{"type":"string","example":"169.254.10.10"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"examples":{"Statistics":{"description":"Statistics","value":{"data":[{"tx_challenge_ack":13,"tx_registers":0,"rx_pkts":168816,"tx_error":0,"vdevice-dataKey":"172.16.255.26","tx_challenge":15,"rx_challenge_ack":0,"tx_dtls_handshake_done":0,"vdevice-host-name":"vm16","tx_dtls_handshake_failures":0,"tx_challenge_gen_error":0,"rx_connects":0,"rx_octets":42608317,"rx_registers":64644,"lastupdated":1649768154244,"rx_challenge_resp":15,"tx_register_replies":64644,"tx_challenge_ack_error":0,"rx_challenge":0,"tx_dtls_handshake":0,"rx_dtls_handshake_done":15,"rx_dtls_handshake_failures":0,"rx_error":0,"challenge_failures":2,"tx_challenge_resp_error":0,"vdevice-name":"172.16.255.26","tx_blocked":0,"tx_connects":64671,"tx_octets":63147501,"tx_challenge_error":0,"rx_register_replies":0,"tx_challenge_resp":0,"tx_pkts":242150,"rx_dtls_handshake":70}]}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"System-read,System-write,Security-read,Security-write","method":"get","path":"/device/orchestrator/statistics"}}