What a team controls
Authorization model
Authorization has three rungs, and each is granted separately. Nothing is inherited from the rung above it.Organization
There is exactly one organization role: Owner, held by one person. The Owner manages the organization — its members, its security settings, and who may reach each product. That is authority over access to the products, not access within them. Ownership changes hands through an explicit, audited transfer. An organization always has exactly one Owner — the database enforces it.Product
Each product — Gateway, Studio, Deployer — is granted independently:
Product roles are product-specific. A Studio Editor authors agents; a Deployer
Editor runs training jobs and scales deployments. Granting one product never
grants another.
Workspace
A workspace belongs to exactly one product and takes the same three roles: Admin, Editor, Member, set on the workspace’s own members list. A product Admin reaches every workspace of their product, including ones created later. An Editor or Member reaches only the workspaces they are a member of, and inside one the workspace role decides what they can do — which is what makes per-workspace permissions real.Specific permissions
A role is a coarse bundle, and the useful cases often sit between two of them: somebody who should manage rate limits and nothing else. Rather than promoting them to Editor — which grants five other things — grant the single permission on top of their role. Permissions are namespaced to their product and can never cross:gateway.policies.manage
held by somebody with no Gateway access grants nothing at all.
Roles and permissions are defined in application code, not in the database.
There is no roles table, no permissions table and no way to invent a permission
through the API — the database records only who holds what, where.
Account roles
Separately from the above, each account carries a role used by the content routes:member, editor, admin. (curator was renamed to editor so that
a user row and an access row use one word for one authority.)
Account roles are assigned directly, or mapped from your identity provider’s
groups via the role_claim in your OIDC configuration.
Creating a team
From the admin UI: go to Admin → Teams → New team. Set the team name, choose which models to allow, and configure limits. Via the API:Adding members to a team
Users are assigned to a team when their account is created, or you can update their team membership later. In SSO deployments, team membership can be derived automatically from theteam_claim in the JWT — so when someone joins the “engineering” group in your IdP, they’re automatically placed in the engineering gateway team.
Common patterns
One team per product — your mobile app, web app, and internal tools each get their own team with separate budgets. You can see exactly which product is spending what. Shared model, different limits — both the data science team and the support team can usegpt-4o, but the data science team gets a higher TPM limit and larger monthly budget.
Strict customer-facing controls — your customer-facing product team is in firewall block mode with a conservative model allow-list. Internal tools teams are in monitor mode with broader model access.
Next steps
- Create API keys for your teams
- Configure SSO & SCIM for automated team provisioning
- Set up guardrails for your team’s content policies