{"type":"api","title":"Get Segments","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/744a8207-9965-344e-aed3-d3ef846a4950","info":{"title":"Others","description":"Other APIs\n- Include APIs that do not belong to other categories\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Configuration - Segments"],"description":"Get network segments","operationId":"getSegments","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"examples":{"Segment list":{"description":"Segment list","value":{"data":[{"segmentName":"Discovered_VPN_10","segmentId":"10","solution":"sdwan","id":"c952c18b-30b3-4f0b-b985-494693d7adfb","referenceCount":2},{"segmentName":"Discovered_VPN_65529","segmentId":"65529","solution":"sdwan","id":"5dd3f122-e52f-437e-b5e5-5ae94ad09cd6","referenceCount":0},{"segmentName":"Discovered_VPN_20","segmentId":"20","solution":"sd-routing","id":"83b6309d-f61d-4ac5-9699-7d3c04a1caef","referenceCount":0},{"segmentName":"Discovered_VPN_40","segmentId":"40","solution":"sd-routing","id":"64b30b74-08e2-4b4b-81ca-d019c7e452d5","referenceCount":1}]}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"method":"get","path":"/segment"}}