Query / surfaces
getWorkspaceVersion
Fetch one workspace version by ID. Returns null when the workspace is not visible to the caller, and when the version is still an open draft and the caller is not its author — matching what listWorkspaceVersions would show.
Arguments
TypeID of the workspace version to fetch (prefix wsv).
Returns WorkspaceVersion
Scalar fields at a glance
workspaceIdWorkspaceID!versionInt!statusWorkspaceStatus!definitionString!sourceStringExplore in a view
View exact SDL
"""
Fetch one workspace version by ID. Returns null when the workspace is not visible to the caller, and when the version is still an open draft and the caller is not its author — matching what `listWorkspaceVersions` would show.
"""
getWorkspaceVersion(
"""TypeID of the workspace version to fetch (prefix `wsv`)."""
id: WorkspaceVersionID!
): WorkspaceVersion @topic(names: ["surfaces"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.