The a7 plugin command allows you to inspect API7 Enterprise Edition (API7 EE) plugins. Plugin commands are read-only and are used to list available plugins and retrieve their configuration schemas.
Note: The
--gateway-group(or-g) flag is required for all plugin commands if not specified in your current context.
Lists available plugins in the specified gateway group.
| Flag | Short | Default | Description |
|---|---|---|---|
--gateway-group |
-g |
Target gateway group name (required) | |
--subsystem |
Filter by subsystem (http or stream) |
||
--output |
-o |
table |
Output format (table, json, yaml) |
Examples:
List all plugins in the "default" gateway group:
a7 plugin list -g defaultList available AI Gateway plugins:
# AI Gateway plugins are categorized under the HTTP subsystem
a7 plugin list -g default --subsystem httpGets the configuration schema for a specific plugin by name.
| Flag | Short | Default | Description |
|---|---|---|---|
--gateway-group |
-g |
Target gateway group name (required) | |
--output |
-o |
json |
Output format (json, yaml) |
Examples:
Get schema for the ai-proxy plugin:
a7 plugin get ai-proxy -g defaultGet schema for key-auth in YAML format:
a7 plugin get key-auth -g default -o yamlAPI7 Enterprise Edition includes several categories of plugins:
- Authentication:
key-auth,jwt-auth,openid-connect, etc. - Security:
ip-restriction,cors,uri-blocker, etc. - Traffic Control:
limit-count,limit-req,proxy-cache, etc. - AI Gateway (EE-specific):
ai-proxy,ai-rag,ai-token-ratelimit, etc. - Observability:
prometheus,zipkin,skywalking, etc.
a7 plugin listanda7 plugin getare read-only commands.- The plugin list returns a direct array of available plugin names for the specified gateway group.
- The schema returned by
a7 plugin getcan be used as a reference when configuring plugins in routes, services, or global rules.