Skip to main content

spacesPaginated

Query

Cursor paginated variant of "spaces". Prefer it over "spaces" whenever an organization can have a large number of spaces - it pages results through the search index instead of materializing every match.

spacesPaginated(filter: SpaceFilter, pagination: PageInfoInput): SpacesConnection

Arguments​

ArgumentTypeDefaultDescription
filterSpaceFilterThis filter is typically used to restrict results to a specific space or spaces.
paginationPageInfoInputCursor pagination controls - use "first"/"after" to page forward and "last"/"before" to page backward.

Returns​

SpacesConnection

Example​

Request
query SpacesPaginated {
spacesPaginated {
totalCount
}
}