{"type":"api","title":"Get Session","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":["Troubleshooting Tools - Diagnostics"],"operationId":"getSession","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"destinationColor":{"type":"string","example":"lte"},"destinationIfAddr":{"type":"string","example":"1.1.1.1"},"destinationInterface":{"type":"string","example":"GigabitEthernet5"},"destinationIp":{"type":"string","example":"10.1.15.13"},"deviceUUID":{"type":"string"},"port":{"type":"string","example":"9999"},"server-list":{"type":"array","items":{"type":"object","properties":{"server-name":{"type":"string"},"server-ports":{"type":"string"}},"$$ref":"#/components/schemas/ServerList"}},"sourceColor":{"type":"string","example":"lte"},"sourceIfAddr":{"type":"string","example":"1.1.1.1"},"sourceInterface":{"type":"string","example":"GigabitEthernet4"},"sourceIp":{"type":"string","example":"10.1.15.13"}},"description":"This is valid SpeedTestSession","$$ref":"#/components/schemas/SpeedTestSession"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"isNewSession":{"type":"boolean","example":true},"isOwner":{"type":"boolean","example":true},"renewalTime":{"type":"integer","format":"int64","example":1692757301266},"sessionId":{"type":"string","example":"de26406d-21f2-4d3d-bc82-6f36553c45bf"},"startTime":{"type":"integer","format":"int64","example":1692757301266},"type":{"type":"string","example":"speedTest"},"userIp":{"type":"string","example":"172.16.255.15"},"uuid":{"type":"string","example":"C8K-63eadff3-fa6d-4779-add0-d712a36c6f73"}},"description":"This is valid speedTestResponse","$$ref":"#/components/schemas/SpeedTestResponse"}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Tools-read","method":"post","path":"/stream/device/speed"}}