---
title: "Collection resource group"
method: GET
path: "/api/collections/{namespace}/{slug}/resource-group"
tags: ["collections"]
---

# Collection resource group

`GET /api/collections/{namespace}/{slug}/resource-group`

## Path parameters

- `namespace` string, required
- `slug` string, required

## Response `200`

The resource group the collection currently belongs to

- object
  - `id` string, required — A hex string of 24 characters representing an ObjectId.
  - `name` string, required
  - `numUsers` number

---

[API](https://skmtc.dev/huggingface/apis/hub-api-endpoints.md) · [All operations](https://skmtc.dev/huggingface/apis/hub-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc.dev/huggingface/apis/hub-api-endpoints/revisions/ea15a26e9ab3?raw)
