Skip to main content

Workspace Manager API

This page lists the primary endpoints currently registered by the application. The OpenAPI document for the deployed version remains authoritative for complete schemas and responses.

Base URL​

/api/v1

Browser clients compose only this relative path on the current Platform Public Origin. Manager Service DNS and port remain deployment-internal.

Authentication​

Manager always requires generic OIDC authentication. There is no public ENABLE_AUTH=false setting or other authentication bypass. The JWT middleware validates protected requests. /health, /health/oidc, /metrics, /docs, /redoc, /openapi.json, and the OAuth2 flow are explicit authentication exemptions. OIDC issuer, audience, signature, lifetime, and optional ACR checks come from OIDC_* settings.

Authorization: Bearer <jwt_token>

Manager does not authorize from the platform role in the JWT alone. It requires a valid, synchronized local user snapshot and evaluates every platform or resource operation through the central AuthorizationOperationPolicy. Workspace and Knowledge Base operations depend only on the effective resource role and are not intersected with platform feature permissions. See Users, Groups, and Permissions for the complete contract.

Health Check​

Manager's GET /health is a deployment-internal probe, not a browser-visible API.

{
"status": "healthy",
"service": "workspace-manager",
"version": "<current-version>",
"timestamp": "<ISO-8601 UTC timestamp>"
}

Workspace Management​

MethodPathDescription
GET/api/v1/workspacesList accessible Workspaces
POST/api/v1/workspacesCreate a Workspace; runtime is required and a durable start job is created in the same transaction
GET/api/v1/workspaces/{workspace_id}Get Workspace details, revisions, and the current Runtime job
PUT/api/v1/workspaces/{workspace_id}Update Workspace settings; requires Workspace manager
DELETE/api/v1/workspaces/{workspace_id}Submit one permanent-deletion intent with complete-name confirmation; the platform converges Automation cancellation, stop, and deletion; requires Workspace Owner
GET/api/v1/workspaces/{workspace_id}/sensitive-settingsGet masked sensitive-setting state; requires Workspace Reader or higher
PUT/api/v1/workspaces/{workspace_id}/sensitive-settingsPreserve, clear, or replace sensitive settings; requires Workspace Manager or higher

Public create and update payloads do not accept provisioner, targetNamespace, setupScript, envVars, or acpCliArgs. The deployment configuration selects the provisioner, and public APIs cannot change it after creation.

Workspace lists, summaries, and details use a safe allowlist projection and never return setup scripts, environment variables, ACP arguments, credentials, tokens, or headers. Successfully authorized resource responses include accessRole, accessSource, complete accessSources, and backend-generated allowedOperations; the frontend must not reconstruct an operation matrix from roles.

Sensitive-settings GET responses expose only masks and isConfigured for secrets, never plaintext. In PUT, an omitted field is preserved, explicit null clears it, and a supplied value replaces it; a mask cannot be submitted as a new value. Request and response logs, error details, and audit metadata are redacted.

Durable Lifecycle​

MethodPathDescription
POST/api/v1/workspaces/{workspace_id}/startReturn 202 and create or redeliver workspace_start
POST/api/v1/workspaces/{workspace_id}/stopReturn 202 and create or redeliver workspace_stop; retain the Workspace CR and PVC
POST/api/v1/workspaces/{workspace_id}/components/{component}/restartReturn 202 and increment only the selected component revision; component is runtime, browser, or canvas

A lifecycle response contains:

{
"workspaceId": "<workspace-id>",
"status": "running",
"component": "browser",
"targetRevision": 3,
"jobId": "<job-id>",
"correlationId": "<correlation-id>",
"rootCorrelationId": "<root-correlation-id>"
}

Start, stop, retry, rebuild, and component restart require Workspace Manager or higher. Permanent deletion requires the actual Owner. After a DELETE intent is accepted, the platform completes it independently; duplicate requests reuse the in-flight attempt, and only a failed attempt may be retried after reconfirming the name. Success requires confirmed Workspace absence. Restarting one component does not replace another component's workload identity.

