Workspaces API
On this page
Create and arrange workspaces and configure their storage. See Workspaces.
Paths are relative to https://<your-atlas-host>/api/v1. For the API key and headers every request needs, see Authentication.
Scroll horizontally to see the full table.
Endpoint | What it does |
|---|---|
Create a new workspace | |
List all workspaces (flat list ordered by tree path) | |
Get a workspace by ID | |
Update a workspace | |
Delete a workspace | |
Preview the storage/access impact of a proposed move (read-only) | |
Move a workspace under a new parent | |
Get all descendants of a workspace | |
Create storage configuration for a root workspace | |
List all workspace storage configurations for your organization | |
Get workspace storage by ID | |
Update workspace storage configuration | |
Delete workspace storage | |
Get storage configuration for a workspace (works for any depth) | |
Run health check on workspace storage |
Create workspace
POST /workspaces/
Create a new workspace.
Request body
Scroll horizontally to see the full table.
Field | Type | Required | Description |
|---|---|---|---|
| string | Yes | |
| string | ||
| object | Key-value tags, usable in row filters as | |
| UUID | Parent workspace; |
Response
Scroll horizontally to see the full table.
Field | Type |
|---|---|
| UUID |
| string |
| string |
| string |
| object |
| integer |
| UUID |
| integer |
| string |
| datetime |
| datetime |
List workspaces
GET /workspaces/
List all workspaces (flat list ordered by tree path).
Parameters
Scroll horizontally to see the full table.
Name | In | Type | Description |
|---|---|---|---|
| query | boolean | Return flat list vs roots only |
| query | integer | |
| query | integer |
Response A page of results (items, total, limit, offset). Each item:
Scroll horizontally to see the full table.
Field | Type |
|---|---|
| UUID |
| string |
| string |
| string |
| object |
| integer |
| UUID |
| integer |
| string |
| datetime |
| datetime |
Get workspace
GET /workspaces/{workspace_id}
Get a workspace by ID.
Parameters
Scroll horizontally to see the full table.
Name | In | Type | Required |
|---|---|---|---|
| path | UUID | Yes |
Response
Scroll horizontally to see the full table.
Field | Type |
|---|---|
| UUID |
| string |
| string |
| string |
| object |
| integer |
| UUID |
| integer |
| string |
| datetime |
| datetime |
Update workspace
PATCH /workspaces/{workspace_id}
Update a workspace.
Parameters
Scroll horizontally to see the full table.
Name | In | Type | Required |
|---|---|---|---|
| path | UUID | Yes |
Request body
Scroll horizontally to see the full table.
Field | Type |
|---|---|
| string |
| string |
| object |
Response
Scroll horizontally to see the full table.
Field | Type |
|---|---|
| UUID |
| string |
| string |
| string |
| object |
| integer |
| UUID |
| integer |
| string |
| datetime |
| datetime |
Delete workspace
DELETE /workspaces/{workspace_id}
Delete a workspace.
Parameters
Scroll horizontally to see the full table.
Name | In | Type | Required | Description |
|---|---|---|---|---|
| path | UUID | Yes | |
| query | boolean | Delete descendants too |
Response
The raw file content.
Preview move workspace
GET /workspaces/{workspace_id}/move/preview
Preview the storage/access impact of a proposed move (read-only).
Parameters
Scroll horizontally to see the full table.
Name | In | Type | Required |
|---|---|---|---|
| path | UUID | Yes |
| query | UUID | |
| query | string |
Response
Scroll horizontally to see the full table.
Field | Type |
|---|---|
| UUID |
| UUID |
| string |
| boolean |
| list of string |
| boolean |
| boolean |
| object |
| object |
Move workspace
POST /workspaces/{workspace_id}/move
Move a workspace under a new parent.
Parameters
Scroll horizontally to see the full table.
Name | In | Type | Required |
|---|---|---|---|
| path | UUID | Yes |
Request body
Scroll horizontally to see the full table.
Field | Type | Description |
|---|---|---|
| UUID | Workspace to move under; |
| string | Ignored; sibling order is set automatically. |
| boolean | Confirm a move that changes storage or access; without it such a move returns 422 with the impact. |
Response
Scroll horizontally to see the full table.
Field | Type |
|---|---|
| UUID |
| string |
| string |
| string |
| object |
| integer |
| UUID |
| integer |
| string |
| datetime |
| datetime |
Get workspace descendants
GET /workspaces/{workspace_id}/descendants
Get all descendants of a workspace.
Parameters
Scroll horizontally to see the full table.
Name | In | Type | Required |
|---|---|---|---|
| path | UUID | Yes |
| query | integer | |
| query | integer |
Response A page of results (items, total, limit, offset). Each item:
Scroll horizontally to see the full table.
Field | Type |
|---|---|
| UUID |
| string |
| string |
| string |
| object |
| integer |
| UUID |
| integer |
| string |
| datetime |
| datetime |
Create workspace storage
POST /workspace-storage/
Create storage configuration for a root workspace.
Request body
Scroll horizontally to see the full table.
Field | Type | Required |
|---|---|---|
| string | Yes |
| UUID | Yes |
| string | Yes |
| object | |
| object | |
| boolean | |
| string |
Response
Scroll horizontally to see the full table.
Field | Type |
|---|---|
| UUID |
| string |
| UUID |
| string |
| object |
| boolean |
| boolean |
| string |
| string |
| datetime |
| datetime |
| datetime |
List workspace storages
GET /workspace-storage/
List all workspace storage configurations for your organization.
Parameters
Scroll horizontally to see the full table.
Name | In | Type |
|---|---|---|
| query | integer |
| query | integer |
Response A page of results (items, total, limit, offset). Each item:
Scroll horizontally to see the full table.
Field | Type |
|---|---|
| UUID |
| string |
| UUID |
| string |
| object |
| boolean |
| boolean |
| string |
| string |
| datetime |
| datetime |
| datetime |
Get workspace storage
GET /workspace-storage/{storage_id}
Get workspace storage by ID.
Parameters
Scroll horizontally to see the full table.
Name | In | Type | Required |
|---|---|---|---|
| path | UUID | Yes |
Response
Scroll horizontally to see the full table.
Field | Type |
|---|---|
| UUID |
| string |
| UUID |
| string |
| object |
| boolean |
| boolean |
| string |
| string |
| datetime |
| datetime |
| datetime |
Update workspace storage
PATCH /workspace-storage/{storage_id}
Update workspace storage configuration.
Parameters
Scroll horizontally to see the full table.
Name | In | Type | Required |
|---|---|---|---|
| path | UUID | Yes |
Request body
Scroll horizontally to see the full table.
Field | Type |
|---|---|
| string |
| object |
| object |
| boolean |
Response
Scroll horizontally to see the full table.
Field | Type |
|---|---|
| UUID |
| string |
| UUID |
| string |
| object |
| boolean |
| boolean |
| string |
| string |
| datetime |
| datetime |
| datetime |
Delete workspace storage
DELETE /workspace-storage/{storage_id}
Delete workspace storage.
Parameters
Scroll horizontally to see the full table.
Name | In | Type | Required |
|---|---|---|---|
| path | UUID | Yes |
Response
The raw file content.
Get storage for workspace
GET /workspace-storage/workspace/{workspace_id}
Get storage configuration for a workspace (works for any depth).
Parameters
Scroll horizontally to see the full table.
Name | In | Type | Required |
|---|---|---|---|
| path | UUID | Yes |
Response
Scroll horizontally to see the full table.
Field | Type |
|---|---|
| UUID |
| string |
| UUID |
| string |
| object |
| boolean |
| boolean |
| string |
| string |
| datetime |
| datetime |
| datetime |
Check storage health
POST /workspace-storage/{storage_id}/health-check
Run health check on workspace storage.
Parameters
Scroll horizontally to see the full table.
Name | In | Type | Required |
|---|---|---|---|
| path | UUID | Yes |
Response
The raw file content.
What’s next?
-
API overview: authentication, worked examples, and error handling
-
Webhooks: get events pushed to your systems instead of polling
-
Service accounts: create the key an integration uses