Reports whether the named product space is cataloged on the target branch. A missing space is false, not an error; reserved names are rejected with invalid_argument.engine.product_space_reserved.
Status commands return a scalar or compact status payload and do not mutate database state.
Examples
Check whether a product space exists.
CLI
$ strata space create app
$ strata space exists app
$ strata space exists nope
Wire
{"space":"app","type":"space_create"}
{"space":"app","type":"space_exists"}
{"space":"nope","type":"space_exists"}
Parameters
No parameters.
Plus the optional scope: branch and space (default to the session branch and the "default" space).
Returns
StatusValue<bool>.
Errors
failed_precondition.engine.runtime_closednot_found.engine.branchinvalid_argument.engine.product_spaceinvalid_argument.engine.product_space_reserved
Invocation
- CLI:
strata space exists - Wire type:
space_exists