doctl harness-runtime workspace
Generated on 13 Nov 2026
from doctl version
v2.5.0
Usage
doctl harness-runtime workspace [flags]Aliases
workspacesDescription
Persistent workspaces: a saved set of files that outlives your sessions. Inside a session it is the /workspace folder.
Create one, then give it to a new session with --workspace <id> on doctl harness-runtime create --from-config or doctl harness-runtime launch --from-config. A workspace can only be attached to a session created from a saved Agent Config. Removing a session never deletes its workspace: the files are saved, and the next session can pick them up.
doctl harness-runtime workspace create --size-limit-gib 10 --name notes
doctl harness-runtime config create --spec agents.yaml --name reviewer
doctl harness-runtime create --from-config reviewer --name review-2 --workspace <workspace-id>Limits in this beta:
- One session holds a workspace at a time.
- A workspace is attached when a session is created, not afterwards.
- The size limit is fixed when the workspace is created.
- Fork and rollback are not available for a session that has a workspace.
Flags
| Option | Description |
|---|---|
--help, -h |
Help for this command |
Related Commands
| Command | Description |
|---|---|
| doctl harness-runtime | Managed Agents Runtime Services (M.A.R.S) |
| doctl harness-runtime workspace create | Create a persistent workspace |
| doctl harness-runtime workspace delete | Permanently delete a persistent workspace |
| doctl harness-runtime workspace get | Get a persistent workspace |
| doctl harness-runtime workspace list | List persistent workspaces |
Global Flags
| Option | Description |
|---|---|
--access-token, -t |
API V2 access token |
--api-url, -u |
Override default API endpoint |
--config, -c |
Specify a custom config file Default: |
--context |
Specify a custom authentication context name |
--http-retry-max |
Set maximum number of retries for requests that fail with a 429 or 500-level error
Default: 5 |
--http-retry-wait-max |
Set the minimum number of seconds to wait before retrying a failed request
Default: 30 |
--http-retry-wait-min |
Set the maximum number of seconds to wait before retrying a failed request
Default: 1 |
--interactive |
Enable interactive behavior. Defaults to true if the terminal supports it (default false)
Default: false |
--output, -o |
Desired output format [text|json] Default: text |
--region |
Datacenter region to address, for example 'mem1'. Selects the regional API host; defaults to ric1, which the region-less host serves. A resource is reachable only in the region that holds it. |
--show |
Reveal masked values, such as secrets, instead of hiding them. Values are unmasked automatically in CI
Default: false |
--trace |
Show a log of network activity while performing a command Default: false |
--verbose, -v |
Enable verbose output Default: false |