Query / surfaces
listWorkspaces
List the caller's visible workspace library (own personal + their teams' + instance).
Arguments
firstIntPage size, 0 to 100 (default 25). A value outside that range returns a PAGE_SIZE_NEGATIVE or PAGE_SIZE_EXCEEDED error.
afterStringCursor from a previous page's endCursor; results resume after it. An unresolvable cursor is ignored and the first page is returned.
filterWorkspaceFilterInputOptional criteria (handle, computed status) narrowing the visible workspaces.
sort[WorkspaceSortInput!]Ordering terms; only the first is applied. Defaults to UPDATED_AT / DESC.
Returns WorkspaceConnection!
Explore in a view
View exact SDL
"""
List the caller's visible workspace library (own personal + their teams' + instance).
"""
listWorkspaces(
"""
Page size, 0 to 100 (default 25). A value outside that range returns a PAGE_SIZE_NEGATIVE or PAGE_SIZE_EXCEEDED error.
"""
first: Int
"""
Cursor from a previous page's `endCursor`; results resume after it. An unresolvable cursor is ignored and the first page is returned.
"""
after: String
"""
Optional criteria (handle, computed status) narrowing the visible workspaces.
"""
filter: WorkspaceFilterInput
"""
Ordering terms; only the first is applied. Defaults to UPDATED_AT / DESC.
"""
sort: [WorkspaceSortInput!]
): WorkspaceConnection! @topic(names: ["surfaces"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.