Accounts and Teams
This page describes 1.14.0. Before upgrading, select the newer documentation version and follow Upgrade DVARA: 1.15.0 requires explicit Gateway clusters and workspace environment assignments.
Not included in DVARA Open Source.
Without a licence, an install has one account and one team; adding more requires a licence. See Limits without a licence.
DVARA governs AI traffic per workspace. Above the workspace sit a team and an account:
Account → Team → Workspace
- A workspace holds the API keys, governance settings, policies, budgets and audit trail.
- A team holds workspaces, typically
dev,stageandprodfor one group. Everyone in a team can switch between all of its workspaces in Flightdeck. - An account holds teams. It is the licensee on a self-managed install.
Team and account rate limits narrow every workspace underneath.
Until you add your own, every workspace is in the Default account and the Default team, which Flightdeck creates with the first workspace.
Who can use these pages
| Role | Accounts and Teams pages |
|---|---|
owner | Read and change |
policy-admin, billing-admin | Read |
| Workspace roles | No access. They see the result in Flightdeck's workspace switcher. |
The Funnel page is narrower: only the owner and billing-admin can open it. A policy-admin and every
workspace role get 403, and see no link to it.
Create an account
- In the sidebar, open Access → Accounts.
- Under New account, enter a name and select Create account.
The list shows each account's status, how many teams and workspaces it has, and its rate limit. Rate limit opens the account-level limit form. Rename, Disable and Enable act on the row.
Create a team
- Open Access → Teams in Flightdeck.
- Under New team, pick the account, enter a name, and select Create team.
The team's page opens. The Teams list shows each team with its account, status, workspace and member counts, and its team and account rate limits.
Move a workspace into a team
On a team's page, under Workspaces, pick a workspace in Move a workspace into this team and select Move here.
- The workspace keeps its keys, settings, policies, budgets and history. Only its team changes, so the team and account rate limits above it change too.
- People who were looking at it in Flightdeck and are not in the new team are switched to another of their workspaces.
- If one of them has no other workspace, the move is refused and nothing changes. The message names them: add them to the new team first, or give them another workspace.
Add people to a team
A person can be in more than one team. On a team's page, under Members, enter their email and select Add. They can now use the Flightdeck workspace switcher to open any workspace in that team. Once they belong to more than one team, each option appears as Team / workspace.
- The team of the workspace a person was created in is their home team, marked on the members list. It is not removed here.
- Remove takes a team away. If they were viewing one of its workspaces, Flightdeck switches them to a workspace in their home team.
- Platform users (
owner,policy-admin,billing-admin) reach every workspace by role and are not added to teams.
A person in team A cannot open a workspace in team B until they are added to B. A switch to any other workspace is refused with 403 and recorded as WORKSPACE_SWITCH_REFUSED.
Disable an account or a team
Disable is reversible and stops growth, not traffic:
- A disabled account takes no new team, and no workspace can be moved into its teams.
- A disabled team takes no new workspace and no new member.
- Their workspaces keep serving Gateway traffic. Enable undoes it.
- The Default account and team cannot be disabled, because a workspace created without a team joins them.
See how accounts get started
From 1.14.0, Access → Funnel (next to Accounts) shows how many accounts reach each step of getting started. Use it to see where new accounts stall. Each figure counts accounts, not requests, and is read from data Flightdeck already holds. Nothing on the gateway or the request path changes.
| Figure | What it counts |
|---|---|
| Accounts | Every account |
| Sent a first request | Accounts with at least one model call from any of their workspaces, as a share of all accounts. It also shows the median time from the account's creation to its first request, and how many accounts did it within 5 minutes (by default) |
| Stored a provider key | Accounts that stored a provider key for one of their workspaces, in any status, so a revoked key still counts |
| Turned on a policy | Accounts with a policy, in one of their workspaces, that is active now or was active once |
| Free to Pro | Accounts that moved from the Free plan to Pro, over every account that was ever on Free |
| Platforms | Accounts with 5 or more workspaces (by default) |
A workspace counts for an account through its team. A workspace with no team counts for no account. Platform-wide provider keys and policies belong to no account. A first request timed before the account existed counts as zero.
Below the figures, the page lists the platforms (most workspaces first) and the newest 100 accounts, each with its creation date, workspaces, time to first request, whether it stored a provider key or turned on a policy, and its tier.
- Free to Pro needs plans, which are used on DVARA Cloud. When no account was ever on Free, the card says so.
- On an install with no accounts yet, the page says so and shows no figures.
- Some steps leave no record in DVARA, such as downloading the audit verifier or a security review with your team. The page does not count them, and says so.
Which accounts are platforms
An account with many workspaces usually builds AI into its own product and gives each of its customers a workspace.
On Access → Accounts, each account with 5 or more workspaces (by default) has a Platform badge, and a note above the list
says how many there are. The owner and billing-admin also get a link to the Funnel page there.
Change the threshold with dvara.flightdeck.funnel.platform-signal-workspaces on Flightdeck (default 5, at least
2). Change what counts as a quick first request with dvara.flightdeck.funnel.first-request-target (default 5m).
See the configuration reference.
Read the funnel in Prometheus
Flightdeck's /actuator/prometheus has two gauges. They are refreshed every 15 minutes by default
(dvara.flightdeck.funnel.refresh-interval-ms), the first time one minute after start:
| Metric | Labels | What it shows |
|---|---|---|
dvara_funnel_accounts | stage: all, first_request, first_request_within_target, provider_key, active_policy, platform_signal, free, converted_to_pro | Accounts at each step. It is never labelled by account |
dvara_funnel_time_to_first_request_median_seconds | none | The median time from an account's creation to its first request, over the accounts that sent one |
Both read NaN until the first refresh, and dvara_funnel_time_to_first_request_median_seconds reads NaN while no
account has sent a request. A failed refresh keeps the last values and logs a warning; the page is read live and is
not affected. A share is a division, for example:
dvara_funnel_accounts{stage="provider_key"} / ignoring(stage) dvara_funnel_accounts{stage="all"}
Each refresh also records the first request time of any new workspace. Old usage records are archived after a while, so the recorded time keeps the figure from moving when they go.
Limits without a licence
| No licence | Valid licence | Expired licence | |
|---|---|---|---|
| Accounts | 1 (Default); another is refused | Any number | Existing ones kept; no new one |
| Teams | 1 (Default); another is refused | Any number | Existing ones kept; no new one |
| Workspaces | 3 | Any number | Existing ones kept; a new one only while there are fewer than 3 |
Renaming, disabling, moving workspaces and adding people are never limited. A refused account or team shows the reason on the page and records ACCOUNT_LIMIT_REACHED or TEAM_LIMIT_REACHED in the audit log. A licence set on the Licence page lifts the limit at once, with no restart.
Audit events
| Event | When |
|---|---|
ACCOUNT_CREATED, ACCOUNT_RENAMED, ACCOUNT_DISABLED, ACCOUNT_ENABLED | An owner changes an account |
TEAM_CREATED, TEAM_RENAMED, TEAM_DISABLED, TEAM_ENABLED | An owner changes a team |
WORKSPACE_MOVED | A workspace moved to another team |
TEAM_MEMBER_ADDED, TEAM_MEMBER_REMOVED | Someone was added to or removed from a team |
ACCOUNT_LIMIT_REACHED, TEAM_LIMIT_REACHED | A new account or team was refused by the licence limit, from this page or a configuration import |
Configuration as code
A configuration export carries accounts, teams and team_members, so an import restores every team with its workspaces and people.