List spaces
bettermode_list_spacesList spaces (the containers for posts — e.g. discussions, Q&A, articles) in the community, with pagination. Optionally filter by name (query), order (orderBy, a SpaceListOrderByEnum value), and reverse the order. Returns edges[].node plus pageInfo and totalCount. Bettermode GraphQL query: spaces.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max number of spaces to return (1..100, default 10). | |
| query | No | Filter to spaces matching this name/search term. | |
| offset | No | Number of spaces to skip (offset-based pagination). | |
| orderBy | No | Order field — a SpaceListOrderByEnum value (e.g. "createdAt", "name"). | |
| reverse | No | Reverse the sort order. |