Skip to main content

Legacy CLI and SDK methods

Legacy CLI and SDK methods

Anyscale has deprecated methods for the CLI and SDK as documented in the following pages. To continue using these methods, install Anyscale CLI version 0.26.72 or earlier.

These methods will be fully removed from the Anyscale platform on February 28, 2026.

Legacy API reference

Methods removed in version 0.26.83

Anyscale CLI version 0.26.83 removes support for the following legacy commands and SDK methods.

CLI commands

The following table lists CLI commands removed in this version:

Deprecated commandReplacementNotes
anyscale cluster-env *anyscale image *All cluster environment commands replaced with image commands.
anyscale cluster startanyscale workspace_v2 start
anyscale cluster terminateanyscale workspace_v2 terminate

SDK methods

The following tables list SDK methods removed in this version, organized by category.

Cloud methods

Deprecated methodReplacement
get_cloudanyscale.cloud.get
get_default_cloudanyscale.cloud.get_default
search_cloudsanyscale.cloud.list

Compute config methods

Deprecated methodReplacement
create_cluster_computeanyscale.compute_config.create
delete_cluster_computeanyscale.compute_config.archive
get_cluster_computeanyscale.compute_config.get
get_default_cluster_computeanyscale.compute_config.get_default
search_cluster_computesanyscale.compute_config.list

Image (cluster environment) methods

Deprecated methodReplacement
create_byod_cluster_environment_buildanyscale.image.register
create_cluster_environment_buildanyscale.image.build
find_cluster_environment_build_by_identifieranyscale.image.get
get_cluster_environment_buildanyscale.image.get
list_cluster_environment_buildsanyscale.image.list
create_byod_cluster_environmentanyscale.image.register
create_cluster_environmentanyscale.image.build
get_cluster_environmentanyscale.image.get
search_cluster_environmentsanyscale.image.list

Commands removed in version 0.26.77

Anyscale CLI version 0.26.77 removes support for a number of legacy commands, including the following:

  • The full set of legacy anyscale workspace commands, replaced by anyscale workspace_v2.
  • The full set of anyscale list commands, replaced by resource-specific list commands.

The following table recommends how to migrate legacy commands:

Deprecated commandSupported commandNotes
anyscale workspace createanyscale workspace_v2 create
anyscale workspace runanyscale workspace_v2 run_command
anyscale workspace sshanyscale workspace_v2 ssh
anyscale workspace startanyscale workspace_v2 start
anyscale workspace terminateanyscale workspace_v2 terminate
anyscale workspace pullanyscale workspace_v2 pull
anyscale workspace pushanyscale workspace_v2 push
anyscale workspace listanyscale workspace_v2 list
anyscale workspace cloneanyscale workspace_v2 pull
anyscale workspace tagsanyscale workspace_v2 tags
anyscale workspace cpanyscale workspace_v2 pullPulls files under working directory only. No alternative exists for files outside the working directory.
anyscale workspace activateN/Aworkspace_v2 commands don't require activation.
anyscale list cloudsanyscale cloud list
anyscale list projectsanyscale project list
anyscale list sessionsanyscale cluster list
anyscale list ipsN/AUse the Anyscale console to view cluster node information.
anyscale service rolloutanyscale service deploy
anyscale project initanyscale project create
anyscale execanyscale job submitRuns your script as a job in a cluster.
anyscale schedule createanyscale schedule apply
anyscale schedule updateanyscale schedule apply