Workspaces

workspace

orc workspace inspects the selected Workspace and saves a link for the current directory or a default for future commands. It does not create Workspaces or change their server-side settings.

See orc workspaces for API operations. Selecting a Workspace locally does not grant access to it.

Usage

terminal
orc workspace current

Inspect the selected Workspace and its source.

Subcommands

current

Returns the selected id and its source. When unconfigured, returns id: null, source: none, and guidance for selecting a Workspace.

terminal
orc workspace current [options]

Saves a Workspace ID in .orchestor/workspace.json in the current directory. If ID is omitted, uses the currently resolved Workspace. No available target is a validation error. Returns workspaceId and path.

terminal
orc workspace link [id] [options]

Removes .orchestor/workspace.json from the current directory. Returns a result even if the file did not exist; unlinked indicates whether it existed. Does not remove the global default Workspace.

terminal
orc workspace unlink [options]

use

Saves the required ID as local configuration defaultWorkspace. Returns defaultWorkspace and configPath. A directory link or environment variable takes precedence over this default.

terminal
orc workspace use <id> [options]

list

List workspaces

terminal
orc workspace list [options]

Unique options

--include-archived

Include archived workspaces in the response.; enum: true|false

Type: string. Optional.

terminal
orc workspace list --include-archived <value>
--include-management

Include brand, monitoring configuration, and production prompt entitlement summaries for accessible workspaces.; enum: true|false

Type: string. Optional.

terminal
orc workspace list --include-management <value>

create

Create workspace

terminal
orc workspace create [options]

Unique options

--idempotency-key

Retry identity for operations that support idempotency. Use a unique key for each new operation, and reuse it only when retrying the same HTTP method, path, query values and exact request body. JSON whitespace changes can count as a different body. Keys contain 1–255 characters after trimming and expire after 24 hours. A completed JSON response is replayed without repeating the operation. A different request using the same key returns 409 idempotency_error. An in-progress request returns 409 idempotency_in_progress with Retry-After: 2. Whether this header is required depends on the operation.

Type: string. Optional.

terminal
orc workspace create --idempotency-key <value>
--name

(required) Workspace display name after trimming surrounding whitespace. Must contain 1 to 120 characters.; max 120 chars

Type: string. Optional.

terminal
orc workspace create --name <value>
--slug

Preferred workspace URL slug. Omit or send an empty string to derive it from name. The server normalizes to lowercase letters, digits and hyphens and resolves conflicts within the organization.

Type: string. Optional.

terminal
orc workspace create --slug <value>
--workspace-type

Workspace type. Omission creates a team workspace.; enum: personal|team

Type: string. Optional.

terminal
orc workspace create --workspace-type <value>
--client-label

Optional client-facing label. Surrounding whitespace is removed; omitted, null or empty values store no label.; (use "null" or "reset" to clear)

Type: string. Optional.

terminal
orc workspace create --client-label <value>
--purpose

Commercial workspace purpose, defaulting to client in the extended flow. Supplying this field selects extended creation. pitch requires an agency organization and consumes monthly and active pitch quotas.; enum: client|pitch

Type: string. Optional.

terminal
orc workspace create --purpose <value>
--setup-mode

Creation stopping point. A supplied owned brand is initialized active in every mode; no separate brand activation is required. Brand readiness does not start measurement. empty skips setup generation and measurement; brand is optional. suggestions generates review candidates without starting measurement. measure generates and measures. Omission uses measure if any extended setup field is present; otherwise creation is empty. Pitch quotas and seven-day expiry begin at creation in every mode.; enum: empty|suggestions|measure

Type: string. Optional.

terminal
orc workspace create --setup-mode <value>
--brand

Managed brand to initialize. Required for suggestions and measure. Optional for empty; when provided, both name and domain are required. Supplying brand without setup_mode starts the measure flow.; (JSON object, e.g. '{"custom_id":"x"}')

Type: string. Optional.

terminal
orc workspace create --brand <value>
--default-country-code

Two-letter default observation country code. Trimmed and uppercased. Defaults to JP in the extended flow. Supplying this field selects extended creation even without setup_mode.

Type: string. Optional.

terminal
orc workspace create --default-country-code <value>
--default-language-code

Default observation language code, optionally with a regional suffix. Trimmed and lowercased, for example ja or en-us. Defaults to ja in the extended flow. Supplying this field selects extended creation even without setup_mode.

Type: string. Optional.

terminal
orc workspace create --default-language-code <value>

get

Get workspace

terminal
orc workspace get <id> [options]

update

Update workspace

terminal
orc workspace update <id> [options]

Unique options

--idempotency-key

