# Content structure

The structure of your content in GitBook is organized through pages, spaces and collections. Pages live inside of spaces, and collections are groups of spaces.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-type="image">Cover image (dark)</th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-cover-dark data-type="image">Cover image (dark)</th></tr></thead><tbody><tr><td><strong>Spaces</strong></td><td>Create a space to organize your documentation in one place.</td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FaioaUomEaVXLHnztHl6p%2FSpaces.svg?alt=media&#x26;token=8e2d19bb-6037-411a-9cc9-ad2562ae2480">25_08_29_spaces.svg</a></td><td><a href="content-structure/space">space</a></td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FKQVUYowoSAi1DVpgCywG%2FSpaces.png?alt=media&#x26;token=f16d38e6-3771-47cc-a8ef-6363034b0505">25_12_10_spaces_1.png</a></td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FvqkOHhBxElvyv12WcG7c%2FSpaces.png?alt=media&#x26;token=b51c617f-bbb8-4017-b16d-1a4fb35b064d">25_12_10_spaces.png</a></td></tr><tr><td><strong>Pages</strong></td><td>Create pages to split up and edit the content in your documentation.</td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FV3Dor3wjPo7hOX4JHqgP%2FPages.svg?alt=media&#x26;token=25561773-a6af-49f8-8986-c5fd14dd2fbf">25_08_29_pages.svg</a></td><td><a href="content-structure/page">page</a></td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fej3luD2w4Q11PBH9xduk%2FPages.png?alt=media&#x26;token=d89d5933-864a-4727-b657-f7384322ffbb">25_12_10_pages_1.png</a></td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FH8z2ZD3AGzIcRfORxdSU%2FPages.png?alt=media&#x26;token=6bc20289-4ac8-4704-ad48-3de2dbd83639">25_12_10_pages.png</a></td></tr><tr><td><strong>Collections</strong></td><td>Create collections to group spaces together.</td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FBpIntuPZEbiWH4iBFRhp%2FCollections.svg?alt=media&#x26;token=d83320e4-7939-4117-889c-3603993aa8ac">25_08_29_collections.svg</a></td><td><a href="content-structure/collection">collection</a></td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2F4H8lkIUgDDqt2imLP6Cx%2FCollections.png?alt=media&#x26;token=05c7af07-3f67-406a-ac4d-d41c248e6313">25_12_10_collections_1.png</a></td><td><a href="https://1050631731-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2F0hmjidT4nQ8NWZMTLLyl%2FCollections.png?alt=media&#x26;token=66d34a2f-c9af-45a1-b5c5-26405422c65f">25_12_10_collections.png</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.com/docs/creating-content/content-structure.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
