create_workspace
Create a workspace in the organization, with its own data, keys and usage line on the organization’s bill. Needs an organization key or an organization admin; act in it with an organization key at /mcp/<workspace_id>, or with a key created for it in the dashboard.
REST: POST /v1/workspaces
Its home region, where its data lives and its renders run, which can’t change later:
us-east, the default.delete_workspace
Delete a workspace. At once nothing can act in it, its links stop playing and its storage stops billing; 7 days later (its purge_at) everything in it is deleted for good: documents, assets, links, exports, keys and domains. Until then restore_workspace brings it back. Needs an organization key or an organization admin; the organization’s last workspace can’t be deleted.
REST: DELETE /v1/workspaces/{workspace_id} · destructive, idempotent
get_organization
Get the organization: its ID and name.
REST: GET /v1/organization · read-only
No arguments.
get_workspace
Get a workspace: its name, region, key prefix, limits and status.
REST: GET /v1/workspaces/{workspace_id} · read-only
list_workspaces
List the organization’s workspaces this connection can see, oldest first, with those being deleted. A workspace’s API key sees only its own.
REST: GET /v1/workspaces · read-only
No arguments.
restore_workspace
Restore a workspace being deleted, before its purge_at, with everything in it. Needs an organization key or an organization admin.
REST: POST /v1/workspaces/{workspace_id}/restore · idempotent
update_organization
Rename the organization. Members see the new name, and invoices carry it from the next one. Needs an organization key or an organization admin.
REST: PATCH /v1/organization · idempotent
update_workspace
Rename a workspace. Needs an organization key, the workspace’s own key, or workspace:manage in it.
REST: PATCH /v1/workspaces/{workspace_id} · idempotent