Retry identity for operations that support idempotency. Use a unique key for each new operation, and reuse it only when retrying the same HTTP method, path, query values and exact request body. JSON whitespace changes can count as a different body. Keys contain 1–255 characters after trimming and expire after 24 hours. A completed JSON response is replayed without repeating the operation. A different request using the same key returns 409 idempotency_error. An in-progress request returns 409 idempotency_in_progress with Retry-After: 2. Whether this header is required depends on the operation.

Type: string. Optional.

terminal
orc workspace update <id> --idempotency-key <value>
--is-default

Set this workspace as the organization default. Must be true and the only field in the body. Requires a human organization owner or admin; machine credentials cannot perform this change.; enum: true

Type: string. Optional.

terminal
orc workspace update <id> --is-default <value>
--name

Replacement workspace display name. Omit to retain the current value.; max 120 chars

Type: string. Optional.

terminal
orc workspace update <id> --name <value>
--slug

Replacement preferred slug. Normalized and made unique within the organization. Omit to retain the current slug.

Type: string. Optional.

terminal
orc workspace update <id> --slug <value>
--client-label

Replacement client-facing label. Omit to retain it; null or an empty string clears it. Nonempty strings are trimmed.; (use "null" or "reset" to clear)

Type: string. Optional.

terminal
orc workspace update <id> --client-label <value>
--color-token

Workspace visual identity color. Omit to retain the current token.; enum: default|gray|brown|orange|yellow|green|blue|purple|pink|red

Type: string. Optional.

terminal
orc workspace update <id> --color-token <value>
--identity-kind

Workspace visual identity rendering mode. Omit to retain the current mode. Set the corresponding icon, emoji or image value separately when needed.; enum: color|initial|icon|emoji|image

Type: string. Optional.

terminal
orc workspace update <id> --identity-kind <value>
--icon-token

Icon identifier used by icon identity mode. Omit to retain it; null or an empty string clears it. Does not change identity_kind.; (use "null" or "reset" to clear); max 64 chars

Type: string. Optional.

terminal
orc workspace update <id> --icon-token <value>
--emoji

Emoji value used by emoji identity mode. Omit to retain it; null or an empty string clears it. Does not change identity_kind.; (use "null" or "reset" to clear); max 32 chars

Type: string. Optional.

terminal
orc workspace update <id> --emoji <value>
--image-file-id

File ID used by image identity mode. Omit to retain it; null or an empty string clears it. Does not change identity_kind.; (use "null" or "reset" to clear)

Type: string. Optional.

terminal
orc workspace update <id> --image-file-id <value>
--purpose

Set client to convert an unarchived pitch workspace. Submit only purpose and optional dry_run. The conversion is irreversible. A request to convert to pitch is rejected.; enum: client|pitch

Type: string. Optional.

terminal
orc workspace update <id> --purpose <value>

archive

Archive workspace

terminal
orc workspace archive <id> [options]

Unique options

--idempotency-key

Retry identity for operations that support idempotency. Use a unique key for each new operation, and reuse it only when retrying the same HTTP method, path, query values and exact request body. JSON whitespace changes can count as a different body. Keys contain 1–255 characters after trimming and expire after 24 hours. A completed JSON response is replayed without repeating the operation. A different request using the same key returns 409 idempotency_error. An in-progress request returns 409 idempotency_in_progress with Retry-After: 2. Whether this header is required depends on the operation.

Type: string. Optional.

terminal
orc workspace archive <id> --idempotency-key <value>

restore

Restore workspace

terminal
orc workspace restore <id> [options]

Unique options

--idempotency-key

Retry identity for operations that support idempotency. Use a unique key for each new operation, and reuse it only when retrying the same HTTP method, path, query values and exact request body. JSON whitespace changes can count as a different body. Keys contain 1–255 characters after trimming and expire after 24 hours. A completed JSON response is replayed without repeating the operation. A different request using the same key returns 409 idempotency_error. An in-progress request returns 409 idempotency_in_progress with Retry-After: 2. Whether this header is required depends on the operation.

Type: string. Optional.

terminal
orc workspace restore <id> --idempotency-key <value>

Examples

terminal
orc workspace link <workspace-id>

Link the current directory.

Set the default Workspace.

terminal
orc workspace use <workspace-id>

Set the default Workspace.

terminal
orc workspace unlink

Remove the directory link.

Selection precedence

Selection uses --workspace, ORCHESTOR_WORKSPACE_ID, .orchestor/workspace.json in the current directory, then global defaultWorkspace. If the target is unexpected, check current output source and higher-priority settings.

link and use save local selection. The server checks authentication and membership when an operation is performed.

Global Options

The following global options can be used with orc workspace:

For details and examples, see global options.