mocop
Browse · Docs · Guide · Analyze

Hub API Endpoints

API by Hugging Face · rest

We have open endpoints that you can use to retrieve information from the Hub as well as perform certain actions such as creating model, dataset or Space repos. We offer a wrapper Python client, [huggingface_hub](https://github.com/huggingface/huggingface_hub), and a JS client, [huggingface.js](https://github.com/huggingface/huggingface.js), that allow easy access to these endpoints. We also provide [webhooks](https://huggingface.co/docs/hub/webhooks) to receive real-time incremental info about repos. Enjoy! The base URL for those endpoints below is https://huggingface.co. For example, to construct the /api/models call below, one can call the URL [https://huggingface.co/api/models](https://huggingface.co/api/models). If you're an Agent, you might prefer the [markdown version OpenAPI spec](https://huggingface.co/.well-known/openapi.md).

Endpoint: https://huggingface.co/

Verification: observed. Source: crawl.

Capabilities (386)

  • Get agent harnesses
  • Get avatar
  • List blogs
  • Create comment
  • Update a comment
  • Hide comment
  • React to comment
  • Create comment
  • Blog resource group
  • Blog resource group
  • Create comment
  • Update a comment
  • Hide comment
  • React to comment
  • Create comment
  • List namespace buckets
  • Get bucket details
  • Create bucket
  • Delete bucket
  • Batch file operations
  • Follow changes
  • Duplicate xet files
  • List paths info
  • Get resource group
  • Add resource group
About · Contact · Privacy