resource-groups

Create resource group

Changed on

Create a new resource group in the organization.

Requires the org to have a Team plan or higher.

post/api/organizations/{name}/resource-groups

Request

  • Base URL: https://huggingface.co
  • URL: https://huggingface.co/api/organizations/{name}/resource-groups
  • Auth: HTTP bearer

Path parameters

namestring required

Request body

namestring required
descriptionstring

Example request

{
  "repos": [
    {
      "name": "deepseek-ai/DeepSeek-R1"
    }
  ]
}

Response

The created resource group

idstring required

A hex string of 24 characters representing an ObjectId.

namestring required
descriptionstring nullable

Changes

    • warning

      added the new inherit enum value to the // response property for the response status

    • info

      added the new inherit enum value to the request property //

    • info

      added the new inherit enum value to the request property //

    • info

      added the required property // to the response with the status

    • info

      added the optional property // to the response with the status