Knowledge Base Attachments​

MethodPathDescription
GET/api/v1/workspaces/{workspace_id}/knowledge-basesList every Workspace attachment and mount-sync state
POST/api/v1/workspaces/{workspace_id}/knowledge-basesCreate a read-only attachment; returns 202
PATCH/api/v1/workspaces/{workspace_id}/knowledge-bases/{attachment_id}Change the alias; returns 202
DELETE/api/v1/workspaces/{workspace_id}/knowledge-bases/{attachment_id}Build a complete candidate with pending_removal; returns 202
POST/api/v1/workspaces/{workspace_id}/knowledge-base-mount-sync/retryRetry a failed mount revision; returns 202
GET/api/v1/knowledge-bases/{kb_id}/attachmentsLet a KB manager inspect visible usages, total count, and hidden count

Create-attachment request:

{
"kbId": "<knowledge-base-uuid>",
"mountAlias": "product-docs"
}

Change-alias request:

{
"mountAlias": "runbooks"
}

The payload has no mode field, and extra fields are rejected. Every Runtime mount is read-only. There are no KB-centric attachment POST, PATCH, or DELETE routes.

A mutation response contains the attachment and synchronization state:

{
"attachment": {
"id": "<attachment-id>",
"kbId": "<knowledge-base-id>",
"mountAlias": "product-docs",
"status": "pending"
},
"knowledgeBaseMountSync": {
"status": "syncing",
"desiredRevision": 3,
"observedRevision": 2,
"lastKnownGoodRevision": 2,
"errorCode": null,
"compensating": false
}
}

See Workspace and Knowledge Base Permissions for permission and delegated-grant semantics.

Runtime Access and Browser Pairing​

Instance-Bound Runtime Access​

GET /api/v1/workspaces/{workspace_id}/runtime-access?action=<action>&runtimeInstanceId=<current-id>
Authorization: Bearer <token>

Allowed actions are runtime_read, runtime_write, workspace_settings, terminal, agent, automation, and browser_automation. Central policy maps each action to a Workspace OperationId. Before returning 204, the service checks an active principal, current allowedOperations, Runtime access revision, lifecycle state, and generation. Reader receives only a safe read projection; mutation and execution actions require Manager or higher. A syncing or degraded KB mount does not globally block Runtime access.

Common rejections:

HTTPError CodeMeaning
403WORKSPACE_RUNTIME_ACTION_FORBIDDENCurrent Workspace operations do not permit the action
422WORKSPACE_RUNTIME_ACTION_INVALIDThe action or runtimeInstanceId is missing or malformed
423WORKSPACE_RUNTIME_ACCESS_RECYCLE_IN_PROGRESSThe access revision has not converged
423WORKSPACE_RUNTIME_ACCESS_RECYCLE_FAILEDAccess recycling failed
423WORKSPACE_RUNTIME_INSTANCE_MISMATCHThe caller is not the current generation

Browser Extension Pairing​

POST /api/v1/workspaces/{workspace_id}/browser-extension-pairing-assertions
Authorization: Bearer <token>

The request has no body. Manager checks the current actor, generation, and Browser workload identity with browser_automation, then returns an Ed25519-signed, single-use pairing assertion with a maximum 60-second lifetime:

{
"assertion": "<compact-jws>",
"runtimeInstanceId": "<current-generation-id>"
}

The response sets Cache-Control: no-store and Pragma: no-cache. Never place an assertion in a URL query, database, job metadata, browser storage, or log.

Other Workspace Endpoints​

