workspaces
Create workspace
Creates a workspace in the named Organization; you must be an owner or admin of it and become the workspace owner. An Idempotency-Key is scoped to that user. Reusing it with the same request returns the existing Workspace in its current state; a different request returns 409/7015. Keys do not expire; replay remains available until the Workspace is permanently deleted.
Bearer token for the authenticated caller.
Optional caller-supplied idempotency key. Any non-empty key up to 64 characters is accepted. Endpoint-specific documentation describes how the key is used.
Required string length: 1 - 64
Example: "create-prod-2026-05-07"
Body
The Organization the Workspace is created in (its parent). Required: the server picks none. You must be an owner or admin of it. Clients may default it, as the dashboard does from its current Organization and the CLI from its configuration.
Required string length: 1 - 54
Required string length: 3 - 39
Response
Workspace created
ID of the organization that owns this workspace.
Required string length: 1 - 54
URL-safe workspace slug
Available options: standard, platform, sandbox