> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coconut.md/llms.txt
> Use this file to discover all available pages before exploring further.

# Spaces

> Listing, exporting, importing, and broken-link reports

| Method & path                    | Purpose                               |              |
| -------------------------------- | ------------------------------------- | ------------ |
| `GET /spaces`                    | Visible spaces                        |              |
| `GET /spaces/:slug/pages`        | Pages in a space                      |              |
| `GET /spaces/:slug/export`       | Export the space as a bundle          |              |
| `POST /spaces/:slug/import`      | Import a bundle (\`?mode=skip         | overwrite\`) |
| `GET /spaces/:slug/links/broken` | Broken-link report                    |              |
| `POST /links/rebuild`            | Org-admin re-index of the links graph |              |

See [Export & import](/concepts/export-import) for the bundle format and semantics.
