List the routes attached to a service
list_routes_for_serviceLists all routes attached to a Kong service to show how traffic reaches it, or reveal a service with zero routes that is unreachable through the gateway.
Instructions
Lists every route attached to one Kong service.
USE WHEN: you need to know how traffic reaches a service, or to check whether a service has any route at all. A service with zero routes is unreachable through the gateway, which is a real and easily missed misconfiguration.
RETURNS: routes, each with ref, paths and methods, plus routeCount.
LIMITATIONS: does not return plugins for those routes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum routes to return (default 25). | |
| service | Yes | Service name, id, or `service:<name>` reference. |