Deployments.ai Docs
Command reference

deployments context

Persistent organization, project, environment, and workspace context

CommandSummary
deployments context showShow the active CLI context
deployments context setSet persistent CLI context
deployments context clearClear persistent resource context

deployments context show

Show the active CLI context.

deployments context show
FlagTypeRequiredDefaultDescription
--profilestring (name)Configuration profile
--jsonbooleanEmit JSON output
--quietbooleanSuppress successful output
--color, --no-colorbooleantrueUse ANSI color

Accepts only the flags listed here.

deployments context set

Set persistent CLI context.

deployments context set
FlagTypeRequiredDefaultDescription
--profilestring (name)Configuration profile
--api-urlstring (url)Platform API base URL
--orgstring (id)Organization ID
--projectstring (id)Project ID
--envstring (id)Environment ID
--workspacestring (id)Workspace ID
--livebooleanUse the configured live API transport
--mockbooleanUse the local mock transport
--jsonbooleanEmit JSON output
--quietbooleanSuppress successful output
--color, --no-colorbooleantrueUse ANSI color

Accepts only the flags listed here.

deployments context clear

Clear persistent resource context.

deployments context clear
FlagTypeRequiredDefaultDescription
--profilestring (name)Configuration profile
--jsonbooleanEmit JSON output
--quietbooleanSuppress successful output
--color, --no-colorbooleantrueUse ANSI color

Accepts only the flags listed here.

On this page