space

create

Create a product space on a branch.

strata space create

wire space_create

Creates a product space in the branch catalog. Creation is idempotent: creating a space that already exists succeeds with `created: false` and no mutation effect. Names reserved for engine control data are rejected with `invalid_argument.engine.product_space_reserved`.

Successful mutations return an acknowledgement of the outcome: for a state-changing write, the affected target with the mutation effect and commit facts; for mutations that produce a domain result (such as a branch or a promotion outcome), that result object.

To see the complete help for this command, run:

strata space create --help

Example

Create a product space.

strata space create appstrata space list

Parameters

NameTypeRequiredDescription
spacestringyesProduct space name.
branchstring or nullnoTarget branch. Defaults to the executor handle branch.

Returns

MutationAck<SpaceCreate>

  • dataobject
  • typestring

Errors

Recover by code. Retry policy and commit outcome come from the shipped error registry.

← All 4 Spaces commands

agents: this page as markdown → /docs/reference/space/create.md