Predict.aiDocs
Core concepts

Workspaces & organizations

How tenancy works — who owns what, and what X-Workspace-Id does.

Workspaces

A workspace is the container everything else lives in: signals, segments, models, pipelines, trainings, deployments, and goals all belong to exactly one workspace. Data never crosses workspace boundaries.

Nearly every API request carries an X-Workspace-Id header that says which workspace the request operates on:

curl "$API_BASE/v1/signal" \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-Workspace-Id: $WORKSPACE_ID"

Omit it and you'll get a 400; send a workspace you can't access and you'll get a 403. Find your workspace IDs with GET /v1/workspace.

Workspaces also pin your data to a region: each workspace lives in one region, and your API base URL follows it. See Base URL & versioning.

Organizations

An organization groups people and workspaces under one roof — shared billing, shared membership, role-based permissions. You don't need one to use predictAI (individual accounts own workspaces directly), but teams usually want one.

Members have one of four roles:

RoleCan do
adminEverything: manage members, billing, and all resources.
billingView and manage billing; read access elsewhere.
memberCreate and manage resources (models, pipelines, deployments).
viewerRead-only.

When you belong to an organization, resources you create in its workspaces belong to the organization, and permission checks use your role — for example, deploying a model requires the models.deploy permission that member and above carry.

Manage all of this through the Workspaces section of the API: workspaces, members, organizations, roles, and invitations.

On this page