Skip to content

Workspaces

Workspaces provide multi-tenant isolation. Each workspace has its own projects, API keys, and rate limits.

Endpoints

MethodPathDescription
POST/workspacesCreate a workspace
GET/workspacesList your workspaces
DELETE/workspacesDelete a workspace
POST/workspaces/members/inviteInvite a member
POST/workspaces/invitations/:token/acceptAccept an invitation
PATCH/workspaces/members/:userId/roleUpdate member role
DELETE/workspaces/members/:userIdRemove a member
POST/workspaces/transferTransfer ownership

Authentication

All workspace endpoints require JWT authentication. Most mutating operations require admin or owner role.

Roles

RolePermissions
memberView projects and logs
adminManage projects, keys, and members
ownerFull control including workspace deletion and ownership transfer

Headers

All workspace-scoped requests (except list/create) require the X-Workspace-Slug header:

X-Workspace-Slug: my-workspace

LogVista — Edge-native structured logging API