API key scopes
If cloning from a CI pipeline, the following API key scopes are required:devices:readdeployments:readconfig_instances:readreleases:read
Usage
- Current directory
- Custom root
- Device paths
By default, cloning a device writes the config files to the current directory.
Device name as the dashboard shows it. Names are unique within a workspace.The device must have a current deployment. To clone a deployment that is not the current one, use
miru deployment clone.Examples: robot-42Directory to write the cloned config files under. Defaults to the current directory.See File paths for where each file goes.Examples:
./robot-42-fs, /, C:\Overwrite files that already exist at the destination. Without
--force, an existing file throws an error and is left untouched.File paths
Config files are placed on your local machine relative to the path specified by--root in the CLI command. When not specified, --root defaults to the current directory.
Below are examples of how config files are placed on your local machine when using the CLI.
- Linux device paths
- Windows device paths
Linux paths are straightforward—they drop their leading
/ and are appended to the --root path.- Config instance path: the file path specified in the config instance of a deployment.
- Local path: the path on your local machine when interacting with the CLI.

