Skip to content

gatewayctl

Reference

Generated source hash: sha256:fb66c2470aa0dd92632a96f9db99ba0ec398e89f716838d88b64a596af6a8932.

  • Operators using CLI parity for admin workflows.
  • Developers checking command names before adding docs examples.
  • Reviewers checking that docs do not hand-copy stale CLI surfaces.

This page is generated from cmd/gatewayctl/main.go. It lists root commands dispatched by the CLI and preserves the source usage text.

Use it when writing docs examples or checking whether a browser workflow has CLI parity. Run go run ./cmd/gatewayctl <command> from the repo root for current runtime behavior.

  • 32 root commands are parsed from the command dispatcher.
  • Usage text is copied from the source usage() function.
  • Command behavior remains owned by Go source and tests.
CommandSource status
admin-activitySource-dispatched root command.
bootstrap-adminSource-dispatched root command.
bootstrap-self-hostedSource-dispatched root command.
call-toolSource-dispatched root command.
claude-configSource-dispatched root command.
client-surfaceSource-dispatched root command.
connector-statusSource-dispatched root command.
connectorsSource-dispatched root command.
credential-bindingSource-dispatched root command.
diagnose-denySource-dispatched root command.
drain-sessionSource-dispatched root command.
emergency-disableSource-dispatched root command.
environmentsSource-dispatched root command.
explainSource-dispatched root command.
import-apiSource-dispatched root command.
import-openapiSource-dispatched root command.
inspect-sessionSource-dispatched root command.
licenseSource-dispatched root command.
list-sessionsSource-dispatched root command.
policySource-dispatched root command.
register-agentSource-dispatched root command.
register-serverSource-dispatched root command.
revoke-sessionSource-dispatched root command.
search-auditSource-dispatched root command.
siem-webhookSource-dispatched root command.
simulate-policySource-dispatched root command.
statusSource-dispatched root command.
telemetrySource-dispatched root command.
terminate-sessionSource-dispatched root command.
validate-agentSource-dispatched root command.
validate-credential-bindingSource-dispatched root command.
validate-manifestSource-dispatched root command.
gatewayctl is the Go CLI shell for registration, validation, OpenAPI import, policy simulation, and diagnostics.
gatewayctl commands: validate-manifest <file> [--format text|json], register-server <manifest> [--registry <file>] [--format text|json], call-tool (--registry <file>|--manifest <file>) [--request <file>|--server <id> --tool <id>], import-api <file> [--api-source <id>] [--allowed-host <host>] [--select <operationId>] [--approve <operationId>] [--operation <operationId>] [--mapping-dir <dir>] [--format text|json], import-openapi <file> [same flags; compatibility alias], simulate-policy [--user <id>] [--group <id>] [--agent <id>] [--client-surface <id>] [--environment <id>] (--server <id>|--api-source <id> --operation <id>) --tool <id> [--allow|--explicit-deny|--revoked-subject|--unauthorized-surface|--environment-mismatch|--credential-mode-denied|--credential-binding-denied|--missing-auth|--invalid-auth] [--policy-version <id>] [--format text|json], diagnose-deny <reason>|--request-id <id>|--audit-event-id <id>|[actor/tool context] [--format text|json], bootstrap-self-hosted [--dry-run] [--format text|json], bootstrap-admin [--control-plane-url <url>] [--user <id>] [--display-name <name>] [--email <email>] [--password-env <env>] [--format text|json], status deployment [--format text|json], validate-agent <manifest> [--format text|json], register-agent <manifest> [--registry <file>] [--format text|json], validate-credential-binding <manifest> [--format text|json], credential-binding (list|get|update|rotate|disable|revoke|status) [id] [--lifecycle approved|disabled|revoked] [--reason <reason>] [--format text|json], search-audit [filters] [--export-ready] [--format text|json], list-sessions [filters] [--format text|json], inspect-session <id> [--format text|json], drain-session <id> --reason <reason> [--format text|json], terminate-session <id> --reason <reason> [--format text|json], revoke-session <id> --reason <reason> [--revocation-id <id>] [--format text|json], emergency-disable --target-type <type> --target-id <id> --reason <reason> [--format text|json], connector-status <id> [--lifecycle approved|disabled|revoked] [--format text|json], policy review <file> --policy-version <id> [--format text|json], policy publish <file> --policy-version <id> [--format text|json], explain
additional commands: status data-planes [filters] [--format text|json], status data-plane <id> [--format text|json], environments list|get [--format text|json], license status [--environment <id>] [--state valid|expired|missing|offline_grace] [--role platform_admin|security_admin|viewer|developer] [--format text|json], telemetry (status|configure|test|disable) [--control-plane-url <url>] [--format text|json], siem-webhook (list|create|update|test|disable) [--control-plane-url <url>] [--format text|json], client-surface (list|get|disable|revoke) [id] [--environment <id>] [--reason <reason-code>] [--format text|json], admin-activity (search|get) [filters] [--format text|json], connectors list --tenant <id> --environment <id> [--format text|json], connectors get|impact <id> --tenant <id> --environment <id> [--format text|json], connectors disable|reenable|revoke <id> --tenant <id> --environment <id> --reason-code <code> --reason <text> --expected-version <version> [--control-plane-url <url>] [--format text|json], claude-config --endpoint <url> [--server-id <id>]
  • A docs page lists a command that is not dispatched by main.go.
  • CLI output examples include private payloads, raw tokens, credential material, or customer data.
  • A command is treated as production proof when it is fixture-backed or dry-run only.
  • A workflow needs direct database access. V1 operator workflows should use Admin API, CLI, or harness checks.

Type set in Geist, Source Serif 4, and Departure Mono.