spaces

List Space templates

Changed on

Returns the catalog of official Space templates. The repoId of a template can be passed as template when creating a Space through the create-repo endpoint.

get/api/spaces/templates

Request

  • Base URL: https://huggingface.co
  • URL: https://huggingface.co/api/spaces/templates
  • Auth: HTTP bearer

Response

The list of available Space templates.

Changes

    • breaking

      the // response's property type changed from no type to string for status