Create a new workspace
Create a new workspace.
The creator is automatically granted Admin role on the workspace.
By default, this endpoint waits for the Admin role to propagate before returning.
Use wait_role_propagation=false to skip waiting (useful for bulk operations).
Names beginning with sample- are reserved for the Agents sample flow.
Example:
Query parameters
wait_role_propagation
If true, wait for Admin role to propagate before returning (default: true). Set to false for bulk operations.
Request
This endpoint expects an object.
name
Workspace name (unique identifier). Name must start with a lowercase letter, be 2-63 characters, and use lowercase letters, digits, hyphens, and dots (no consecutive hyphens, cannot end with a hyphen).
description
Optional description of the workspace
Response
Successful Response
id
System-generated UUID
name
Workspace name (user-provided)
created_at
Timestamp of workspace creation
updated_at
Timestamp of last workspace update
description
Optional description
created_by
Principal id for workspace creator
updated_by
Principal id for last workspace update
Errors
422
Unprocessable Entity Error