Connectors

AI, LLM & Vector Stores

Hugging Face Hub

Model repository: models, datasets, spaces, and repo file management
Hugging Face Hub API referenceAPI checked August 16, 2026
Signs in with
API token
Runs on
Cloud or On-Prem Worker
Operations
339
Ready-made triggers
0

Connect Hugging Face Hub

  1. In Neblex open Connect › Connections and click New Connection.
  2. Search for Hugging Face Hub and give the connection a clear name.
  3. Fill in the fields. Secret values are encrypted and never shown again.
  4. Click Test, then Create Connection.
FieldWhat to enter
Access tokenRequiredSecretHugging Face user access token.

Use it in a flow

  1. Open a flow, open the node library and search for Hugging Face Hub.
  2. Drag it onto the canvas and choose an Operation and your connection.
  3. Map the operation's fields from earlier steps, or click Map with Matt.
  4. Use Test this step to see what it returns, then save.

To start a flow from Hugging Face Hub without a ready-made trigger: a Poll for changes trigger can check one of its list operations on a schedule and pass on only what is new; if Hugging Face Hub can send webhooks, a Webhook trigger receives them at its own URL.

Operations

339 operations in 28 groups. Each one is a step you can add to a flow.

Agentic Provisioning9
Create account requestpostAgenticProvisioningAccountRequestsPOSTCreate account request
Create deep linkpostAgenticProvisioningDeepLinksPOSTCreate deep link
Get a resource by IDgetAgenticProvisioningResourcesByIdGETGet a resource by ID
Get healthgetAgenticProvisioningHealthGETGet health
Get servicesgetAgenticProvisioningServicesGETGet services
Provision a resourcepostAgenticProvisioningResourcesPOSTProvision a resource
Remove resourcepostAgenticProvisioningResourcesByIdRemovePOSTRemove resource
Rotate resource credentialspostAgenticProvisioningResourcesByIdRotateCredentialsPOSTRotate resource credentials
Update resource servicepostAgenticProvisioningResourcesByIdUpdateServicePOSTUpdate resource service
Agents1
Get agent harnesseslistAgentHarnessesGETGet the registry of AI agents / harnesses known to the Hub, along with the standard environment variables used to detect them.
Auth1
Get user infowhoamiGETGet information about the user and auth method used
Buckets14
Add resource groupsetBucketResourceGroupPOSTAdd the repository to a resource group
Batch file operationsbucketBatchOpsPOSTAccepts NDJSON (newline-delimited JSON) where each line is an addFile, copyFile, or deleteFile instruction.
Create bucketcreateBucketPOSTCreate bucket
Delete bucketdeleteBucketDELETEDelete bucket
Duplicate xet filesduplicateBucketFilesPOSTDuplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes.
Get bucket detailsgetBucketGETGet bucket details
Get file metadataresolveBucketFileGETReturns file metadata including size, hash, and links to XET authentication
Get resource groupgetBucketResourceGroupGETGet resource group
List fileslistBucketFilesGETList files
List namespace bucketslistBucketsGETList namespace buckets
List paths infolistBucketPathsInfoPOSTList paths info
Update bucket settingsupdateBucketSettingsPUTUpdate bucket settings
Xet read tokengetBucketXetReadTokenGETGet a read short-lived access token for XET
Xet write tokengetBucketXetWriteTokenGETGet a write short-lived access token for XET upload
Collections18
Add itemaddCollectionItemPOSTAdd an item to a collection
Add itempostCollectionsByNamespaceBySlugItemsPOSTAdd an item to a collection
Batch update itemsbatchUpdateCollectionItemsPOSTBatch update items in a collection
Batch update itemspostCollectionsByNamespaceBySlugItemsBatchPOSTBatch update items in a collection
Create a collectioncreateCollectionPOSTCreate a collection
Delete a collectiondeleteCollectionDELETEDelete a collection
Delete a collectiondeleteCollectionsByNamespaceBySlugDELETEDelete a collection
Delete itemdeleteCollectionItemDELETEDelete an item from a collection
Delete itemdeleteCollectionsByNamespaceBySlugItemsBySlugDELETEDelete an item from a collection
Get a collectiongetCollectionGETGet a collection
Get a collectiongetCollectionsByNamespaceBySlugGETGet a collection
Get collection resource groupgetCollectionResourceGroupGETGet collection resource group
Get collection resource groupgetCollectionsByNamespaceBySlugResourceGroupGETGet collection resource group
Get collectionslistCollectionsGETGet collections
Set collection resource grouppostCollectionsByNamespaceBySlugResourceGroupPOSTAssign, move, or unassign an organization-owned collection to a resource group.
Set collection resource groupsetCollectionResourceGroupPOSTAssign, move, or unassign an organization-owned collection to a resource group.
Update a collectionpatchCollectionsByNamespaceBySlugPATCHUpdate a collection
Update a collectionupdateCollectionPATCHUpdate a collection
Container1
Registry tokengetRegistryTokenGETMints a short-lived EdDSA JWT for the HuggingFace container registry, verifiable via the JWK at /api/keys/jwt.
Datasets35
Add resource groupsetDatasetResourceGroupPOSTAdd the repository to a resource group
Batch handle access requestsbatchDatasetAccessRequestsPOSTAccept, reject or reset to pending up to 100 access requests for a single gated repository in one call.
Cancel access requestcancelDatasetAccessRequestPOSTCancel the current user's access request to a gated repository
Check upload methodpostDatasetsByNamespaceByRepoPreuploadByRevPOSTCheck if a file should be uploaded through the Large File mechanism or directly.
Create branchcreateDatasetBranchPOSTCreate branch
Create tagcreateDatasetTagPOSTCreate tag
Delete a branchdeleteDatasetBranchDELETEDelete a branch
Delete a tagdeleteDatasetTagDELETEDelete a tag
Delete Large filedeleteDatasetLfsFileDELETEDelete a Xet/LFS file
Delete Large filesdeleteDatasetLfsFilesBatchPOSTDelete Xet/LFS files in batch
Duplicate xet filesduplicateDatasetXetFilesPOSTDuplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes.
Export access reportexportDatasetAccessReportGETExport a report of all access requests for a gated repository
Generate JWTgetDatasetJwtGETGenerate a JWT token for accessing a repository.
Get a compare revcompareDatasetRevsGETGet a compare rev
Get dataset leaderboardgetDatasetLeaderboardGETReturns the evaluation results ranked by score for a dataset/task
Get dataset tagsgetDatasetTagsGETGet all possible tags used for datasets, grouped by tag type.
Get folder sizegetDatasetTreeSizeGETGet the total size of a repository at a given revision, optionally under a specific subpath.
Get notebook URLgetDatasetNotebookUrlGETGet a jupyter notebook URL for the requested file
Get resource groupgetDatasetResourceGroupGETGet resource group
Get security statusgetDatasetSecurityScanGETGet the security status of a repo
Grant accessgrantDatasetAccessPOSTGrant access to a user for a gated repository
Handle access requesthandleDatasetAccessRequestPOSTHandle a user's access request to a gated repository
List access requestslistDatasetAccessRequestsGETList access requests for a gated repository
List commitslistDatasetCommitsGETList commits
List folder contentlistDatasetTreeGETList the content of a repository tree, with pagination support.
List Large fileslistDatasetLfsFilesGETList Xet/LFS files for a repo
List paths infolistDatasetPathsInfoPOSTList paths info
List referenceslistDatasetRefsGETList references
Request accessaskDatasetAccessPOSTRequest access to a gated repository.
Resolve a filegetResolveCacheDatasetsByNamespaceByRepoByRevByPathGETThis endpoint requires to follow redirection
Resolve a fileresolveDatasetFileGETThis endpoint requires to follow redirection
Squash refsuperSquashDatasetPOSTSquash all commits in the current ref into a single commit with the given message.
Update repo settingsupdateDatasetSettingsPUTUpdate the settings of a repo
Xet read tokengetDatasetXetReadTokenGETGet a read short-lived access token for XET
Xet write tokengetDatasetXetWriteTokenGETGet a write short-lived access token for XET upload
Discussions20
Change statuschangeDiscussionStatusPOSTChange the status of a discussion
Change titlechangeDiscussionTitlePOSTChange the title of a discussion
Create a new commentcommentOnBlogPOSTCreate a new comment
Create a new commentcommentOnDiscussionPOSTCreate a new comment
Create a new commentcommentOnPaperPOSTCreate a new comment
Create a new commentcommentOnPostPOSTCreate a new comment
Create a new commentpostBlogBySlugCommentPOSTCreate a new comment
Create a new commentpostBlogBySlugCommentByCommentIdReplyPOSTCreate a new comment
Create a new commentreplyToBlogCommentPOSTCreate a new comment
Create a new commentreplyToPaperCommentPOSTCreate a new comment
Create a new commentreplyToPostCommentPOSTCreate a new comment
Create a new discussioncreateDiscussionPOSTCreate a new discussion
Delete a discussiondeleteDiscussionDELETEDelete a discussion
Delete a discussiondeletePostDELETEDelete a discussion
Delete PR refdeletePrRefDELETEDeletes the git ref for a closed/merged pull request to free up storage.
Get discussion detailsgetDiscussionGETGet discussion details
List discussionslistDiscussionsGETGet discussions for a repo
Merge a pull requestmergePullRequestPOSTMerge a pull request
Pin a discussionpinDiscussionPOSTPin a discussion
PR storage estimategetPrStorageEstimateGETEstimates the LFS storage used by a PR that could be freed if the ref is deleted.
Docs3
Full-text search docssearchDocsFullTextGETFull-text search across Hugging Face documentation
List docslistDocsGETGet list of available documentation
Search docssearchDocsGETSearch any Hugging Face documentation
Inference Endpoints2
Check accesspostInferenceEndpointsByNamespaceAuthCheckByPermsPOSTCheck if the user has access to the inference endpoint
Check accesspostInferenceEndpointsByNamespaceByEndpointAuthCheckByPermsPOSTCheck if the user has access to the inference endpoint
Jobs23
Cancel a jobcancelJobPOSTCancel a job
Check accesspostJobsByNamespaceAuthCheckByPermsPOSTCheck if the user has access to jobs in the namespace
Check accesspostJobsByNamespaceByJobIdAuthCheckByPermsPOSTCheck if the user has access to jobs in the namespace
Count jobscountJobsGETCount the number of jobs for an entity with optional status stage filter
Create a scheduled jobcreateScheduledJobPOSTCreate a scheduled job
Delete a scheduled jobdeleteScheduledJobDELETEDelete a scheduled job
Duplicate a jobduplicateJobPOSTDuplicate an existing job, re-using its spec
Get a jobgetJobGETGet a job
Get a scheduled jobgetScheduledJobGETGet a scheduled job
Get job hardwaregetJobHardwareGETGet available job hardware
List jobslistJobsGETList of jobs for an entity
List scheduled jobslistScheduledJobsGETList scheduled jobs for an entity
Resume a scheduled jobresumeScheduledJobPOSTResume a scheduled job
Run jobrunScheduledJobNowPOSTTrigger a scheduled job run.
Start a jobstartJobPOSTStart a job
Stream job eventsgetJobEventsGETStream the events of a job, using SSE
Stream job logsgetJobLogsGETStream the logs of a job, using SSE
Stream job metricsgetJobMetricsGETStream the metrics of a job, using SSE
Suspend a scheduled jobsuspendScheduledJobPOSTSuspend a scheduled job
Update job exposed portsputJobsByNamespaceByJobIdExposePUTReplace the exposed ports of a running job, applied live (no re-run).
Update job labelsupdateJobLabelsPUTReplace user-provided labels on a job
Update job scheduleupdateJobSchedulePOSTUpdate job schedule
Update scheduled job labelsupdateScheduledJobLabelsPUTReplace user-provided labels on a scheduled job
Kernels4
Duplicate xet filesduplicateKernelXetFilesPOSTDuplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes.
Get kernelgetKernelGETGet kernel
Get kernelgetKernelAtRevisionGETGet kernel
List kernelslistKernelsGETList kernels with optional filtering, sorting, and pagination
Models35
Add resource groupsetModelResourceGroupPOSTAdd the repository to a resource group
Batch handle access requestsbatchModelAccessRequestsPOSTAccept, reject or reset to pending up to 100 access requests for a single gated repository in one call.
Cancel access requestcancelModelAccessRequestPOSTCancel the current user's access request to a gated repository
Check upload methodpostModelsByNamespaceByRepoPreuploadByRevPOSTCheck if a file should be uploaded through the Large File mechanism or directly.
Create branchcreateModelBranchPOSTCreate branch
Create tagcreateModelTagPOSTCreate tag
Delete a branchdeleteModelBranchDELETEDelete a branch
Delete a tagdeleteModelTagDELETEDelete a tag
Delete Large filedeleteModelLfsFileDELETEDelete a Xet/LFS file
Delete Large filesdeleteModelLfsFilesBatchPOSTDelete Xet/LFS files in batch
Duplicate xet filesduplicateModelXetFilesPOSTDuplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes.
Export access reportexportModelAccessReportGETExport a report of all access requests for a gated repository
Generate JWTgetModelJwtGETGenerate a JWT token for accessing a repository.
Get a compare revcompareModelRevsGETGet a compare rev
Get folder sizegetModelTreeSizeGETGet the total size of a repository at a given revision, optionally under a specific subpath.
Get model tagsgetModelTagsGETGet all possible tags used for models, grouped by tag type.
Get notebook URLgetModelNotebookUrlGETGet a jupyter notebook URL for the requested file
Get resource groupgetModelResourceGroupGETGet resource group
Get security statusgetModelSecurityScanGETGet the security status of a repo
Get trendinggetTrendingGETGet the trending repositories
Grant accessgrantModelAccessPOSTGrant access to a user for a gated repository
Handle access requesthandleModelAccessRequestPOSTHandle a user's access request to a gated repository
List access requestslistModelAccessRequestsGETList access requests for a gated repository
List commitslistModelCommitsGETList commits
List folder contentlistModelTreeGETList the content of a repository tree, with pagination support.
List Large fileslistModelLfsFilesGETList Xet/LFS files for a repo
List paths infolistModelPathsInfoPOSTList paths info
List referenceslistModelRefsGETList references
Request accessaskModelAccessPOSTRequest access to a gated repository.
Resolve a filegetResolveCacheModelsByNamespaceByRepoByRevByPathGETThis endpoint requires to follow redirection
Resolve a fileresolveModelFileGETThis endpoint requires to follow redirection
Squash refsuperSquashModelPOSTSquash all commits in the current ref into a single commit with the given message.
Update repo settingsupdateModelSettingsPUTUpdate the settings of a repo
Xet read tokengetModelXetReadTokenGETGet a read short-lived access token for XET
Xet write tokengetModelXetWriteTokenGETGet a write short-lived access token for XET upload
Notifications5
Change read statusmarkNotificationsReadPOSTMark discussions as read or unread.
Delete notificationsdeleteNotificationsDELETEDelete notifications, either by specifying discussionIds or by applying to all notifications with search parameters
List notificationslistNotificationsGETList notifications for the user
Update notification settingsupdateNotificationSettingsPATCHUpdate notification settings for the user
Update watch settingsupdateWatchSettingsPATCHUpdate watch settings for the user.
Oauth4
Get user infogetOauthUserinfoGETGet information about the user.
Get user infopostOauthUserinfoPOSTGet information about the user.
Initiate device authorizationinitiateDeviceAuthPOSTInitiate device authorization
Register a new OAuth appregisterOauthAppPOSTRegister a new OAuth app
Orgs14
Change member rolesetOrgMemberRolePUTChange the role of a member in the organization.
Export the audit logexportOrgAuditLogGETExport the audit log events in JSON format for a Team or Enterprise organization.
Get avatargetOrganizationsByNameAvatarGETRetrieve organization avatar.
Get network security settingsgetOrgNetworkSecurityGETGet the network security settings for an organization.
Get org usagegetOrgUsageGETGet org usage for a given period
Get org usagegetOrganizationsByNameBillingUsageGETGet org usage for a given period
Get organization memberslistOrgMembersGETGet a list of members for the organization with optional search and pagination.
Get resource group usagegetOrgResourceGroupUsageGETGet org usage breakdown per resource group, returned as a time-series of monthly periods.
Get session inference usagegetOrgInferenceUsageGETGet org inference-provider usage broken down per session id, as a time-series of monthly periods.
Get social handlesgetOrgSocialsGETGet an organization's social media handles
List organization repositorieslistOrgReposGETList organization repositories
Revoke member tokenpostOrganizationsByNameSettingsTokensByTokenIdRevokePOSTAn org admin can revoke a token's access to the org.
Stream usagegetOrganizationsByNameBillingUsageLiveGETGet live usage for org
Update network securityupdateOrgNetworkSecurityPATCHUpdate the network security settings for an organization.
Papers7
Claim paper authorshipclaimPaperAuthorshipPOSTClaim paper authorship
Get a papergetPaperGETGet a paper
Get Daily PaperslistDailyPapersGETGet Daily Papers
Index a paperindexPaperPOSTIndex a paper from arXiv by its ID.
List paperslistPapersGETList arXiv papers sorted by published date
Search paperssearchPapersGETPerform a hybrid semantic / full-text-search on papers
Update paper linksupdatePaperLinksPOSTUpdate the project page, GitHub repository, or submitting organization for a paper.
Repo Search2
Quick searchpostQuicksearchPOSTQuick search for models, datasets, spaces, orgs, users, papers, collections, and buckets
Quick searchquickSearchGETQuick search for models, datasets, spaces, orgs, users, papers, collections, and buckets
Repos3
Create a new repositorycreateRepoPOSTCreate a new repository
Duplicate a repositoryduplicateRepoPOSTDuplicate a repository
Move repomoveRepoPOSTMove or rename a repo
Repository28
Delete RepodeleteRepoDELETE
Get DatasetgetDatasetGET
Get Dataset At RevisiongetDatasetAtRevisionGET
Get ModelgetModelGET
Get Model At RevisiongetModelAtRevisionGET
Get Public DatasetgetPublicDatasetGETCredential-free public variant pinned from the official huggingface hub client.
Get Public Dataset At RevisiongetPublicDatasetAtRevisionGETCredential-free public variant pinned from the official huggingface hub client.
Get Public ModelgetPublicModelGETCredential-free public variant pinned from the official huggingface hub client.
Get Public Model At RevisiongetPublicModelAtRevisionGETCredential-free public variant pinned from the official huggingface hub client.
Get Public SpacegetPublicSpaceGETCredential-free public variant pinned from the official huggingface hub client.
Get Public Space At RevisiongetPublicSpaceAtRevisionGETCredential-free public variant pinned from the official huggingface hub client.
Get SpacegetSpaceGET
Get Space At RevisiongetSpaceAtRevisionGET
List Dataset LikerslistDatasetLikersGET
List DatasetslistDatasetsGET
List Model LikerslistModelLikersGET
List ModelslistModelsGET
List Public Dataset LikerslistPublicDatasetLikersGETCredential-free public variant pinned from the official huggingface hub client.
List Public DatasetslistPublicDatasetsGETCredential-free public variant pinned from the official huggingface hub client.
List Public Model LikerslistPublicModelLikersGETCredential-free public variant pinned from the official huggingface hub client.
List Public ModelslistPublicModelsGETCredential-free public variant pinned from the official huggingface hub client.
List Public Space LikerslistPublicSpaceLikersGETCredential-free public variant pinned from the official huggingface hub client.
List Public SpaceslistPublicSpacesGETCredential-free public variant pinned from the official huggingface hub client.
List Space LikerslistSpaceLikersGET
List SpaceslistSpacesGET
Unlike DatasetunlikeDatasetDELETE
Unlike ModelunlikeModelDELETE
Unlike SpaceunlikeSpaceDELETE
Resource Groups9
Add usersaddResourceGroupUsersPOSTAdd one or more organization members to a resource group.
Change user rolechangeResourceGroupUserRolePATCHChange the role of a user in a resource group.
Configure auto-joinconfigureResourceGroupAutoJoinPOSTConfigure the auto-join settings of a resource group.
Create resource groupcreateResourceGroupPOSTCreate a new resource group in the organization.
Delete resource groupdeleteResourceGroupDELETEDelete a resource group from the organization.
Get resource groupgetResourceGroupGETRetrieve a single resource group by id.
Get resource groupslistResourceGroupsGETRetrieve accessible resource groups.
Remove userremoveResourceGroupUserDELETERemove a user from a resource group, revoking the access granted through it.
Update resource groupupdateResourceGroupPATCHUpdate the name, description and/or monthly spend limits (in cents, null to remove) of a resource group.
Scim28
Create a SCIM groupcreateScimGroupPOSTCreates a new group in the organization.
Create a SCIM groupcreateScimProvisioningGroupPOSTCreates a new group in the organization.
Create a SCIM usercreateScimUserPOSTCreates a new user in the organization.
Create SCIM invitationcreateScimProvisioningUserPOSTCreates an invitation for a user to join the organization.
Delete a SCIM groupdeleteScimGroupDELETEDelete a SCIM group
Delete a SCIM groupdeleteScimProvisioningGroupDELETEDelete a SCIM group
Delete a SCIM userdeleteScimUserDELETEDelete a SCIM user
Delete SCIM userdeleteScimProvisioningUserDELETERemoves a user from the organization and deletes any pending invitations for non-managed organizations.
Get a SCIM groupgetScimGroupGETRetrieves a group by its ID.
Get a SCIM groupgetScimProvisioningGroupGETRetrieves a group by its ID.
Get a SCIM provisioning usergetScimProvisioningUserGETRetrieves a SCIM user by their ID for non-managed organizations.
Get a SCIM usergetScimUserGETRetrieves a SCIM user by their ID.
Get SCIM ConfigurationgetScimConfigGETReturns the SCIM 2.0 Service Provider configuration, describing the server's capabilities and supported authentication schemes.
Get SCIM Resource TypesgetScimResourceTypesGETReturns the list of SCIM 2.0 resource types supported by this server (User and Group).
Get SCIM Schema by IDgetScimSchemaGETReturns a single SCIM 2.0 schema definition by its schema URI.
Get SCIM SchemasgetScimSchemasGETReturns the SCIM 2.0 schema definitions for User and Group resources.
List SCIM groupslistScimGroupsGETGet a list of SCIM groups.
List SCIM groupslistScimProvisioningGroupsGETGet a list of SCIM groups.
List SCIM userslistScimUsersGETRetrieves a paginated list of all organization members who have been set up, including disabled users.
List SCIM-managed userslistScimProvisioningUsersGETRetrieves a paginated list of organization members and pending invitations managed by SCIM for non-managed organizations.
Update a SCIM groupreplaceScimGroupPUTUpdates a group by its ID.
Update a SCIM groupreplaceScimProvisioningGroupPUTUpdates a group by its ID.
Update a SCIM userreplaceScimProvisioningUserPUTUpdates a provisioned user's invitation for non-managed organizations.
Update a SCIM userreplaceScimUserPUTUpdates a provisioned user, you'll need to provide all their information fresh - just like setting them up for the first time.
Update SCIM grouppatchScimGroupPATCHUpdate attributes of a SCIM group.
Update SCIM grouppatchScimProvisioningGroupPATCHUpdate attributes of a SCIM group.
Update SCIM userpatchScimProvisioningUserPATCHModify individual attributes for non-managed organizations.
Update SCIM userpatchScimUserPATCHUpdate an attribute of a SCIM user.
Service Accounts8
Create service accountcreateServiceAccountPOSTCreate a new service account for the organization.
Create service-account tokencreateServiceAccountTokenPOSTCreate a new access token for a service account.
Delete service accountdeleteServiceAccountDELETEDelete a service account and all its tokens.
Delete service-account tokendeleteServiceAccountTokenDELETEDelete an access token from a service account.
Get service accountgetServiceAccountGETRetrieve a single service account and its access token metadata.
List service accountslistServiceAccountsGETList all service accounts for the organization.
Rotate service-account tokenrotateServiceAccountTokenPOSTInvalidate an existing token and generate a new one with the same permissions.
Update service-account tokenupdateServiceAccountTokenPATCHUpdate the name and/or permissions of an existing service account token.
Spaces40
Add resource groupsetSpaceResourceGroupPOSTAdd the repository to a resource group
Check upload methodpostSpacesByNamespaceByRepoPreuploadByRevPOSTCheck if a file should be uploaded through the Large File mechanism or directly.
Create branchcreateSpaceBranchPOSTCreate branch
Create tagcreateSpaceTagPOSTCreate tag
Delete a branchdeleteSpaceBranchDELETEDelete a branch
Delete a tagdeleteSpaceTagDELETEDelete a tag
Delete Large filedeleteSpaceLfsFileDELETEDelete a Xet/LFS file
Delete Large filesdeleteSpaceLfsFilesBatchPOSTDelete Xet/LFS files in batch
Delete secretdeleteSpaceSecretDELETEDelete Spaces's secret
Delete Space volumesdeleteSpaceVolumesDELETEDelete Space volumes
Delete variabledeleteSpaceVariableDELETEDelete Spaces's variable
Duplicate xet filesduplicateSpaceXetFilesPOSTDuplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes.
Generate JWTgetSpaceJwtGETGenerate a JWT token for accessing a repository.
Get a compare revcompareSpaceRevsGETGet a compare rev
Get folder sizegetSpaceTreeSizeGETGet the total size of a repository at a given revision, optionally under a specific subpath.
Get notebook URLgetSpaceNotebookUrlGETGet a jupyter notebook URL for the requested file
Get resource groupgetSpaceResourceGroupGETGet resource group
Get security statusgetSpaceSecurityScanGETGet the security status of a repo
Get ZeroGPU quotagetZeroGpuQuotaGETGet the authenticated user's current ZeroGPU quota usage and limits
List commitslistSpaceCommitsGETList commits
List folder contentlistSpaceTreeGETList the content of a repository tree, with pagination support.
List Large fileslistSpaceLfsFilesGETList Xet/LFS files for a repo
List paths infolistSpacePathsInfoPOSTList paths info
List referenceslistSpaceRefsGETList references
List secretslistSpaceSecretsGETList a Space's secret keys.
List space hardwarelistSpaceHardwareGETGet available space hardware
List Space templateslistSpaceTemplatesGETReturns the catalog of official Space templates.
List variableslistSpaceVariablesGETList a Space's variables with their values.
Resolve a filegetResolveCacheSpacesByNamespaceByRepoByRevByPathGETThis endpoint requires to follow redirection
Resolve a fileresolveSpaceFileGETThis endpoint requires to follow redirection
Set Space volumessetSpaceVolumesPUTSet Space volumes
Squash refsuperSquashSpacePOSTSquash all commits in the current ref into a single commit with the given message.
Stream eventsstreamSpaceEventsGETGet status updates for a specific Space in a streaming fashion, with SSE protocol
Stream logsgetSpaceLogsGETGet logs for a specific Space in a streaming fashion, with SSE protocol
Stream metricsgetSpaceMetricsGETGet live metrics for a specific Space in a streaming fashion, with SSE protocol, such as current Zero-GPU usage
Update repo settingsupdateSpaceSettingsPUTUpdate the settings of a repo
Upsert secretupsertSpaceSecretPOSTUpsert Spaces's secret
Upsert variableupsertSpaceVariablePOSTUpsert Spaces's variable
Xet read tokengetSpaceXetReadTokenGETGet a read short-lived access token for XET
Xet write tokengetSpaceXetWriteTokenGETGet a write short-lived access token for XET upload
Sql Console3
Create embedcreateSqlConsoleEmbedPOSTCreate SQL Console embed
Delete embeddeleteSqlConsoleEmbedDELETEDelete SQL Console embed
Update embedupdateSqlConsoleEmbedPATCHUpdate SQL Console embed
Tokens1
Revoke leaked tokenspostCredentialsRevokePOSTPublicly invalidate leaked Hugging Face access tokens.
Users14
Get avatargetAvatarsByNamespaceGETDisplay the avatar for any user or organization.
Get jobs usagegetMyJobsUsageGETGet user Jobs usage for current subscription period
Get MCP toolsgetMyMcpToolsGETGet the MCP tools for the current user
Get session inference usagegetMyInferenceUsageGETGet user inference-provider usage broken down per session id
Get social handlesgetUserSocialsGETGet a user's social media handles
Get user usagegetMyUsageGETGet user usage for a given period
Get user usagegetSettingsBillingUsageGETGet user usage for a given period
List user likeslistUserLikesGETList public repos liked by a user
List user repositorieslistMyReposGETList user repositories
Retrieve user avatargetUserAvatarGETThis endpoint returns a JSON with the avatar URL for the user.
Stream metricsgetSettingsMetricsLiveGETGet live usage and running jobs count for the logged-in user, over a single SSE connection
Stream usagegetSettingsBillingUsageLiveGETGet live usage for user
Stream usagegetUsersByUsernameBillingUsageLiveGETGet live usage for user
User overviewgetUserOverviewGETUser overview
Webhooks7
Create webhookcreateWebhookPOSTCreate webhook
Delete webhookdeleteWebhookDELETEDelete webhook
Enable/disable webhooktoggleWebhookPOSTEnable/disable webhook
Get webhookgetWebhookGETGet webhook
List webhookslistWebhooksGETList webhooks
Replay webhook logreplayWebhookLogPOSTReplay webhook log
Update webhookupdateWebhookPOSTUpdate webhook