Skip to main content
QUERY
myWorkspace: Workspace

Returns

id
ID!
name
String!

The internal name of the workspace, used within Plain and not shown to customers.

publicName
String!

The public-facing display name of the workspace shown to customers and in external communications.

isDemoWorkspace
Boolean!

Whether this workspace is a demo workspace created for evaluation purposes.

domainName
String
deprecated
Use domainNames instead
domainNames
[String!]!

The list of email domain names associated with this workspace, used to automatically associate customers with the workspace.

createdBy
createdAt
updatedBy
updatedAt
workspaceEmailSettings
workspaceChatSettings
workOSOrganizationId
String

The per-workspace WorkOS organization used for membership and org switching, if configured.

workOSHubOrganizationId
String

The shared WorkOS hub organization that holds SSO, directory sync, and domain policy, if this workspace is hub-linked.

isSSOEnabled
Boolean!

True when this workspace or its hub has an active SSO connection.

isDirectoryEnabled
Boolean!

True when this workspace or its hub has a directory (SCIM) configured. When true, members must be invited and have their roles changed in the identity provider.

Query
Response