Skip to content
Docs

Sub-tenants

Sub-tenants let one customer run several isolated workspaces of its own. A reseller can run one workspace per client, and a holding company one per subsidiary. The parent workspace’s admins manage their sub-tenants the way a super admin manages tenants, but only their own. No other workspace can see the parent or any of its sub-tenants. Added in 2.0.379.

Viewer Own workspace Its sub-tenants Any other workspace
Super admin Yes Yes Yes (as before)
Admin of a parent workspace Yes Read-only, alongside your own: Employee Directory and Usage Insights (audit trail, conversations, analytics, Export CSV), each row labelled with its workspace. Changes, Audit Export and Observe only by opening it No
Admin of a sub-tenant Yes No; a sub-tenant cannot have sub-tenants No (not its parent, not its siblings)
Employee (role user) Their own requests, as before No No

Isolation is enforced on the server, on every request. A parent admin sees its sub-tenants’ employees and usage from its own session (read-only, see below) but changes anything in a sub-tenant only through Open (below). A ?organizationId=<id> on a console request from anyone but a super admin is ignored, even for one of your own sub-tenants, and the request runs in the caller’s own workspace exactly as it always has: every edit, delete, key rotation, suspension, password reset or role change naming a sub-tenant’s employee is refused (403) from the parent’s session. The Sub-tenants management endpoints answer 404 for a workspace that is not yours, the same answer as an id that does not exist, so they cannot be used to discover which workspaces exist.

There is one level of nesting: a sub-tenant cannot create sub-tenants of its own.

How do I switch the feature on for a customer?

Section titled “How do I switch the feature on for a customer?”

Sub-tenants is a plan feature, and it is opt-in. It is off on every plan, including the unrestricted Business and Data Center plans, until a super admin switches it on. Upgrading AgentWatch therefore gives no workspace the power to create workspaces.

  1. Sign in as a super admin and open Platform Admin → Plans → Plan features.
  2. In the column of the plan the customer’s workspace is on, open the ⋯ menu and choose Edit features.
  3. Under Management, tick Sub-tenants and click Save. It works whether the plan is restricted or unrestricted.

The customer’s admins see Sub-tenants in the sidebar, under Management, on their next page load. Switching it off again takes their sub-tenants out of their reach: an open sub-tenant session ends on its next request. The sub-tenants themselves keep working; only the parent’s access to them stops.

How many? The plan’s Max Tenants counts workspaces, and it includes the parent. A plan with Max Tenants 10 allows the parent and 9 sub-tenants. -1 means unlimited.

How does a parent admin create a sub-tenant?

Section titled “How does a parent admin create a sub-tenant?”

Sub-tenants → New sub-tenant: enter a name and the admin’s email, then click Create. Admin’s full name is optional: it is the display name of the sub-tenant’s first admin account, the person whose email you entered. Left blank, AgentWatch uses the part of the email before the @ (so admin@acme-west.com is named admin). It does not affect permissions or sign-in. To change it later, use Rename admin on the sub-tenant’s row.

AgentWatch creates the workspace with a Default Team, its admin login and gateway key. It has no plan of its own: it always runs on the parent’s current plan (see below), so a sub-tenant never has more features than the workspace that made it. A temporary password is shown once. The new admin signs in at /<slug>/login.

Terminal window
curl -X POST https://<your-agentwatch>/admin/sub-tenants \
-H "Authorization: Bearer $PARENT_ADMIN_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Acme West","adminEmail":"admin@acme-west.com","adminName":"Jane Doe"}'

Creation is all or nothing. If any step fails, nothing is left behind, so you never get a workspace with no admin.

