Skip to main content

Workspace

No description

type Workspace implements Node {
id: ID!
deletedAt: Time
orgID: String!
name: String!
isDefault: Boolean!
createdAt: Time!
updatedAt: Time!
}

Fields

Workspace.id ● ID! non-null scalar

Workspace identifier (UUID). Set explicitly by the workspace domain package; also used as the Keycloak resource/group name and (SP-3) the entity owner_id value.

Workspace.deletedAt ● Time scalar

Soft-delete timestamp. If set, record is considered deleted.

Workspace.orgID ● String! non-null scalar

Keycloak organization ALIAS this workspace belongs to. Plain string sidecar reference (mirrors OrganizationSettings.org_id), NOT a relational FK. Uses the alias form because entity owner_id and the JWT groups claim are alias/group-based.

Workspace.name ● String! non-null scalar

Human-readable workspace label (e.g., "Default").

Workspace.isDefault ● Boolean! non-null scalar

True for the single auto-created default workspace per org. Enforced unique-per-org via a partial index.

Workspace.createdAt ● Time! non-null scalar

Workspace.updatedAt ● Time! non-null scalar

Interfaces

Node interface

An object with an ID. Follows the Relay Global Object Identification Specification

Returned By

createWorkspace mutation ● renameWorkspace mutation

Member Of

WorkspaceEdge object