On this page
Platform administration, organization data and backup, menus, blueprints, appearance and masking.
apiTokens#
Source: apps/web/src/server/routers/api-tokens.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
apiTokens. |
query | orgProcedure, manage_ |
— |
apiTokens. |
mutation | rateLimited, manage_ |
— |
apiTokens. |
mutation | rateLimited, manage_ |
— |
admin#
Source: apps/web/src/server/routers/admin.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
admin. |
query | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
blueprint provenance for one org — the per-row detail read. |
admin. |
query | superAdminProcedure |
A cross-org ai_configs scan is denied by the real nobypassrls app role. |
admin. |
mutation | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
Re-apply a provisioning blueprint to an existing org. |
admin. |
query | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
Every white-label domain row for an org (org-scoped RLS → withOrgContext). |
admin. |
mutation | superAdminProcedure |
Register a customer-owned white-label domain. |
admin. |
mutation | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
Super-admin read of an org's LDAP entitlement + whether it is configured. |
admin. |
mutation | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
Super-admin read of an org's OIDC provider rows — entitlement + whether each is configured. |
admin. |
mutation | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
The org's own brand name in an exported PDF's footer. |
admin. |
query | superAdminProcedure |
Super-admin read of an org's white-label entitlement, whether a login-page config has ever been published, and the current PDF footer override. |
admin. |
mutation | superAdminProcedure |
MCP tokens (super-admin only) |
admin. |
query | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
one person, keyed on their id — the detail read the drawers open with. |
admin. |
query | superAdminProcedure |
one org, keyed on its id — the org drawer's record, not a list read. |
admin. |
query | superAdminProcedure |
the membership directory — assignments, searched and paged by the server. |
admin. |
query | superAdminProcedure |
Assignable brands of one org, for the membership brand-scope picker. |
admin. |
query | superAdminProcedure |
What a demo member reads in place of the org and each brand; positions match the posture's alias order. |
admin. |
mutation | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
Bulk hide/show a menu item across every role in an org with a single call. |
admin. |
mutation | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
Per-connector medallion (Bronze → Silver → Gold) status for an org. |
admin. |
query | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
Manually enqueue a one-shot sync for a connector. |
admin. |
query | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
One page of an org's rows for the /admin/data browser. |
admin. |
query | superAdminProcedure |
— |
admin. |
query | superAdminProcedure |
Lightweight probe used by the /admin/data SampleDataPanel to decide which buttons to render. |
admin. |
mutation | superAdminProcedure |
— |
admin. |
mutation | superAdminProcedure |
— |
siteIdentity#
Source: apps/web/src/server/routers/site-identity.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
siteIdentity. |
query | public |
Public read — chrome of every page depends on this. |
siteIdentity. |
query | superAdminProcedure |
Super-admin read includes the audit metadata. |
siteIdentity. |
mutation | superAdminProcedure |
— |
siteIdentity. |
mutation | superAdminProcedure |
Super-admin kill-switch for OAuth token refresh. |
appearance#
Source: apps/web/src/server/routers/appearance.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
appearance. |
query | superAdminProcedure |
Built-ins + custom rows of one cohort + the active slug. |
appearance. |
query | superAdminProcedure |
A single skin (built-in, or a custom row of the addressed cohort). |
appearance. |
mutation | superAdminProcedure |
— |
appearance. |
mutation | superAdminProcedure |
— |
appearance. |
mutation | superAdminProcedure |
— |
appearance. |
mutation | superAdminProcedure |
— |
appearance. |
mutation | superAdminProcedure |
— |
appearance. |
mutation | superAdminProcedure |
Import an untrusted bundle into the platform cohort, or (with orgId) into one org's own catalogue. |
appearance. |
query | orgProcedure, owner or admin |
This org's own skins. |
appearance. |
mutation | rateLimited, owner or admin |
— |
appearance. |
mutation | rateLimited, owner or admin |
— |
appearance. |
mutation | rateLimited, owner or admin |
— |
appearance. |
mutation | rateLimited, owner or admin |
— |
appearance. |
mutation | rateLimited, owner or admin |
Import a bundle as this org'S own skins — same mechanics as the platform importer (import), only the cohort differs. |
platformConnectors#
Source: apps/web/src/server/routers/platform-connectors.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
platform |
query | superAdminProcedure |
— |
platform |
mutation | superAdminProcedure |
— |
platform |
mutation | superAdminProcedure |
— |
platform |
mutation | superAdminProcedure |
One login and one list call through the shared session and call budget; answers codes and latency, never vendor text. |
platform |
mutation | superAdminProcedure |
— |
platform |
query | superAdminProcedure |
— |
platform |
mutation | superAdminProcedure |
— |
platform |
mutation | superAdminProcedure |
— |
platform |
query | superAdminProcedure |
— |
platform |
mutation | superAdminProcedure |
— |
orgData#
Source: apps/web/src/server/routers/org-data.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
orgData. |
query | superAdminProcedure |
— |
orgData. |
mutation | superAdminProcedure |
— |
orgData. |
query | superAdminProcedure |
Recent backup/restore jobs, newest first (capped at 50). |
orgData. |
query | superAdminProcedure |
Does an into_same_org restore of this artifact need the operator to say how row identities are handled? |
orgData. |
query | superAdminProcedure |
A single job (poll one job's live progress). |
orgData. |
mutation | superAdminProcedure |
Mint a short-lived (≤15m) presigned download URL for a completed backup artifact. |
orgData. |
mutation | superAdminProcedure |
Delete only terminal, non-retrying states, and require the physical object cleanup to succeed. |
orgData. |
mutation | superAdminProcedure |
— |
orgData. |
mutation | superAdminProcedure |
Cancel a job before the worker has picked it up. |
orgData. |
query | orgProcedure, owner or admin |
The org's own scope preview — the same three facts Admin cp resolves (groups, sizes, relevance), for the tenant the caller is in. |
orgData. |
query | orgProcedure, owner or admin |
— |
orgData. |
mutation | rateLimited, owner or admin |
— |
orgData. |
mutation | authed, owner or admin |
Presigned download of the caller's own artifact — org-scoped twin of download. |
orgData. |
mutation | authed, owner or admin |
Delete one of the caller's own terminal jobs + its object (org-scoped twin of delete, same restore-the-row-on-storage-failure contract). |
orgData. |
mutation | rateLimited, owner or admin |
destructive, and deliberately the narrowest of the five: same-org only, own artifact only, never an imported one, slug typed back. |
orgBackupConfig#
Source: apps/web/src/server/routers/org-backup-config.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
orgBackupConfig. |
query | superAdminProcedure |
Super admin — names the org. |
orgBackupConfig. |
mutation | superAdminProcedure |
— |
orgBackupConfig. |
mutation | superAdminProcedure |
— |
orgBackupConfig. |
query | superAdminProcedure |
— |
orgBackupConfig. |
mutation | superAdminProcedure |
— |
orgBackupConfig. |
mutation | superAdminProcedure |
— |
orgBackupConfig. |
mutation | superAdminProcedure |
— |
orgBackupConfig. |
query | orgProcedure, owner or admin |
The org's own — cannot name another org. |
orgBackupConfig. |
mutation | rateLimited, owner or admin |
— |
orgBackupConfig. |
mutation | rateLimited, owner or admin |
— |
orgBackupConfig. |
query | orgProcedure, owner or admin |
— |
orgBackupConfig. |
mutation | rateLimited, owner or admin |
— |
orgBackupConfig. |
mutation | rateLimited, owner or admin |
— |
orgBackupConfig. |
mutation | rateLimited, owner or admin |
— |
orgBlueprints#
Source: apps/web/src/server/routers/org-blueprints.ts
Read-only listing of every workspace shape an operator may provision for the /admin/orgs create-org form and the org drawer.
| Procedure | Type | Access | Description |
|---|---|---|---|
orgBlueprints. |
query | superAdminProcedure |
— |
masking#
Source: apps/web/src/server/routers/masking.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
masking. |
query | orgProcedure, owner or admin |
Everything the settings screen renders in one read: |
masking. |
query | orgProcedure, owner or admin |
The org's own AI candidates, for the draft's model picker. |
masking. |
mutation | rateLimited, owner or admin |
The name and mark an anonymised reader sees in place of the org's own. |
masking. |
mutation | rateLimited, owner or admin |
who reads masked. |
masking. |
mutation | rateLimited, owner or admin |
Add a term, or correct one in place. |
masking. |
mutation | rateLimited, owner or admin |
Retire a term. |
masking. |
mutation | authed, owner or admin |
— |
masking. |
mutation | rateLimited, owner or admin |
the only writer of origin: 'ai_. |
masking. |
query | orgProcedure, owner or admin |
— |