v1
latestOpenAPI 3.1.02026-08-04151221521.2 KBNamespaces
Create Namespace
Create a new namespace for multi-tenant isolation.
post/namespaces
Request body
namestring required
Human-readable name.
owner_org_idstring required
WorkOS organization ID that owns this namespace.
slugstring required
URL-friendly unique identifier (lowercase alphanumeric and hyphens).
Response
Successful Response
artifact_registrystring nullable
Artifact Registry repository name.
created_atstring date-time nullable
When the namespace was created.
created_bystring required
member_id of the creator.
errorstring nullable
Error message if provisioning failed.
error_stepstring nullable
Which provisioning step failed (e.g., 'create_gcs_bucket').
gcp_sa_emailstring nullable
GCP service account email.
gcs_bucketstring nullable
GCS bucket name.
idstring required
The unique identifier of the namespace.
k8s_namespacestring nullable
K8s namespace name.
namestring required
Human-readable name for the namespace.
owner_org_idstring required
WorkOS organization ID that owns this namespace.
registry_sa_emailstring nullable
Registry service account email for token generation.
slugstring required
URL-friendly unique identifier.
status'PENDING' | 'READY' | 'FAILED'
Status of namespace infrastructure provisioning.