Skip to main content

Synopsis

Get an environment’s metadata.

Flags

Flags inherited from parent commands

Live Example

To view a live example of ‘kosli get environment’ you can run the commands below (for the cyber-dojo demo organization).
Run the commands below and view the output.
export KOSLI_ORG=cyber-dojo
export KOSLI_API_TOKEN=Pj_XT2deaVA6V1qrTlthuaWsmjVt4eaHQwqnwqjRO3A  # read-only
kosli get environment aws-prod —output=json
Last modified on March 10, 2026