MethodPathDescription
GET/api/v1/workspaces/{workspace_id}/runtime-logsGet Runtime logs
GET/api/v1/workspaces/{workspace_id}/availabilityGet control-plane availability, its stable reason, and permitted recovery actions
POST/api/v1/workspaces/{workspace_id}/availability/actions/{action}Run a recovery action permitted by the availability response
GET / PUT/api/v1/workspaces/{workspace_id}/firewallGet or replace the Workspace firewall desired state
POST/api/v1/workspaces/{workspace_id}/firewall/retryRetry failed firewall convergence
POST/api/v1/workspaces/{workspace_id}/browser/accessGet a Browser relay credential; requires Workspace Manager or higher
POST/api/v1/workspaces/{workspace_id}/browser/credentials/rotateRotate the current Browser workload credential
GET / POST/api/v1/workspaces/{workspace_id}/sharesList or add user or group shares; accepts only Reader or Manager
PATCH / DELETE/api/v1/workspaces/{workspace_id}/shares/{share_id}Update or remove one share

Browser access treats status.browserConnectivity.admission as authoritative. ready, or degraded whose last successful evidence remains within TTL and whose projection is allowed, can issue access. A denied projection in pending or not_ready maps to 409 BROWSER_CONNECTIVITY_NOT_READY. Evidence expired at admission time is also projected as not_ready / denied and maps to the same 409. Only unavailable maps to 503 BROWSER_CONNECTIVITY_UNAVAILABLE. A denied response never includes a Browser credential. Clients use bounded retries and never bypass the gate through another endpoint.

A successful response contains browserUrl, the Neko password, credentialRevision, and iceServers. For a turnRest profile, iceServers contains a short-lived username and credential scoped to that access. The frontend uses it to create the RTCPeerConnection and never substitutes cached or Neko startup ICE settings.

/health only means the Manager HTTP process responds; availability is the authoritative control-plane gate for one Workspace execution plane. A client may run only actions returned by the availability response. Firewall PUT means only that the desired state and durable command were persisted; it does not prove that policy was applied. Continue reading firewall state until syncStatus becomes applied or error. See Execution-Plane Lifecycle and Safety for the complete state and recovery contract.

runtime-logs queries persisted provisioning and lifecycle events; it does not stream container stdout. It accepts limit (default 100, range 1–500) and an optional exact stage filter, then returns entries from newest to oldest by createdAt:

[
{
"id": "<log-id>",
"workspaceId": "<workspace-id>",
"stage": "provisioning",
"message": "<localized-message>",
"metadata": {},
"createdAt": "2026-07-27T12:00:00Z"
}
]

For actual Runtime container or Pod stdout, use the Docker or Kubernetes log commands in Deployment Troubleshooting.

Workspace Settings​

