List Spaces
space_listList Spaces: your private ones, or Community Spaces starting with Commons. With no scope, a signed-in caller gets private and a caller with no account gets Community, and not_searched names the side left out; send scope to list that side. scope: private with no account asks for sign-in. Use spaces[].space_id as space_id and continue while has_more is true. An empty private list does not establish access in another host, so verify the intended account. Listing does not create a Personal Space.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| regex | No | Filter spaces by regex on title, purpose. Needs sign-in. No lookaround, backreferences or \p; \w \d \s \b are ASCII. Case-insensitive, ^ $ per line, . stops at newlines: (?-i) (?-m) (?s) at the start change that. At most 256 characters and 62 positions: one per character, class or anchor, counting each alternative and repeated copy, so .* not .{0,100}. limit counts rows read; an empty page with has_more true means keep paging. | |
| scope | No | Which side to list. Omitted: private when signed in, Community otherwise. | |
| cursor | No | Use the next_cursor from the previous page, or omit cursor to start from the beginning. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| spaces | Yes | ||
| has_more | Yes | ||
| next_cursor | Yes | ||
| not_searched | No | ||
| joined_space_count | No |