<!--⚠️ Note that this file is in Markdown but contains specific syntax for our doc-builder (similar to MDX) that may not be
rendered properly in your Markdown viewer.
-->

# Managing collections

Check out the [`HfApi`] documentation page for the reference of methods to manage your Space on the Hub.

- Get collection content: [`get_collection`]
- Create new collection: [`create_collection`]
- Update a collection: [`update_collection_metadata`]
- Update a collection's resource group: [`update_collection_resource_group`]
- Delete a collection: [`delete_collection`]
- Add an item to a collection: [`add_collection_item`]
- Update an item in a collection: [`update_collection_item`]
- Remove an item from a collection: [`delete_collection_item`]


### Collection

[[autodoc]] Collection

### CollectionItem

[[autodoc]] CollectionItem
