collections

Get a collection

Changed on
get/api/collections/{namespace}/{slug}-{id}

Request

  • Base URL: https://huggingface.co
  • URL: https://huggingface.co/api/collections/{namespace}/{slug}-{id}
  • Auth: HTTP bearer

Path parameters

namespacestring required
slugstring required
idstring required

Response

The collection data

slugstring required
titlestring required
descriptionstring
lastUpdatedstring date-time required
positionnumber required
theme'orange' | 'blue' | 'green' | 'purple' | 'pink' | 'indigo' required
privateboolean required
upvotesnumber required
shareUrlstring required
isUpvotedByUserboolean required

Changes

    • info

      added subschema #2 subschema #3 to the / response property anyOf list for the response status

    • info

      removed subschema #2 subschema #3 from the / response property anyOf list for the response status

    • warning

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