query MyWorkspace {
myWorkspace {
id
name
publicName
isDemoWorkspace
domainName
domainNames
}
}{
"data": {
"myWorkspace": {
"id": "id",
"name": "string",
"publicName": "string",
"isDemoWorkspace": true,
"domainName": "string",
"domainNames": [
"string"
]
}
}
}myWorkspace
Returns the Workspace associated with the current API key or session. Useful for confirming which workspace a request is scoped to. Returns null if no workspace is in context.
myWorkspace: WorkspaceReturns
The internal name of the workspace, used within Plain and not shown to customers.
The public-facing display name of the workspace shown to customers and in external communications.
Whether this workspace is a demo workspace created for evaluation purposes.
The list of email domain names associated with this workspace, used to automatically associate customers with the workspace.
The per-workspace WorkOS organization used for membership and org switching, if configured.
The shared WorkOS hub organization that holds SSO, directory sync, and domain policy, if this workspace is hub-linked.
True when this workspace or its hub has an active SSO connection.
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 MyWorkspace {
myWorkspace {
id
name
publicName
isDemoWorkspace
domainName
domainNames
}
}{
"data": {
"myWorkspace": {
"id": "id",
"name": "string",
"publicName": "string",
"isDemoWorkspace": true,
"domainName": "string",
"domainNames": [
"string"
]
}
}
}Was this page helpful?

