List plugins affecting a route
list_plugins_for_routeIdentify which plugins actually run on a route by resolving Kong scope precedence, filtering disabled instances, and summarizing authentication status.
Instructions
Lists every plugin that affects a route, resolved across all three Kong scopes.
USE WHEN: investigating authentication, rate limiting, CORS, ACL or any other plugin-driven behaviour. This is the tool that answers "is this route protected, and by what".
IMPORTANT -- three things this resolves that a raw plugin list does not:
Scope precedence. Kong applies the most specific instance of a plugin: route beats service beats global.
effectivePluginsreflects that;shadowedlists instances that exist but never run.Disabled plugins. A plugin with enabled=false is still returned by Kong and still shows in Kong Manager, but does nothing. Check the
enabledfield, not mere presence.Authentication summary.
authenticationstates plainly whether any ENABLED auth plugin applies, which is usually the actual question.
RETURNS: effectivePlugins (what actually runs, each with ref, name, enabled, scope
and relevant config), shadowed, and an authentication summary object.
LIMITATIONS: plugin config is filtered to diagnostically relevant keys; secret-bearing
fields are never returned. Consumer-scoped plugin instances are listed but their effect
depends on which consumer is calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | Yes | Route name, id, or `route:<name>` reference, e.g. "route:payments-prod". | |
| includeInherited | No | Also return plugins the route inherits from its service and from global scope (default true). Leave this true when asking "is this route protected" -- a route with no plugins of its own can still be covered by a service-level or global plugin. |