Complete reference for the flowplane CLI. For a guided walkthrough, see Getting Started.
Every subcommand accepts these flags:
| Flag | Purpose |
|---|---|
--token <TOKEN> |
Bearer token for API auth |
--token-file <PATH> |
Read token from file |
--base-url <URL> |
API base URL (default: http://localhost:8080) |
--timeout <SECS> |
Request timeout in seconds |
--team <NAME> |
Team context for resource commands |
-v, --verbose |
Verbose logging |
Most create, list, and get subcommands accept -o, --output <FMT> (json, yaml, table). Default is json for create/get, table for list.
Stack, Auth & Config → full reference
flowplane init # Boot the full demo stack
flowplane down [--volumes] # Stop stack (--volumes deletes data)
flowplane status [<NAME>] # System overview or listener lookup
flowplane doctor # Diagnostic health checks
flowplane logs [-f] # Container logs
flowplane list # List exposed servicesflowplane auth login [--device-code] # OIDC login (no-op in dev mode)
flowplane auth token # Print bearer token
flowplane auth whoami # Show current identity
flowplane auth logout # Clear credentialsflowplane config show|set|init|path # Config management
flowplane database migrate|status|list|validate # DB adminResources → full reference
flowplane cluster create|list|get|update|delete # Upstream endpoints
flowplane listener create|list|get|update|delete # Envoy listeners
flowplane route create|list|get|update|delete # Route configs
flowplane filter create|list|get|update|delete # HTTP filters
flowplane filter attach|detach|types|type|scaffold # Filter management
flowplane team create|list|get|update|delete # Teams (prod mode)
flowplane dataplane list|get|create|update|delete|config # Dataplanes
flowplane vhost list|get # Virtual hosts
flowplane secret create|list|get|rotate|delete # Secrets (SDS)
flowplane apply -f <FILE_OR_DIR> # Declarative create-or-updateAPI Management → full reference
flowplane expose <UPSTREAM> [--name N] [--path P]... [--port P] # One-command expose
flowplane unexpose <NAME> # Remove exposed serviceflowplane learn start|stop|list|get|cancel|activate|health|export
flowplane schema list|get|compare|export
flowplane import openapi|list|get|deleteOps & Diagnostics → full reference
flowplane trace <PATH> [--port P] # Trace request routing
flowplane topology # Gateway layout
flowplane validate # Config validation
flowplane xds status|nacks # xDS delivery status
flowplane audit list # Audit trail
flowplane route-views list|stats # Route views
flowplane stats overview|clusters|cluster # StatisticsAdmin & Platform → full reference
flowplane admin scopes|resources|reload-filter-schemas # Platform admin
flowplane org list|get|create|delete|members # Organizations
flowplane agent list|create|delete # Machine identities
flowplane mcp tools|enable|disable # MCP tool management
flowplane wasm list|get|create|update|delete|download # WASM filters
flowplane mtls status # mTLS status
flowplane cert list|get|create|revoke # Proxy certificatesUpstream URLs in
expose: Use Docker service hostnames (e.g.,httpbin), notlocalhost. The proxy runs inside Docker.
Port range: Envoy serves traffic on ports 10000-10020. The
exposeauto-assign pool is 10001-10020.
File format:
-f FILEaccepts JSON (.json) and YAML (.yaml/.yml). Format is detected by extension.
Output formats:
-o tablefor humans,-o jsonfor scripting.
Team context: Most resource commands need
--team. Set a default:flowplane config set team <NAME>. In dev mode,flowplane initsets this todefaultautomatically.
Filter config nesting: Filters use
"config": {"type": "<filterType>", "config": {...}}— not a flat structure. The innertypemust match thefilterType.
Route config update is full replacement:
flowplane route updatereplaces the entirevirtualHostsarray. Always fetch withflowplane route getfirst.