MethodPathMinimum authorizationDescription
POST/api/v1/workspaces/{workspace_id}/setup/syncWorkspace ManagerStart Workspace initialization synchronization
GET/api/v1/workspaces/{workspace_id}/setup/statusWorkspace ReaderGet Workspace initialization synchronization state
GET/api/v1/workspaces/temp/setup/git-branches?git_url=...Active MemberQuery remote Git branches before creation
GET / PUT/api/v1/users/{user_id}/settingsSelfRead or update the caller's personal settings; another user_id in the path is denied
POST/api/v1/users/{user_id}/ssh-keys/generateSelfGenerate and store the caller's SSH key pair
POST / GET/api/v1/users/{user_id}/settings/codex/*SelfManage the caller's Codex sign-in state
POST/api/v1/users/{user_id}/settings/syncSelf and Manager of every target WorkspaceSync personal settings to every manageable, running Workspace Runtime
POST/api/v1/users/{user_id}/settings/sync/{workspace_id}Self and Workspace ManagerSync personal settings to Runtime

Every role can manage its own personal settings, Codex sign-in, and SSH key. Background Runtime convergence runs only when current Workspace allowedOperations permit a settings mutation; otherwise Manager stores only the personal setting.

Container Images​

MethodPathMinimum authorizationDescription
GET/api/v1/container-imagesActive MemberList available Workspace Runtime container images
GET/api/v1/container-images/{image_id}Active MemberGet image details
POST/api/v1/container-images/reloadPlatform AdminReload the platform-wide image list

OAuth​

Manager provides two OAuth route groups. /api/v1/oauth/* manages agent-integration credentials, while /api/v1/oauth2/* is the platform login BFF. Only Manager performs Authorization Code + PKCE, provider token exchange, and validation. The Browser holds only an opaque HttpOnly session.

MethodPathDescription
GET/api/v1/oauth/infoGet provider OAuth configuration
POST/api/v1/oauth/exchangeExchange an authorization code for a token
POST/api/v1/oauth/authenticateAuthenticate with OAuth and save credentials
POST/api/v1/oauth/refreshRefresh an existing OAuth token
GET/api/v1/oauth/healthCheck OAuth service health
GET/api/v1/oauth2/loginCreate an OIDC transaction and redirect to the provider
GET/api/v1/oauth2/callbackExchange the code, validate the provider response, and create an opaque session
GET/api/v1/oauth2/sessionGet local user, canonical OIDC subject, platformRole, allowedOperations, expiry, and a memory-only CSRF token
POST/api/v1/oauth2/logoutValidate session, Origin, and CSRF, then revoke the local session

The Manager Session created by a successful callback is continuing authentication evidence. During a valid Session, protected APIs use only the local Session, User, and operation policy without IdP calls. Missing, expired, revoked, or principal-mismatched Sessions return 401 MANAGER_SESSION_REQUIRED, and Frontend starts OIDC reauthentication once. A denied local user or platform operation returns 403 PLATFORM_AUTHORIZATION_DENIED, preserves the Session, and does not trigger reauthentication.

Marketplace​

Marketplace manages Application Center Managed Plugins, Plugin installation, User Copy, and Registry version control. See Application Center for the full workflow.

MethodPathDescription
GET/api/v1/marketplace/packagesList packages
POST/api/v1/marketplace/packagesCreate a package
GET/api/v1/marketplace/package-formatsList formats, compatible Target Clients, and authoring capabilities
GET / PUT / DELETE/api/v1/marketplace/packages/{target_client}/{package_id}Get, update, or delete one package
GET/api/v1/marketplace/packages/{target_client}/{package_id}/exportExport a package
POST/api/v1/marketplace/packages/refreshRefresh the package-list cache
POST/api/v1/marketplace/imports/scanScan Git or an uploaded source for Plugin candidates
POST/api/v1/marketplace/imports/uploadUpload a ZIP as a temporary import source
POST/api/v1/marketplace/importsImport selected candidates; duplicates require explicit Replace
POST/api/v1/marketplace/plugins/installLet the Target Client CLI install and enable from the configured Registry Git repository
POST/api/v1/marketplace/user-copies/preflightRead-only planning for a one-shot user-scope merge, including resources, duplicates, and blockers
POST/api/v1/marketplace/user-copiesApply a one-shot merge with the preflight digests and user-approved overwrites
GET / PUT/api/v1/marketplace/settingsGet or update Marketplace settings
GET/api/v1/marketplace/activitiesFilter and paginate Marketplace activity by workspaceId, packageFormat, targetClient, packageId, action, and status
GET/api/v1/marketplace/activities/{activity_id}Read authorized User Copy proofs and raw CLI command receipts

Plugin Installation Contract​

POST /api/v1/marketplace/plugins/install accepts targetClient, packageFormat, packageId, version, and workspaceId. Manager passes the configured Registry Git URL and current branch without checking whether remote contains working-tree changes. Runtime executes client-owned install-and-enable commands: Codex plugin add, or Claude Code marketplace add, plugin install, and explicit plugin enable. Every command is retained separately with argv, stage, exit code, timestamps, original byte counts, and stdout/stderr. Output uses a 256-KiB head+tail bound and is not content-masked. Readback failure after successful mutation is a state-unconfirmed warning. Three failed audit writes produce audit-persistence-failed without reversing CLI success.

The endpoint only verifies the selected release and completes the CLI command. It does not create Aileron installation, ownership, drift, reconciliation, uninstallation, or cleanup state. Users manage the plugin afterward through the native target-client CLI.

Import Contract​

An import source is { targetClient, sourceKind, source }. Scan returns the server-detected package ID, version, format, Target Client, validation, and duplicate state. Each selected candidate sends import: { version, overwrite }; a duplicate package ID can be replaced only with overwrite=true. The source does not become a persistent tracked object. Failed candidates contain errorCode, stage, source, destination, and category.

Copy to User Scope Contract​

User-copy is a one-shot merge into user scope. The caller must first invoke POST /api/v1/marketplace/user-copies/preflight. Its status is ready, confirmation-required, or blocked, and it includes:

  • resources: resources that would be created, merged, or left unchanged.
  • skippedResources: components that the exact projection cannot represent; any item requires partial-copy confirmation.
  • conflicts: duplicate resources that require explicit overwrite confirmation.
  • blockingIssues: problems that prevent the operation from proceeding.
  • sourceDigest, profileDigest, projectionDigest, and materializationDigest: digests that bind the package content, source profile, exact projection, and materialized result observed during preflight.

To apply the merge, POST /api/v1/marketplace/user-copies sends catalogPluginId, releaseRevision, packageFormat, targetClient, workspaceId, all expected digests, acceptPartialCopy, and the user's overwriteApprovals. If the source, projection, or target state changes after preflight, the service rejects the apply and requires a new preflight. A successful response includes package format, target client, and created, merged, unchanged, overwritten, and skipped counts.

Success leaves no installation row, source tracking, ownership, drift, reconciliation, uninstallation, cleanup, or background lifecycle. Files and settings become ordinary user-managed resources. Marketplace will not reclaim user-copy content when the source package is edited or deleted.

Marketplace also has a separate Git version-control API under /api/v1/marketplace/version-control/*, including status, stage, unstage, commit, commits, diff, branches, remote, fetch, pull, push, clone, force-unlock, Git identity, and SSH keys. It manages the package Registry itself. Its semantics resemble the Knowledge Base Git endpoints but operate on a different resource.

Members can read the catalog, install, and manage their own user-scope copy. Creating, importing, editing, deleting, and Registry management require Platform Admin. See Application Center for the complete contract.

Activity responses use { items, total, page, pageSize, totalPages }, ordered stably by createdAt DESC, id DESC. Status is either succeeded or failed. Activity is an audit trail, not authoritative installation or lifecycle state.

Automation Jobs​

One asyncio scheduler in the Manager process scans PostgreSQL for Automation schedules, while Workspace Runtime executes them through a claim and complete contract. These APIs do not use Celery for scheduling. Celery worker and Beat form a separate path for durable Workspace jobs such as start, stop, restart, delete, KB mount synchronization, access recycling, Manager Session expiry cleanup, and KB quota reconciliation. See Execution-Plane Lifecycle and Safety — Durable Jobs and Recovery for claim, lease, and heartbeat convergence.

MethodPathDescription
GET/api/v1/automation/jobsList Automation jobs
POST/api/v1/automation/jobsCreate a job
GET/api/v1/automation/jobs/{job_id}Get a job
PATCH/api/v1/automation/jobs/{job_id}Update a job
DELETE/api/v1/automation/jobs/{job_id}Delete a job
POST/api/v1/automation/jobs/{job_id}/pausePause a scheduled job
POST/api/v1/automation/jobs/{job_id}/resumeResume a scheduled job
POST/api/v1/automation/jobs/{job_id}/runStart a manual job execution
POST/api/v1/automation/webhook/{job_id}Trigger a job through its configured webhook
GET/api/v1/automation/jobs/{job_id}/executionsList job executions
GET/api/v1/automation/executionsList visible executions across jobs
GET/api/v1/automation/executions/{execution_id}Get one execution
POST/api/v1/automation/executions/{execution_id}/cancelCancel an execution
GET/api/v1/automation/metricsGet Automation summary metrics
GET/api/v1/automation/calendarGet Automation calendar data

User and Group Management​

MethodPathDescription
GET/api/v1/usersSearch for users that can receive a share
GET/api/v1/users/{user_id}/profileGet a user profile (read-only)
GET / PUT/api/v1/users/me/recent-workspaceGet or update the most recently used Workspace
GET/api/v1/admin/usersList local user snapshots with server-side query, filters, sorting, and pagination
GET/api/v1/admin/users/rolesList the two assignable platform roles, admin and member, and their i18n keys
GET/api/v1/admin/users/{user_id}Get one local user snapshot
PUT/api/v1/admin/users/{user_id}/roleReplace the complete platform role
GET / POST/api/v1/admin/user-groupsList or create User Groups
GET / PATCH / DELETE/api/v1/admin/user-groups/{group_id}Get, update, or delete a User Group with a transactional cascade
GET / POST/api/v1/admin/user-groups/{group_id}/membersList or add group members
GET/api/v1/admin/user-groups/{group_id}/member-candidatesQuery member candidates with server-side filtering
POST/api/v1/admin/user-groups/{group_id}/members/batch-removeRemove multiple group members
DELETE/api/v1/admin/user-groups/{group_id}/members/{user_id}Remove one group member

Every /api/v1/admin/users* and /api/v1/admin/user-groups* endpoint requires a valid, fresh admin platform role. Manager creates a user on first successful OIDC token validation; the admin API does not create provider accounts, handle passwords, or call a provider-admin API. PUT /api/v1/admin/users/{user_id}/role replaces only the local platform role and is protected by audit and the last-usable-admin invariant.

Server-Side List Contract​

User, group, group-member, and candidate lists return the same pagination envelope:

{
"items": [],
"total": 0,
"page": 1,
"pageSize": 25
}

page starts at 1 and pageSize is at most 100. The database performs search, filtering, sorting, total calculation, and pagination. Callers must not fetch a fixed first 25 rows and paginate them locally. Unknown query keys, duplicate keys, invalid CSV enums, booleans, sorting, or page values return stable invalid-page error codes.

Batch member addition returns {addedUserIds, skippedUserIds, failedUsers} and batch removal returns {removedUserIds, skippedUserIds, failedUsers}. Request userIds must contain 1 to 100 unique local user IDs. Existing or already removed entries appear in skippedUserIds, while unauthorized or nonexistent entries appear individually in failedUsers.

See Users, Groups, and Permission Model for complete platform roles, User Group, direct Knowledge Base, and Workspace grant semantics.

Platform Resources​

Only Platform Admin can use the separate global-resource API. Normal Workspace and Knowledge Base lists never mix in every platform resource.

MethodPathDescription
GET/api/v1/platform-resources/workspacesQuery safe Workspace summaries and Owner projections with q, page, and pageSize
GET/api/v1/platform-resources/knowledge-basesQuery safe Knowledge Base summaries and visibility with q, page, and pageSize
POST/api/v1/platform-resources/workspaces/{workspace_id}/owner-reassignmentReassign a Workspace Owner
POST/api/v1/platform-resources/knowledge-bases/{knowledge_base_id}/owner-reassignmentReassign a Knowledge Base Owner

Owner reassignment request:

{
"targetUserId": "<existing-manager-user-id>",
"reason": "<3-500 character audit reason>"
}

The target must be active, authorizable, and already have a Manager relationship to the resource. On success, an active previous Owner becomes Manager; a disabled previous Owner loses access. The service records before-and-after audit data in the same flow, then notifies the previous Owner and publishes access recycling for affected Workspaces after commit. Notification or recycle publication failures use stable error codes; committed ownership is not rolled back to the previous Owner.

Error Formats​

Attachment, Runtime access, and lifecycle contracts use stable error codes, usually in the FastAPI detail object:

{
"detail": {
"errorCode": "KB_MOUNT_ALIAS_INVALID",
"correlationId": "<correlation-id>"
}
}

User Admin and User Group APIs always use a top-level envelope:

{
"errorCode": "USER_ADMIN_INVALID_REQUEST",
"correlationId": "<correlation-id>",
"details": {
"fields": ["email"]
}
}

details is present only for safe validation contexts. It never includes passwords, tokens, raw OIDC-provider responses, or exception payloads. Workspace and Knowledge Base authorization denials always use this structure:

{
"detail": {
"errorCode": "WORKSPACE_OPERATION_DENIED",
"message": "localized message",
"details": {}
}
}

Authorization status semantics are fixed: unauthenticated requests return 401; requests for a missing resource or from a caller with no visible resource relationship return 404; and requests for a visible resource whose operation is not allowed return 403. Callers must branch only on errorCode and map it to i18n. They must not parse or directly display backend message or details. Other non-authorization endpoints continue to follow their own OpenAPI contracts.

StatusDescription
200 / 201 / 202 / 204Success, created, accepted, or no response body
400 / 422Invalid request shape or field contract
401Unauthenticated or invalid control-plane assertion
403Resource is visible, but the requested operation is not allowed
404Resource is missing, IDs do not match, or the caller has no visible relationship
409Lifecycle, attachment, or deletion conflict
423Execution plane is converging or has failed closed
500 / 503Server or required dependency unavailable
OperationIdMinimum resource rolePlatform Admin onlyDescription
workspace.detail.readreaderfalseReader or higher can read Workspace details.
workspace.content.writemanagerfalseManager or higher can mutate Workspace content.
workspace.lifecycle.executemanagerfalseManager or higher can execute complete lifecycle operations.
workspace.metadata.writemanagerfalseManager or higher can update metadata.
workspace.access.managemanagerfalseManager or higher can manage direct and group shares.
workspace.attachment.writemanagerfalseManager or higher can manage Knowledge Base mounts.
workspace.firewall.readreaderfalseReader or higher can view the firewall.
workspace.firewall.managemanagerfalseManager or higher can manage the firewall.
workspace.sensitive_settings.readreaderfalseReader or higher can view masked sensitive settings.
workspace.sensitive_settings.managemanagerfalseManager or higher can update sensitive settings.
workspace.terminal.usemanagerfalseManager or higher can use Terminal.
workspace.agent_chat.usemanagerfalseManager or higher can use AI Chat.
workspace.automation.executemanagerfalseManager or higher can execute Automation.
workspace.browser_automation.usemanagerfalseManager or higher can use Browser automation.
workspace.deleteownerfalseOnly the actual Owner can permanently delete a Workspace.
Error codeDescription
WORKSPACE_ACCESS_DENIEDStable authorization error code WORKSPACE_ACCESS_DENIED.
WORKSPACE_OPERATION_DENIEDStable authorization error code WORKSPACE_OPERATION_DENIED.
WORKSPACE_DELETE_CONFLICTWorkspace deletion conflicts with the current lifecycle state.
Platform Resources error codeDescription
PLATFORM_RESOURCE_INVALID_REQUESTInvalid Platform Resources request fields or shape.
PLATFORM_RESOURCE_NOT_FOUNDThe specified Workspace or Knowledge Base was not found.
PLATFORM_RESOURCE_OWNER_NOT_FOUNDThe current Owner identity was not found.
PLATFORM_RESOURCE_TARGET_NOT_AUTHORIZABLEThe target user is invalid, disabled, or has a non-authorizable identity snapshot.
PLATFORM_RESOURCE_TARGET_MANAGER_REQUIREDThe target user does not already have a Manager relationship to the resource.
PLATFORM_RESOURCE_OWNER_UNCHANGEDThe target user is already the current Owner.
PLATFORM_RESOURCE_OWNER_NOTIFICATION_FAILEDOwnership was committed, but notifying the previous Owner failed.
PLATFORM_RESOURCE_ACCESS_RECYCLE_FAILEDOwnership was committed, but publishing access recycling failed.

Platform resource statistics and capacity API​

Platform Admins can read independent Workspace or Knowledge Base summary, resource-trend, and capacity-trend endpoints. A failure in one endpoint does not become a page-wide error. Governance APIs update or reset Knowledge Base quotas and create or inspect Workspace capacity expansions. Users with workspace.detail.read can call /workspaces/{workspaceId}/capacity?range=7d. Runtime batch ingest uses internal identity validation. See Platform Resource Statistics and Capacity Governance.