> For the complete documentation index, see [llms.txt](https://docs.chatbees.ai/chatbees/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chatbees.ai/chatbees/concepts/namespace-and-collection.md).

# Namespace and Collection

ChatBees organizes data into Namespaces and Collections. A Collection serves as the fundamental unit for data organization. You can put different data sets into different collections. Meanwhile, a Namespace acts as a higher-level organizational construct for Collections. Within a Namespace, multiple Collections can be created to further categorize data.

You can think about namespace like a schema and collection like a table in Database. Once we fully support user management and Role-Based Access Control (RBAC) features, Namespaces can facilitate efficient permission management. For instance, all Collections belonging to a specific Business Unit (BU) could be grouped under a single Namespace, simplifying access permission assignment by granting access to a role at the Namespace level. This way you don't need to repeat the access permission management for every collection.

{% hint style="info" %}
Currently, the creation of new namespaces is not supported. Each account automatically comes with a default namespace, named "public". When accessing ChatBees REST APIs, please ensure that the namespace is set to "public".
{% endhint %}