A workspace name may not contain a backtick (`), <, > or control characters; such a name is refused with 400 INVALID_NAME (quotes and apostrophes are fine). The same rule applies to sign-up, checkout, the super admin’s New Tenant and every rename.

A new sub-tenant has no subscription row of its own: it runs on its parent’s plan from the first request.

A new sub-tenant takes one person (its admin) and one team (its Default Team) from the family’s pool, both checked before anything is created: on a plan whose people or teams are used up, creation is refused with 403 USER_LIMIT_REACHED or 403 TEAM_LIMIT_REACHED.

What do a parent and its sub-tenants share?

Section titled “What do a parent and its sub-tenants share?”

One plan for the whole family. A sub-tenant always runs on its parent’s current plan: its features (Platform Admin → Plans → Plan features), its subscription status, and every limit. Upgrade or downgrade the parent and its sub-tenants follow on their next request; there is nothing to change on each sub-tenant. A plan cannot be set on a sub-tenant (409 SUB_TENANT_USES_PARENT_PLAN). Sub-tenants created by 2.0.379–2.0.382 still carry a copy of the parent’s plan from the day they were made; it is ignored everywhere, so they need no change on upgrade.

One pool for the family, counted against the parent’s plan:

Plan limit What is counted Across
Max Users people (logins and employees, each person once) the parent and every sub-tenant
Max Teams teams the parent and every sub-tenant
Max API Calls / month requests served this calendar month (refused requests are not counted) the parent and every sub-tenant
Max Tenants workspaces the parent plus its sub-tenants (see above)

So on a plan with 3 teams, a parent with 2 teams can give its sub-tenants one more team between them, and when the family reaches 10,000 calls in a month on a 10,000-call plan, every workspace in it is refused until the month ends or the parent’s plan is raised. A refusal names the family: Team limit reached for Acme and its sub-tenants (3/3) (Starter plan) or, from the gateway, 402 Plan limit exceeded: Monthly API call limit reached for Acme and its sub-tenants (10,000 / 10,000).

Suspended and archived sub-tenants still count. Their people, teams and this month’s calls stay in the family’s pool until your provider permanently deletes the sub-tenant. Suspending one stops its use; it does not free its share.

A parent goes last (409 SUB_TENANTS_EXIST): it is its sub-tenants’ plan. Your provider can archive a parent once every sub-tenant is archived (all records are kept, the family stays together), and permanently delete a parent only once every sub-tenant has been permanently deleted. A sub-tenant whose parent is somehow missing is refused plan-limited actions (PLAN_CHECK_FAILED) rather than being treated as having no limits.

Billing shows the parent’s plan. A sub-tenant’s billing page shows the plan it runs on as (from ); the same label appears on the provider’s tenant list and tenant detail, where Change Plan is not offered for a sub-tenant.

A sub-tenant’s own Stripe subscription does not change its status. A workspace attached under a parent may still hold a subscription of its own (kept at bind). Stripe events on it — payment failed, subscription cancelled, invoice paid — update that subscription’s record, but they no longer suspend, cancel or re-activate the sub-tenant: it runs on its parent’s plan, so its status follows the parent and its provider. Each skipped change is logged as sub-tenant-own-subscription-status-ignored.

Usage Insights stay per workspace: each workspace sees its own requests, even though the cap they count against is shared.

What if the new admin never received their password?

Section titled “What if the new admin never received their password?”

The temporary password is shown once, to the parent admin who created the sub-tenant, and passing it on is up to them. From 2.0.386, when the parent workspace has an email provider configured (Company Settings → Email Notifications), the new admin also gets a welcome email with the sign-in address. It never contains the password. The create panel says whether it was sent. The new admin can also set their own password with Forgot password? on the sign-in page (see Configuration). If it was lost or never passed on, the parent admin can issue a new one: Sub-tenants → Reset password on the sub-tenant’s row. The old password stops working at once, and the new one is shown once, for you to pass on. The console asks them to choose their own the first time they sign in. Every reset is recorded in the audit log of both workspaces (sub_tenant.admin_password_reset).

A sub-tenant admin who forgets their password can use Forgot password? on the sign-in page when an email provider is configured; otherwise they ask the parent workspace’s admin to reset it. After any reset, the console asks them to choose their own password the first time they sign in.

Rename admin on the same row changes the admin’s display name. It does not change their sign-in email or permissions.

Terminal window
# new one-time password for the sub-tenant's admin (shown once)
curl -X POST https://<your-agentwatch>/admin/sub-tenants/<sub-tenant-id>/admin/reset-password \
-H "Authorization: Bearer $PARENT_ADMIN_TOKEN"
# rename the sub-tenant's admin
curl -X PATCH https://<your-agentwatch>/admin/sub-tenants/<sub-tenant-id>/admin \
-H "Authorization: Bearer $PARENT_ADMIN_TOKEN" -H "Content-Type: application/json" \
-d '{"name":"Jane Doe"}'

How does a parent admin manage a sub-tenant’s teams and employees?

Section titled “How does a parent admin manage a sub-tenant’s teams and employees?”

Click Open on its row. You get a one-hour session inside that sub-tenant, signed in as its admin. Teams, Employee Management, budgets, providers and settings work exactly as they do for that workspace’s own admin. A banner at the top shows where you are and offers Exit and go back. Each open is recorded in the audit log of both workspaces (sub_tenant.opened).

The session is checked on every request, not only when it starts. It ends at once (401 IMPERSONATION_REVOKED) if the admin who opened it is removed, disabled or is no longer an admin of the parent, if the parent’s plan no longer includes Sub-tenants, if the parent or the sub-tenant is suspended, or if the sub-tenant’s admin account is disabled, removed or no longer an admin. The console then takes you back to your own workspace with the notice Your access to that sub-tenant ended. Open it again once the reason is resolved. Signing out from an open sub-tenant ends that session too.

Open from your own session. Opening a sub-tenant while you are yourself impersonating someone (for example a super admin’s Impersonate) is refused with 409 IMPERSONATION_NESTED, because the audit trail would otherwise name the impersonated admin instead of you.

Audit entries name the real person. Anything you change while a sub-tenant is open is recorded in its audit log with impersonatedBy and impersonatedByEmail (you), impersonationScope: "sub-tenant" and openedFromOrganizationId (your workspace), beside the sub-tenant admin the session runs as. A super admin’s Impersonate is recorded the same way with impersonationScope: "platform".

Suspend stops everyone in the sub-tenant from signing in and stops its gateway keys, until you Activate it again. Permanent deletion stays with your provider (Platform Admin). A sub-tenant is not re-activated while its parent is archived (409 PARENT_ARCHIVED): activate the parent first.

Known behaviour: an Open session is a full admin session in the sub-tenant. While you have it open you can create users and gateway keys there exactly as its own admin can, and those stay when your access to the sub-tenant later ends (for example when you stop being a parent admin). Remove them inside the sub-tenant if they should not remain.

A sub-tenant shares the parent’s plan, so by default it can use as much of the family’s pool as it likes. A parent admin can hold one sub-tenant to less than the pool. This is a limit inside the plan, never above it: the family’s plan limit still binds everyone, and the tighter of the two always wins.

  1. Open Sub-tenants in the sidebar (your own session, not an Open session).
  2. Click Edit limits on the sub-tenant’s row.
  3. Fill in any of Seats, Teams, API calls / month and Budget / month (USD). Each shows what the sub-tenant uses now. An empty field means no extra limit.
  4. Under Features (ticked = allowed), untick the plan features this sub-tenant should not have. This hides the section and its admin pages for the sub-tenant; it does not stop services that are already running (for example gateway traffic, MCP calls and a configured SSO provider keep working).
  5. Click Save. You should now see the new numbers on the next load, and the sub-tenant’s own Subscription Plan card shows Limited by with the caps.

The caps are enforced on the server, for everyone acting inside the sub-tenant, a super admin included (a super admin who needs more edits the cap). They bind where the family’s own checks already run: adding a person or a login, creating a team, and each gateway request.

Terminal window
# read the limits, the sub-tenant's usage and what you may switch off
curl https://<your-agentwatch>/admin/sub-tenants/$SUB_ID/limits \
-H "Authorization: Bearer $PARENT_ADMIN_TOKEN"
# change them (PATCH semantics: only the fields you send are touched; null clears one)
curl -X PUT https://<your-agentwatch>/admin/sub-tenants/$SUB_ID/limits \
-H "Authorization: Bearer $PARENT_ADMIN_TOKEN" \
-H "Content-Type: application/json" \
-d '{"maxUsers":5,"maxTeams":2,"maxApiCallsMonth":20000,"maxBudgetMonthUsd":150,"disabledModules":["sso","mcp-proxy"]}'

GET answers {limits, usage, available}: limits holds maxUsers, maxTeams, maxApiCallsMonth, maxBudgetMonthUsd and disabledModules; usage the sub-tenant’s own people, teams, calls and spend this month; available the features your plan includes and the family’s ceilings. Platform admins use the twin GET/PUT /platform/tenants/:id/sub-tenant-limits.

What happens when a sub-tenant reaches a cap? The same refusal it would get from the plan, with limitSource: "parent" and a message ending “— set by your parent workspace .”, for example 403 USER_LIMIT_REACHED “Seat limit reached (5/5) — set by your parent workspace Acme.”. Team, API-call (402) and budget (402) refusals say the same. A refused request still writes a Blocked row to Usage Insights.

What if I set a cap below what the sub-tenant already uses? Nothing is removed. People and teams stay; new ones are refused until usage is back under the cap. For API calls and budget, further calls are refused for the rest of the month. A feature you switch off disappears from the sub-tenant’s console and is refused immediately.

What if the plan shrinks later? Stored caps are kept and the tighter of the plan and the cap binds. The editor warns on a field whose cap is above the plan’s current limit, and shows a feature the plan no longer has as (not in plan).

Budget has no plan ceiling. Plans carry no dollar budget, so Budget / month (USD) accepts any number of 0 or more. Setting it is the opt-in: it enforces at once, and the sub-tenant’s own admin cannot raise or bypass it.

Symptom Cause Fix
400 LIMIT_ABOVE_PLAN on save A cap is higher than the family plan’s own limit (the response names the limit) Enter a number at or below it, or raise the parent’s plan
400 INVALID on save A cap is negative, fractional (seats, teams, calls) or not a number Use a whole number of 0 or more (budget may have cents), or leave it empty
400 UNKNOWN_MODULE on save A feature key is not in your plan, or is sub-tenants itself Pick from available.modules in the GET
403 OPEN_SESSION_NOT_ALLOWED You are inside an Open session; that session is the sub-tenant’s admin and must not raise its own limits Exit and go back, then edit the limits from your own session
403 NOT_CREATED_BY_PARENT Your provider attached this workspace to yours Ask your provider to change its limits
409 NOT_A_SUB_TENANT (platform route) The workspace is not under a parent Use it only on a sub-tenant
404 on the limits route The id is not one of your sub-tenants Take the id from GET /admin/sub-tenants
403 USER_LIMIT_REACHED / TEAM_LIMIT_REACHED with limitSource: "parent" The sub-tenant is at the cap its parent set Raise the cap under Edit limits, or remove people or teams
402 “Monthly API call limit reached (n / cap) — set by your parent workspace …” The sub-tenant used its own monthly calls Raise the cap, or wait for the next month
A section is missing in the sub-tenant’s console The parent switched the feature off Tick it again under Edit limits

How does a parent admin archive a sub-tenant?

Section titled “How does a parent admin archive a sub-tenant?”

Any workspace admin of the parent can archive a sub-tenant the parent created: Sub-tenants → Archive on its row, then type the sub-tenant’s name exactly and confirm. Archiving is the same soft delete your provider uses:

  • nobody in the sub-tenant can sign in, and its employees’ gateway keys stop working from the next request;
  • every record is kept — Usage Insights, audit logs, employees, teams and settings;
  • any open session into it (yours or another admin’s Open) ends on its next request;
  • it is recorded as sub_tenant.archived in the audit log of both workspaces (and tenant.archived in the sub-tenant’s).

An archived sub-tenant still counts toward the family: its people, teams and this month’s API calls stay in the parent’s pool, so archiving does not free seats or reset the monthly call count. It also stops taking one of your Max Tenants slots, so you can create another. Only your provider can restore it (Activate) or erase it.

From the API:

Terminal window
curl -X DELETE "https://<your-agentwatch>/admin/sub-tenants/$SUB_TENANT_ID" \
-H "Authorization: Bearer $PARENT_ADMIN_TOKEN" -H "Content-Type: application/json" \
-d '{"confirmName":"Acme West"}'
# → {"success":true,"data":{"id":"…","name":"Acme West","status":"archived","employeesSuspended":12}}

A workspace your provider attached to yours (see below) shows Attached by your provider instead of Archive: it was not created by your workspace, so only your provider can archive, rename, suspend or detach it (403 NOT_CREATED_BY_PARENT). You can still Open it.

There is no “used this month” restriction on archiving: because an archived sub-tenant’s calls keep counting toward the parent’s monthly cap, archiving one cannot be used to reset the family’s allowance.

How does a platform admin attach or detach an existing workspace?

Section titled “How does a platform admin attach or detach an existing workspace?”

A super admin can make an existing standalone workspace a sub-tenant, or turn a sub-tenant back into a standalone workspace, from Platform Admin → tenant detail → Parent workspace.

Bind (POST /platform/tenants/:id/parent with {"parentId":"…","cancelSubscription":true|false}). The picker lists only active, top-level workspaces whose plan includes Sub-tenants, never the platform workspace or one that holds a super-admin account. Binding is refused, before anything is written, when:

Code Why
409 CHILD_NOT_ELIGIBLE the workspace is the platform workspace, or holds a super-admin account (“This workspace cannot be attached under another workspace.”)
409 PARENT_NOT_ELIGIBLE the chosen parent is the platform workspace, or holds a super-admin account
409 SELF_PARENT / ALREADY_SUB_TENANT the workspace is the parent, or already a sub-tenant (unbind it first)
409 SUB_TENANT_CANNOT_NEST the chosen parent is itself a sub-tenant
409 HAS_SUB_TENANTS the workspace has sub-tenants of its own
409 ARCHIVED / PARENT_NOT_ACTIVE the workspace is archived, or the parent is not active
409 PARENT_NOT_ENTITLED the parent’s plan does not include Sub-tenants
403 USER_LIMIT_REACHED / TEAM_LIMIT_REACHED the family with this workspace would exceed the parent’s Max Users (people or logins) or Max Teams; the response carries resource, limit and current
403 SUB_TENANT_LIMIT the parent’s live sub-tenants plus this one would exceed Max Tenants less the parent
503 PLAN_CHECK_FAILED the limits could not be read; try again

After a bind the workspace runs on the parent’s plan and joins its pools. Its own subscription is either marked cancelled (cancelSubscription: true) or kept and ignored while it is a sub-tenant. Stripe is not called either way: if the workspace is billed in Stripe, cancel or change that subscription there by hand. A bound workspace can be opened by the parent’s admins, but not archived, renamed or suspended by them. Who attached it is stored with the link (organizations.attached_by_user_id) and cleared by unbind.

Unbind (DELETE /platform/tenants/:id/parent with {"planId":"…"}). A plan is required (400 PLAN_REQUIRED, 404 PLAN_NOT_FOUND), because the moment the link is cleared the workspace is standalone and runs on its own plan: its newest subscription moves to that plan (or one is created) and its limits are synced from it. The parent’s open sessions into it end on their next request. Both actions are recorded in the audit log of both workspaces (tenant.bound_to_parent, tenant.unbound_from_parent); an unbind that fails after the link was cleared is recorded as tenant.unbind_partial_failure — re-apply the plan from the tenant detail.

How do I see my sub-tenants’ employees and usage?

Section titled “How do I see my sub-tenants’ employees and usage?”

From your own session, with no Open needed. The Employee Directory and Usage Insights pages show your sub-tenants’ employees and usage alongside your own, read-only:

  • A Workspace column names each row’s workspace (an archived sub-tenant is labelled (archived); its history stays visible).
  • A workspace filter offers All workspaces (the default), This workspace, or one sub-tenant. On Usage Insights it applies to the audit trail, the analytics panels (Usage Analytics, Task Analysis, DLP violations, usage by tag) and Export Audit Trail (CSV), which gains a Workspace column.
  • Clicking a sub-tenant’s conversation opens it exactly as the sub-tenant’s own admin sees it, with the same DLP-scrubbed previews.
  • A sub-tenant employee’s row has one action, Open to manage, which opens the sub-tenant (below). Keys are masked and cannot be revealed or rotated from your session; edit, suspend, delete and password reset are not offered, and the server refuses them (403) if called directly.

Only the admins of the parent see this, and only when its plan includes Sub-tenants. A sub-tenant’s own admin, an employee, and an Open session (which is the sub-tenant’s own dashboard) see their own workspace only.

From the API, add workspace=all (or own, or a sub-tenant’s id) to GET /admin/tenants/enhanced, /admin/audit/trail, /admin/audit/session/:id, /admin/audit/entry/:id, /admin/audit/export, /admin/usage/stats, /admin/analytics/tasks, /admin/analytics/dlp-violations or /admin/analytics/usage-by-tag. Each row then carries workspace ({id,name,slug,status,archived,own}) and the response lists workspaces. Without workspace= these endpoints answer for your own workspace as before. An id that is not one of your sub-tenants answers your own workspace.

How do I export a sub-tenant’s audit log or manage it?

Section titled “How do I export a sub-tenant’s audit log or manage it?”

Open it, then use Audit Export (or anything else) inside it, exactly as its own admin would. Everything you see and download covers that sub-tenant only. Exit and go back returns you to your workspace.

From the API, open the sub-tenant and use the token it returns:

Terminal window
SUB_TOKEN=$(curl -s -X POST "https://<your-agentwatch>/admin/sub-tenants/$SUB_TENANT_ID/open" \
-H "Authorization: Bearer $PARENT_ADMIN_TOKEN" | jq -r .token)
curl "https://<your-agentwatch>/api/admin/audit/export?format=csv&days=30&source=all" \
-H "Authorization: Bearer $SUB_TOKEN" -o sub-tenant-audit.csv

Adding organizationId=$SUB_TENANT_ID to a request made with your own token does not reach the sub-tenant: you get your own workspace’s records. (In 2.0.379–2.0.382 a parent admin’s own session could name its sub-tenants this way, writes included; that reach was removed so every change in a sub-tenant happens in a session that is checked and audited as such. Seeing a sub-tenant’s employees and usage from your own session is the separate, read-only workspace= scope above.)

Symptom Cause Fix
No Sub-tenants item in the sidebar The plan does not include the feature, or you are not a workspace admin A super admin switches on Sub-tenants for the plan
403 FEATURE_NOT_IN_PLAN from /admin/sub-tenants Same as above Same as above
403 SUB_TENANT_CANNOT_NEST You are signed in to a sub-tenant Create sub-tenants from the parent workspace
403 SUB_TENANT_LIMIT Max Tenants reached (it counts the parent) Raise the plan’s Max Tenants, or archive one you no longer use
403 TEAM_LIMIT_REACHED / USER_LIMIT_REACHED “…for and its sub-tenants” in a sub-tenant well inside its own numbers The family shares one pool and it is full Remove teams or people elsewhere in the family, or raise the parent’s plan
402 Plan limit exceeded: Monthly API call limit reached for <parent> and its sub-tenants The family’s monthly calls are used up Raise the parent’s plan’s Max API Calls, or wait for the next month
503 PLAN_CHECK_FAILED when a sub-tenant creates a team or adds a person The family could not be read (for example a database blip); a sub-tenant is never checked against its own copy instead Try again
409 SUB_TENANT_USES_PARENT_PLAN when a super admin changes a sub-tenant’s plan A sub-tenant runs on its parent’s plan Change the parent’s plan
409 SUB_TENANTS_EXIST “…non-archived sub-tenants — archive them first” when archiving a workspace A sub-tenant is not archived yet (active, suspended or cancelled) Archive its sub-tenants first
409 PARENT_ARCHIVED when activating a sub-tenant Its parent workspace is archived Activate the parent first
400 INVALID_NAME on create or rename The name contains a backtick, <, > or a control character Choose a name without them
409 SUB_TENANTS_EXIST “…sub-tenants — purge them first” when permanently deleting a workspace A sub-tenant still exists (archived ones too) Permanently delete its sub-tenants first
403 TEAM_LIMIT_REACHED on New sub-tenant The family’s teams are used up and every sub-tenant gets a Default Team Remove a team elsewhere in the family, or raise the parent’s plan
409 ADMIN_EMAIL_EXISTS That email already has an AgentWatch account Use a different admin email
Open is greyed out The sub-tenant is suspended, or it has no admin Activate it; ask your provider to add an admin
409 IMPERSONATION_NESTED on Open You are inside an impersonation session Exit and go back to your own session, then open the sub-tenant
401 IMPERSONATION_REVOKED while a sub-tenant is open Your admin access, the plan feature, or the sub-tenant (or its admin) changed since you opened it Exit, fix the cause, and open it again
?organizationId=<sub-tenant> returns your own workspace’s data Expected: your own session never reaches a sub-tenant that way Use ?workspace=<sub-tenant> to read it, or Open it to change it
No Workspace column or filter on Employee Directory / Usage Insights You have no sub-tenants, the plan does not include Sub-tenants, you are not a workspace admin, or you are inside an Open session Expected; inside an Open session you see that sub-tenant only
403 editing, deleting or rotating the key of a sub-tenant’s employee Changes are made only inside the sub-tenant Click Open to manage on the row
Open to manage is greyed out The sub-tenant is suspended or archived Activate it on the Sub-tenants page (an archived one: ask your provider)
400 CONFIRM_NAME_MISMATCH on Archive The typed name is not the sub-tenant’s name exactly Type it exactly as shown
409 ARCHIVED on Archive It is already archived Nothing to do; your provider can restore it
403 NOT_CREATED_BY_PARENT on Archive, rename or suspend Your provider attached this workspace to yours Ask your provider to make the change, or to detach it
409 CHILD_NOT_ELIGIBLE / PARENT_NOT_ELIGIBLE on Bind The platform workspace, or a workspace holding a super-admin account, is on one side Choose other workspaces; super-admin accounts never belong to a customer family
409 PARENT_NOT_ENTITLED on Bind The chosen parent’s plan does not include Sub-tenants Switch the feature on for that plan first
403 USER_LIMIT_REACHED / TEAM_LIMIT_REACHED / SUB_TENANT_LIMIT on Bind The family would not fit the parent’s plan with this workspace (see current/limit) Raise the parent’s plan, or reduce people/teams first
400 PLAN_REQUIRED on Unbind A standalone workspace needs its own plan Choose the plan in the picker

This release adds two columns: organizations.created_by_user_id (who created a sub-tenant from the parent’s page, kept for audit) and organizations.attached_by_user_id (the super admin who attached a workspace under its parent; set and cleared with the link). Both are added automatically on boot (and by the 20261021_sub_tenant_created_by migration), so an upgrade needs no manual step — but it is a schema change, not a plain image swap: let the first boot finish before rolling back to an older image. Sub-tenants created earlier have neither recorded and can still be archived by their parent.

The per-sub-tenant limits add five more columns on organizations: sub_tenant_max_users, sub_tenant_max_teams, sub_tenant_max_api_calls_month, sub_tenant_max_budget_month_usd and sub_tenant_disabled_modules. They are added on boot the same way, and every existing sub-tenant starts with no extra limit and nothing switched off, so an upgrade changes no one’s behaviour until a parent sets a cap.

Known gap: API-call and budget caps bind on the paths that run the family’s API-call and budget checks today: chat completions (streaming and not), Anthropic /v1/messages and the transparent proxy. A request served by a path that does not run those checks (embeddings, images, audio, moderations, files, native Assistants, /v1/responses and the other generic relays, Connect relay traffic, MCP tool calls) is equally unbounded for the family plan, and for a sub-tenant’s cap. The agent web-chat proxy checks the budget only, not the API-call cap. Seat, team and feature limits are not affected.