Workspaces

A workspace is the top-level container for datasets, reports, dashboards, and sharing grants. Every asset in OneAnalytics belongs to exactly one workspace — assets never live at the tenant root.

Why workspaces

Workspaces solve three problems:

  1. Organisation — Finance, Sales, and Ops teams each get their own space; browsing stays focused.
  2. Access control — Permissions are granted into a workspace. A user with editor on the Finance workspace sees nothing in Sales.
  3. Billing boundaries — Storage quota, refresh quota, and per-workspace feature flags can be applied independently.

Roles inside a workspace

RoleCan readCan editCan shareCan manage members
Vieweryesnonono
Editoryesyesyesno
Adminyesyesyesyes

The tenant-wide Owner role always has Admin privileges in every workspace.

Creating a workspace

curl -X POST https://api.analytics.rstglobal.in/v1/workspaces \
  -H "Authorization: Bearer $OA_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"name": "Finance", "description": "GL, AP, AR, cash"}'

Response is a Workspace object with a UUID — keep it, you'll need it when creating datasets.

What belongs to a workspace

  • Datasets (and their refresh schedules, semantic models, row-level security rules)
  • Reports and dashboards (and their layouts, filters, bookmarks)
  • Alerts (every alert is scoped to a dataset in the same workspace)
  • Sharing grants (subject_id must resolve to an asset in the workspace)
  • Tags, folders, and saved queries

Moving assets

A dataset or report can be moved between workspaces by any Owner. Sharing grants on the moved asset are re-evaluated; any principal who loses access is notified by email.