Workspaces

Workspaces are organization-scoped resource containers that isolate projects, data, and spend. Each workspace has its own member roster with owner, admin, and member roles, and can optionally restrict access by client IP address. All workspace endpoints are gated to organization owners and admins.

Base URL

Workspace endpoints

Member endpoints

IP allowlist endpoints

Roles

Create a workspace

Request body

Response

The caller is automatically added as the workspace owner.

List workspaces

Response

Update a workspace

Response

Add a member

Response

If the user is already a member, their role is updated.

Set a member’s role

Returns 204 No Content on success.

Remove a member

Returns 204 No Content on success.

Add an IP allowlist entry

Response

An empty allowlist allows all IPs. ip_range must be a valid CIDR such as 203.0.113.0/24.

Error codes