Hugging Face
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
| API Key | api_key | available | — |
Call a tool
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "HUGGING_FACE_DELETE_API_BUCKETS_NAMESPACE_REPO", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("HUGGING_FACE_DELETE_API_BUCKETS_NAMESPACE_REPO", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute HUGGING_FACE_DELETE_API_BUCKETS_NAMESPACE_REPO --data '{ }'Tool catalog
Available tools
314 callable operations
Delete bucketHUGGING_FACE_DELETE_API_BUCKETS_NAMESPACE_REPODelete bucketConnection
Delete bucket
Authentication
Connected account requiredTags
Delete a collectionHUGGING_FACE_DELETE_API_COLLECTIONS_NAMESPACE_SLUGDelete a collectionConnection
Delete a collection
Authentication
Connected account requiredTags
Delete a collectionHUGGING_FACE_DELETE_API_COLLECTIONS_NAMESPACE_SLUG_IDDelete a collectionConnection
Delete a collection
Authentication
Connected account requiredTags
Delete itemHUGGING_FACE_DELETE_API_COLLECTIONS_NAMESPACE_SLUG_ID_ITEMS_ITEM_IDDelete an item from a collectionConnection
Delete an item from a collection
Authentication
Connected account requiredTags
Delete itemHUGGING_FACE_DELETE_API_COLLECTIONS_NAMESPACE_SLUG_ITEMS_SLUGDelete an item from a collectionConnection
Delete an item from a collection
Authentication
Connected account requiredTags
Delete a branchHUGGING_FACE_DELETE_API_DATASETS_NAMESPACE_REPO_BRANCH_REVDelete a branchConnection
Delete a branch
Authentication
Connected account requiredTags
Delete Large fileHUGGING_FACE_DELETE_API_DATASETS_NAMESPACE_REPO_LFS_FILES_SHADelete a Xet/LFS fileConnection
Delete a Xet/LFS file
Authentication
Connected account requiredTags
Delete a tagHUGGING_FACE_DELETE_API_DATASETS_NAMESPACE_REPO_TAG_REVDelete a tagConnection
Delete a tag
Authentication
Connected account requiredTags
Delete a branchHUGGING_FACE_DELETE_API_MODELS_NAMESPACE_REPO_BRANCH_REVDelete a branchConnection
Delete a branch
Authentication
Connected account requiredTags
Delete Large fileHUGGING_FACE_DELETE_API_MODELS_NAMESPACE_REPO_LFS_FILES_SHADelete a Xet/LFS fileConnection
Delete a Xet/LFS file
Authentication
Connected account requiredTags
Delete a tagHUGGING_FACE_DELETE_API_MODELS_NAMESPACE_REPO_TAG_REVDelete a tagConnection
Delete a tag
Authentication
Connected account requiredTags
Delete notificationsHUGGING_FACE_DELETE_API_NOTIFICATIONSDelete notifications, either by specifying discussionIds or by applying to all notifications with search parametersConnection
Delete notifications, either by specifying discussionIds or by applying to all notifications with search parameters
Authentication
Connected account requiredTags
Delete resource groupHUGGING_FACE_DELETE_API_ORGANIZATIONS_NAME_RESOURCE_GROUPS_RESOURCE_GROUP_IDDelete a resource group from the organization. Requires the org to have a Team plan or higher.Connection
Delete a resource group from the organization. Requires the org to have a Team plan or higher.
Authentication
Connected account requiredTags
Remove userHUGGING_FACE_DELETE_API_ORGANIZATIONS_NAME_RESOURCE_GROUPS_RESOURCE_GROUP_ID_USERS_USERNAMERemove a user from a resource group, revoking the access granted through it. Requires the org to have a Team plan or higher.Connection
Remove a user from a resource group, revoking the access granted through it. Requires the org to have a Team plan or higher.
Authentication
Connected account requiredTags
Delete a SCIM groupHUGGING_FACE_DELETE_API_ORGANIZATIONS_NAME_SCIM_PROVISIONING_V2_GROUPS_GROUP_IDDelete a SCIM groupConnection
Delete a SCIM group
Authentication
Connected account requiredTags
Delete SCIM userHUGGING_FACE_DELETE_API_ORGANIZATIONS_NAME_SCIM_PROVISIONING_V2_USERS_USER_IDRemoves a user from the organization and deletes any pending invitations for non-managed organizations.Connection
Removes a user from the organization and deletes any pending invitations for non-managed organizations.
Authentication
Connected account requiredTags
Delete a SCIM groupHUGGING_FACE_DELETE_API_ORGANIZATIONS_NAME_SCIM_V2_GROUPS_GROUP_IDDelete a SCIM groupConnection
Delete a SCIM group
Authentication
Connected account requiredTags
Delete a SCIM userHUGGING_FACE_DELETE_API_ORGANIZATIONS_NAME_SCIM_V2_USERS_USER_IDDelete a SCIM userConnection
Delete a SCIM user
Authentication
Connected account requiredTags
Delete service accountHUGGING_FACE_DELETE_API_ORGANIZATIONS_NAME_SERVICE_ACCOUNTS_SERVICE_ACCOUNT_IDDelete a service account and all its tokens. This action cannot be undone.Connection
Delete a service account and all its tokens. This action cannot be undone.
Authentication
Connected account requiredTags
Delete service-account tokenHUGGING_FACE_DELETE_API_ORGANIZATIONS_NAME_SERVICE_ACCOUNTS_SERVICE_ACCOUNT_ID_TOKENS_TOKEN_IDDelete an access token from a service account. This action cannot be undone.Connection
Delete an access token from a service account. This action cannot be undone.
Authentication
Connected account requiredTags
Delete a discussionHUGGING_FACE_DELETE_API_POSTS_USERNAME_POST_SLUGDelete a discussionConnection
Delete a discussion
Authentication
Connected account requiredTags
Delete a discussionHUGGING_FACE_DELETE_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUMDelete a discussionConnection
Delete a discussion
Authentication
Connected account requiredTags
Delete PR refHUGGING_FACE_DELETE_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUM_REFDeletes the git ref for a closed/merged pull request to free up storage. LFS files unique to this PR will be garbage collected. The PR page and diff will still be viewable using stored commit data.Connection
Deletes the git ref for a closed/merged pull request to free up storage. LFS files unique to this PR will be garbage collected. The PR page and diff will still be viewable using stored commit data.
Authentication
Connected account requiredTags
Delete embedHUGGING_FACE_DELETE_API_REPO_TYPE_NAMESPACE_REPO_SQL_CONSOLE_EMBED_IDDelete SQL Console embedConnection
Delete SQL Console embed
Authentication
Connected account requiredTags
Delete a scheduled jobHUGGING_FACE_DELETE_API_SCHEDULED_JOBS_NAMESPACE_JOB_IDDelete a scheduled jobConnection
Delete a scheduled job
Authentication
Connected account requiredTags
Delete webhookHUGGING_FACE_DELETE_API_SETTINGS_WEBHOOKS_WEBHOOK_IDDelete webhookConnection
Delete webhook
Authentication
Connected account requiredTags
Delete a branchHUGGING_FACE_DELETE_API_SPACES_NAMESPACE_REPO_BRANCH_REVDelete a branchConnection
Delete a branch
Authentication
Connected account requiredTags
Delete Large fileHUGGING_FACE_DELETE_API_SPACES_NAMESPACE_REPO_LFS_FILES_SHADelete a Xet/LFS fileConnection
Delete a Xet/LFS file
Authentication
Connected account requiredTags
Delete secretHUGGING_FACE_DELETE_API_SPACES_NAMESPACE_REPO_SECRETSDelete Spaces's secretConnection
Delete Spaces's secret
Authentication
Connected account requiredTags
Delete a tagHUGGING_FACE_DELETE_API_SPACES_NAMESPACE_REPO_TAG_REVDelete a tagConnection
Delete a tag
Authentication
Connected account requiredTags
Delete variableHUGGING_FACE_DELETE_API_SPACES_NAMESPACE_REPO_VARIABLESDelete Spaces's variableConnection
Delete Spaces's variable
Authentication
Connected account requiredTags
Delete Space volumesHUGGING_FACE_DELETE_API_SPACES_NAMESPACE_REPO_VOLUMESDelete Space volumesConnection
Delete Space volumes
Authentication
Connected account requiredTags
Get agent harnessesHUGGING_FACE_GET_API_AGENT_HARNESSESGet the registry of AI agents / harnesses known to the Hub, along with the standard environment variables used to detect them. Clients use this registry to identify which agent they are running in when reporting Hub activity.Connection
Get the registry of AI agents / harnesses known to the Hub, along with the standard environment variables used to detect them. Clients use this registry to identify which agent they are running in when reporting Hub activity.
Authentication
Connected account requiredTags
Get healthHUGGING_FACE_GET_API_AGENTIC_PROVISIONING_HEALTHGet healthConnection
Get health
Authentication
Connected account requiredTags
Get a resource by IDHUGGING_FACE_GET_API_AGENTIC_PROVISIONING_RESOURCES_IDGet a resource by IDConnection
Get a resource by ID
Authentication
Connected account requiredTags
Get servicesHUGGING_FACE_GET_API_AGENTIC_PROVISIONING_SERVICESGet servicesConnection
Get services
Authentication
Connected account requiredTags
Get avatarHUGGING_FACE_GET_API_AVATARS_NAMESPACEDisplay the avatar for any user or organization. This endpoint redirects to the avatar URL for either a user or an organizationConnection
Display the avatar for any user or organization. This endpoint redirects to the avatar URL for either a user or an organization
Authentication
Connected account requiredTags
List namespace bucketsHUGGING_FACE_GET_API_BUCKETS_NAMESPACEList namespace bucketsConnection
List namespace buckets
Authentication
Connected account requiredTags
Get bucket detailsHUGGING_FACE_GET_API_BUCKETS_NAMESPACE_REPOGet bucket detailsConnection
Get bucket details
Authentication
Connected account requiredTags
Get resource groupHUGGING_FACE_GET_API_BUCKETS_NAMESPACE_REPO_RESOURCE_GROUPGet resource groupConnection
Get resource group
Authentication
Connected account requiredTags
List filesHUGGING_FACE_GET_API_BUCKETS_NAMESPACE_REPO_TREE_PATHList filesConnection
List files
Authentication
Connected account requiredTags
Xet read tokenHUGGING_FACE_GET_API_BUCKETS_NAMESPACE_REPO_XET_READ_TOKENGet a read short-lived access token for XETConnection
Get a read short-lived access token for XET
Authentication
Connected account requiredTags
Xet write tokenHUGGING_FACE_GET_API_BUCKETS_NAMESPACE_REPO_XET_WRITE_TOKENGet a write short-lived access token for XET uploadConnection
Get a write short-lived access token for XET upload
Authentication
Connected account requiredTags
Get collectionsHUGGING_FACE_GET_API_COLLECTIONSGet collectionsConnection
Get collections
Authentication
Connected account requiredTags
Get a collectionHUGGING_FACE_GET_API_COLLECTIONS_NAMESPACE_SLUGGet a collectionConnection
Get a collection
Authentication
Connected account requiredTags
Get a collectionHUGGING_FACE_GET_API_COLLECTIONS_NAMESPACE_SLUG_IDGet a collectionConnection
Get a collection
Authentication
Connected account requiredTags
Get collection resource groupHUGGING_FACE_GET_API_COLLECTIONS_NAMESPACE_SLUG_ID_RESOURCE_GROUPGet collection resource groupConnection
Get collection resource group
Authentication
Connected account requiredTags
Get collection resource groupHUGGING_FACE_GET_API_COLLECTIONS_NAMESPACE_SLUG_RESOURCE_GROUPGet collection resource groupConnection
Get collection resource group
Authentication
Connected account requiredTags
Get Daily PapersHUGGING_FACE_GET_API_DAILY_PAPERSGet Daily PapersConnection
Get Daily Papers
Authentication
Connected account requiredTags
List commitsHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_COMMITS_REVList commitsConnection
List commits
Authentication
Connected account requiredTags
Get a compare revHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_COMPARE_COMPAREGet a compare revConnection
Get a compare rev
Authentication
Connected account requiredTags
Generate JWTHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_JWTGenerate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption.Connection
Generate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption.
Authentication
Connected account requiredTags
Get dataset leaderboardHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_LEADERBOARDReturns the evaluation results ranked by score for a dataset/taskConnection
Returns the evaluation results ranked by score for a dataset/task
Authentication
Connected account requiredTags
List Large filesHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_LFS_FILESList Xet/LFS files for a repoConnection
List Xet/LFS files for a repo
Authentication
Connected account requiredTags
Get notebook URLHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_NOTEBOOK_REV_PATHGet a jupyter notebook URL for the requested fileConnection
Get a jupyter notebook URL for the requested file
Authentication
Connected account requiredTags
List referencesHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_REFSList referencesConnection
List references
Authentication
Connected account requiredTags
Get resource groupHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_RESOURCE_GROUPGet resource groupConnection
Get resource group
Authentication
Connected account requiredTags
Get security statusHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_SCANGet the security status of a repoConnection
Get the security status of a repo
Authentication
Connected account requiredTags
List folder contentHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_TREE_REV_PATHList the content of a repository tree, with pagination support.Connection
List the content of a repository tree, with pagination support.
Authentication
Connected account requiredTags
Get folder sizeHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_TREESIZE_REV_PATHGet the total size of a repository at a given revision, optionally under a specific subpath. Returns the total size in bytes of all files under the specified path (recursively). If a file is stored via Xet/LFS, the LFS file size is used.Connection
Get the total size of a repository at a given revision, optionally under a specific subpath. Returns the total size in bytes of all files under the specified path (recursively). If a file is stored via Xet/LFS, the LFS file size is used.
Authentication
Connected account requiredTags
List access requestsHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_USER_ACCESS_REQUEST_STATUSList access requests for a gated repositoryConnection
List access requests for a gated repository
Authentication
Connected account requiredTags
Xet read tokenHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_XET_READ_TOKEN_REVGet a read short-lived access token for XETConnection
Get a read short-lived access token for XET
Authentication
Connected account requiredTags
Xet write tokenHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_XET_WRITE_TOKEN_REVGet a write short-lived access token for XET uploadConnection
Get a write short-lived access token for XET upload
Authentication
Connected account requiredTags
Get dataset tagsHUGGING_FACE_GET_API_DATASETS_TAGS_BY_TYPEGet all possible tags used for datasets, grouped by tag type. Optionally restrict to only one tag typeConnection
Get all possible tags used for datasets, grouped by tag type. Optionally restrict to only one tag type
Authentication
Connected account requiredTags
List docsHUGGING_FACE_GET_API_DOCSGet list of available documentationConnection
Get list of available documentation
Authentication
Connected account requiredTags
Search docsHUGGING_FACE_GET_API_DOCS_SEARCHSearch any Hugging Face documentationConnection
Search any Hugging Face documentation
Authentication
Connected account requiredTags
Full-text search docsHUGGING_FACE_GET_API_DOCS_SEARCH_FULL_TEXTFull-text search across Hugging Face documentationConnection
Full-text search across Hugging Face documentation
Authentication
Connected account requiredTags
Get job hardwareHUGGING_FACE_GET_API_JOBS_HARDWAREGet available job hardwareConnection
Get available job hardware
Authentication
Connected account requiredTags
List jobsHUGGING_FACE_GET_API_JOBS_NAMESPACEList of jobs for an entityConnection
List of jobs for an entity
Authentication
Connected account requiredTags
Count jobsHUGGING_FACE_GET_API_JOBS_NAMESPACE_COUNTCount the number of jobs for an entity with optional status stage filterConnection
Count the number of jobs for an entity with optional status stage filter
Authentication
Connected account requiredTags
Get a jobHUGGING_FACE_GET_API_JOBS_NAMESPACE_JOB_IDGet a jobConnection
Get a job
Authentication
Connected account requiredTags
Stream job eventsHUGGING_FACE_GET_API_JOBS_NAMESPACE_JOB_ID_EVENTSStream the events of a job, using SSEConnection
Stream the events of a job, using SSE
Authentication
Connected account requiredTags
Stream job logsHUGGING_FACE_GET_API_JOBS_NAMESPACE_JOB_ID_LOGSStream the logs of a job, using SSEConnection
Stream the logs of a job, using SSE
Authentication
Connected account requiredTags
Stream job metricsHUGGING_FACE_GET_API_JOBS_NAMESPACE_JOB_ID_METRICSStream the metrics of a job, using SSEConnection
Stream the metrics of a job, using SSE
Authentication
Connected account requiredTags
List kernelsHUGGING_FACE_GET_API_KERNELSList kernels with optional filtering, sorting, and paginationConnection
List kernels with optional filtering, sorting, and pagination
Authentication
Connected account requiredTags
Get kernelHUGGING_FACE_GET_API_KERNELS_NAMESPACE_REPOGet kernelConnection
Get kernel
Authentication
Connected account requiredTags
Get kernelHUGGING_FACE_GET_API_KERNELS_NAMESPACE_REPO_REVISION_REVGet kernelConnection
Get kernel
Authentication
Connected account requiredTags
List commitsHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_COMMITS_REVList commitsConnection
List commits
Authentication
Connected account requiredTags
Get a compare revHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_COMPARE_COMPAREGet a compare revConnection
Get a compare rev
Authentication
Connected account requiredTags
Generate JWTHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_JWTGenerate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption.Connection
Generate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption.
Authentication
Connected account requiredTags
List Large filesHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_LFS_FILESList Xet/LFS files for a repoConnection
List Xet/LFS files for a repo
Authentication
Connected account requiredTags
Get notebook URLHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_NOTEBOOK_REV_PATHGet a jupyter notebook URL for the requested fileConnection
Get a jupyter notebook URL for the requested file
Authentication
Connected account requiredTags
List referencesHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_REFSList referencesConnection
List references
Authentication
Connected account requiredTags
Get resource groupHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_RESOURCE_GROUPGet resource groupConnection
Get resource group
Authentication
Connected account requiredTags
Get security statusHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_SCANGet the security status of a repoConnection
Get the security status of a repo
Authentication
Connected account requiredTags
List folder contentHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_TREE_REV_PATHList the content of a repository tree, with pagination support.Connection
List the content of a repository tree, with pagination support.
Authentication
Connected account requiredTags
Get folder sizeHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_TREESIZE_REV_PATHGet the total size of a repository at a given revision, optionally under a specific subpath. Returns the total size in bytes of all files under the specified path (recursively). If a file is stored via Xet/LFS, the LFS file size is used.Connection
Get the total size of a repository at a given revision, optionally under a specific subpath. Returns the total size in bytes of all files under the specified path (recursively). If a file is stored via Xet/LFS, the LFS file size is used.
Authentication
Connected account requiredTags
List access requestsHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_USER_ACCESS_REQUEST_STATUSList access requests for a gated repositoryConnection
List access requests for a gated repository
Authentication
Connected account requiredTags
Xet read tokenHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_XET_READ_TOKEN_REVGet a read short-lived access token for XETConnection
Get a read short-lived access token for XET
Authentication
Connected account requiredTags
Xet write tokenHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_XET_WRITE_TOKEN_REVGet a write short-lived access token for XET uploadConnection
Get a write short-lived access token for XET upload
Authentication
Connected account requiredTags
Get model tagsHUGGING_FACE_GET_API_MODELS_TAGS_BY_TYPEGet all possible tags used for models, grouped by tag type. Optionally restrict to only one tag typeConnection
Get all possible tags used for models, grouped by tag type. Optionally restrict to only one tag type
Authentication
Connected account requiredTags
List notificationsHUGGING_FACE_GET_API_NOTIFICATIONSList notifications for the userConnection
List notifications for the user
Authentication
Connected account requiredTags
Export the audit logHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_AUDIT_LOG_EXPORTExport the audit log events in JSON format for a Team or Enterprise organization. The export is limited to the last 100,000 events.Connection
Export the audit log events in JSON format for a Team or Enterprise organization. The export is limited to the last 100,000 events.
Authentication
Connected account requiredTags
Get avatarHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_AVATARRetrieve organization avatar. This endpoint returns a JSON with the avatar URL for the organization. If called with the `Sec-Fetch-Dest: image` header, it instead redirects to the avatar URLConnection
Retrieve organization avatar. This endpoint returns a JSON with the avatar URL for the organization. If called with the `Sec-Fetch-Dest: image` header, it instead redirects to the avatar URL
Authentication
Connected account requiredTags
Get org usageHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_BILLING_USAGEGet org usage for a given periodConnection
Get org usage for a given period
Authentication
Connected account requiredTags
Get session inference usageHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_BILLING_USAGE_BY_INFERENCE_SESSIONGet org inference-provider usage broken down per session id, as a time-series of monthly periods.Connection
Get org inference-provider usage broken down per session id, as a time-series of monthly periods.
Authentication
Connected account requiredTags
Get resource group usageHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_BILLING_USAGE_BY_RESOURCE_GROUPGet org usage breakdown per resource group, returned as a time-series of monthly periods. Window is [startDate, endDate], defaults to the current month. Both dates must fall within the last 12 months. Storage values are the peak observed within each monthly period.Connection
Get org usage breakdown per resource group, returned as a time-series of monthly periods. Window is [startDate, endDate], defaults to the current month. Both dates must fall within the last 12 months. Storage values are the peak observed within each monthly period.
Authentication
Connected account requiredTags
Stream usageHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_BILLING_USAGE_LIVEGet live usage for orgConnection
Get live usage for org
Authentication
Connected account requiredTags
Get org usageHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_BILLING_USAGE_V2Get org usage for a given periodConnection
Get org usage for a given period
Authentication
Connected account requiredTags
Get organization membersHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_MEMBERSGet a list of members for the organization with optional search and pagination.Connection
Get a list of members for the organization with optional search and pagination.
Authentication
Connected account requiredTags
Get resource groupsHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_RESOURCE_GROUPSRetrieve accessible resource groups. Get all resource groups the user has access to. Requires the org to have a Team plan or higher.Connection
Retrieve accessible resource groups. Get all resource groups the user has access to. Requires the org to have a Team plan or higher.
Authentication
Connected account requiredTags
Get resource groupHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_RESOURCE_GROUPS_RESOURCE_GROUP_IDRetrieve a single resource group by id. Requires the org to have a Team plan or higher.Connection
Retrieve a single resource group by id. Requires the org to have a Team plan or higher.
Authentication
Connected account requiredTags
List SCIM groupsHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SCIM_PROVISIONING_V2_GROUPSGet a list of SCIM groups. Retrieves a paginated list of all organization groups. If you provide the filter parameter, the resources for all matching groups are returned.Connection
Get a list of SCIM groups. Retrieves a paginated list of all organization groups. If you provide the filter parameter, the resources for all matching groups are returned.
Authentication
Connected account requiredTags
Get a SCIM groupHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SCIM_PROVISIONING_V2_GROUPS_GROUP_IDRetrieves a group by its ID. If you provide the `excludedAttributes` parameter, the `members` attribute is not returned.Connection
Retrieves a group by its ID. If you provide the `excludedAttributes` parameter, the `members` attribute is not returned.
Authentication
Connected account requiredTags
List SCIM-managed usersHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SCIM_PROVISIONING_V2_USERSRetrieves a paginated list of organization members and pending invitations managed by SCIM for non-managed organizations.Connection
Retrieves a paginated list of organization members and pending invitations managed by SCIM for non-managed organizations.
Authentication
Connected account requiredTags
Get a SCIM provisioning userHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SCIM_PROVISIONING_V2_USERS_USER_IDRetrieves a SCIM user by their ID for non-managed organizations.Connection
Retrieves a SCIM user by their ID for non-managed organizations.
Authentication
Connected account requiredTags
List SCIM groupsHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SCIM_V2_GROUPSGet a list of SCIM groups. Retrieves a paginated list of all organization groups. If you provide the filter parameter, the resources for all matching groups are returned.Connection
Get a list of SCIM groups. Retrieves a paginated list of all organization groups. If you provide the filter parameter, the resources for all matching groups are returned.
Authentication
Connected account requiredTags
Get a SCIM groupHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SCIM_V2_GROUPS_GROUP_IDRetrieves a group by its ID. If you provide the `excludedAttributes` parameter, the `members` attribute is not returned.Connection
Retrieves a group by its ID. If you provide the `excludedAttributes` parameter, the `members` attribute is not returned.
Authentication
Connected account requiredTags
Get SCIM Resource TypesHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SCIM_V2_RESOURCE_TYPESReturns the list of SCIM 2.0 resource types supported by this server (User and Group).Connection
Returns the list of SCIM 2.0 resource types supported by this server (User and Group).
Authentication
Connected account requiredTags
Get SCIM SchemasHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SCIM_V2_SCHEMASReturns the SCIM 2.0 schema definitions for User and Group resources.Connection
Returns the SCIM 2.0 schema definitions for User and Group resources.
Authentication
Connected account requiredTags
Get SCIM Schema by IDHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SCIM_V2_SCHEMAS_SCHEMA_IDReturns a single SCIM 2.0 schema definition by its schema URI.Connection
Returns a single SCIM 2.0 schema definition by its schema URI.
Authentication
Connected account requiredTags
Get SCIM ConfigurationHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SCIM_V2_SERVICE_PROVIDER_CONFIGReturns the SCIM 2.0 Service Provider configuration, describing the server's capabilities and supported authentication schemes.Connection
Returns the SCIM 2.0 Service Provider configuration, describing the server's capabilities and supported authentication schemes.
Authentication
Connected account requiredTags
List SCIM usersHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SCIM_V2_USERSRetrieves a paginated list of all organization members who have been set up, including disabled users. If you provide the filter parameter, the resources for all matching members are returned.Connection
Retrieves a paginated list of all organization members who have been set up, including disabled users. If you provide the filter parameter, the resources for all matching members are returned.
Authentication
Connected account requiredTags
Get a SCIM userHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SCIM_V2_USERS_USER_IDRetrieves a SCIM user by their ID.Connection
Retrieves a SCIM user by their ID.
Authentication
Connected account requiredTags
List service accountsHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SERVICE_ACCOUNTSList all service accounts for the organization.Connection
List all service accounts for the organization.
Authentication
Connected account requiredTags
Get service accountHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SERVICE_ACCOUNTS_SERVICE_ACCOUNT_IDRetrieve a single service account and its access token metadata. Token secrets are never returned.Connection
Retrieve a single service account and its access token metadata. Token secrets are never returned.
Authentication
Connected account requiredTags
Get network security settingsHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SETTINGS_NETWORK_SECURITYGet the network security settings for an organization.Connection
Get the network security settings for an organization.
Authentication
Connected account requiredTags
List organization repositoriesHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SETTINGS_REPOSITORIESList organization repositoriesConnection
List organization repositories
Authentication
Connected account requiredTags
Get social handlesHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SOCIALSGet an organization's social media handlesConnection
Get an organization's social media handles
Authentication
Connected account requiredTags
List papersHUGGING_FACE_GET_API_PAPERSList arXiv papers sorted by published dateConnection
List arXiv papers sorted by published date
Authentication
Connected account requiredTags
Get a paperHUGGING_FACE_GET_API_PAPERS_PAPER_IDGet a paperConnection
Get a paper
Authentication
Connected account requiredTags
Search papersHUGGING_FACE_GET_API_PAPERS_SEARCHPerform a hybrid semantic / full-text-search on papersConnection
Perform a hybrid semantic / full-text-search on papers
Authentication
Connected account requiredTags
Quick searchHUGGING_FACE_GET_API_QUICKSEARCHQuick search for models, datasets, spaces, orgs, users, papers, collections, and bucketsConnection
Quick search for models, datasets, spaces, orgs, users, papers, collections, and buckets
Authentication
Connected account requiredTags
Registry tokenHUGGING_FACE_GET_API_REGISTRY_TOKENMints a short-lived EdDSA JWT for the HuggingFace container registry, verifiable via the JWK at `/api/keys/jwt`.Connection
Mints a short-lived EdDSA JWT for the HuggingFace container registry, verifiable via the JWK at `/api/keys/jwt`.
Authentication
Connected account requiredTags
List discussionsHUGGING_FACE_GET_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONSGet discussions for a repoConnection
Get discussions for a repo
Authentication
Connected account requiredTags
Get discussion detailsHUGGING_FACE_GET_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUMGet discussion detailsConnection
Get discussion details
Authentication
Connected account requiredTags
PR storage estimateHUGGING_FACE_GET_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUM_STORAGEEstimates the LFS storage used by a PR that could be freed if the ref is deleted.Connection
Estimates the LFS storage used by a PR that could be freed if the ref is deleted.
Authentication
Connected account requiredTags
Resolve a fileHUGGING_FACE_GET_API_RESOLVE_CACHE_DATASETS_NAMESPACE_REPO_REV_PATHThis endpoint requires to follow redirectionConnection
This endpoint requires to follow redirection
Authentication
Connected account requiredTags
Resolve a fileHUGGING_FACE_GET_API_RESOLVE_CACHE_MODELS_NAMESPACE_REPO_REV_PATHThis endpoint requires to follow redirectionConnection
This endpoint requires to follow redirection
Authentication
Connected account requiredTags
Resolve a fileHUGGING_FACE_GET_API_RESOLVE_CACHE_SPACES_NAMESPACE_REPO_REV_PATHThis endpoint requires to follow redirectionConnection
This endpoint requires to follow redirection
Authentication
Connected account requiredTags
List scheduled jobsHUGGING_FACE_GET_API_SCHEDULED_JOBS_NAMESPACEList scheduled jobs for an entityConnection
List scheduled jobs for an entity
Authentication
Connected account requiredTags
Get a scheduled jobHUGGING_FACE_GET_API_SCHEDULED_JOBS_NAMESPACE_JOB_IDGet a scheduled jobConnection
Get a scheduled job
Authentication
Connected account requiredTags
Get user usageHUGGING_FACE_GET_API_SETTINGS_BILLING_USAGEGet user usage for a given periodConnection
Get user usage for a given period
Authentication
Connected account requiredTags
Get session inference usageHUGGING_FACE_GET_API_SETTINGS_BILLING_USAGE_BY_INFERENCE_SESSIONGet user inference-provider usage broken down per session idConnection
Get user inference-provider usage broken down per session id
Authentication
Connected account requiredTags
Get jobs usageHUGGING_FACE_GET_API_SETTINGS_BILLING_USAGE_JOBSGet user Jobs usage for current subscription periodConnection
Get user Jobs usage for current subscription period
Authentication
Connected account requiredTags
Stream usageHUGGING_FACE_GET_API_SETTINGS_BILLING_USAGE_LIVEGet live usage for userConnection
Get live usage for user
Authentication
Connected account requiredTags
Get user usageHUGGING_FACE_GET_API_SETTINGS_BILLING_USAGE_V2Get user usage for a given periodConnection
Get user usage for a given period
Authentication
Connected account requiredTags
Get MCP toolsHUGGING_FACE_GET_API_SETTINGS_MCPGet the MCP tools for the current userConnection
Get the MCP tools for the current user
Authentication
Connected account requiredTags
Stream metricsHUGGING_FACE_GET_API_SETTINGS_METRICS_LIVEGet live usage and running jobs count for the logged-in user, over a single SSE connectionConnection
Get live usage and running jobs count for the logged-in user, over a single SSE connection
Authentication
Connected account requiredTags
List user repositoriesHUGGING_FACE_GET_API_SETTINGS_REPOSITORIESList user repositoriesConnection
List user repositories
Authentication
Connected account requiredTags
List webhooksHUGGING_FACE_GET_API_SETTINGS_WEBHOOKSList webhooksConnection
List webhooks
Authentication
Connected account requiredTags
Get webhookHUGGING_FACE_GET_API_SETTINGS_WEBHOOKS_WEBHOOK_IDGet webhookConnection
Get webhook
Authentication
Connected account requiredTags
List space hardwareHUGGING_FACE_GET_API_SPACES_HARDWAREGet available space hardwareConnection
Get available space hardware
Authentication
Connected account requiredTags
List commitsHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_COMMITS_REVList commitsConnection
List commits
Authentication
Connected account requiredTags
Get a compare revHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_COMPARE_COMPAREGet a compare revConnection
Get a compare rev
Authentication
Connected account requiredTags
Stream eventsHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_EVENTSGet status updates for a specific Space in a streaming fashion, with SSE protocolConnection
Get status updates for a specific Space in a streaming fashion, with SSE protocol
Authentication
Connected account requiredTags
Generate JWTHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_JWTGenerate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption.Connection
Generate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption.
Authentication
Connected account requiredTags
List Large filesHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_LFS_FILESList Xet/LFS files for a repoConnection
List Xet/LFS files for a repo
Authentication
Connected account requiredTags
Stream logsHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_LOGS_LOG_TYPEGet logs for a specific Space in a streaming fashion, with SSE protocolConnection
Get logs for a specific Space in a streaming fashion, with SSE protocol
Authentication
Connected account requiredTags
Stream metricsHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_METRICSGet live metrics for a specific Space in a streaming fashion, with SSE protocol, such as current Zero-GPU usageConnection
Get live metrics for a specific Space in a streaming fashion, with SSE protocol, such as current Zero-GPU usage
Authentication
Connected account requiredTags
Get notebook URLHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_NOTEBOOK_REV_PATHGet a jupyter notebook URL for the requested fileConnection
Get a jupyter notebook URL for the requested file
Authentication
Connected account requiredTags
List referencesHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_REFSList referencesConnection
List references
Authentication
Connected account requiredTags
Get resource groupHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_RESOURCE_GROUPGet resource groupConnection
Get resource group
Authentication
Connected account requiredTags
Get security statusHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_SCANGet the security status of a repoConnection
Get the security status of a repo
Authentication
Connected account requiredTags
List secretsHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_SECRETSList a Space's secret keys. Values are never returned.Connection
List a Space's secret keys. Values are never returned.
Authentication
Connected account requiredTags
List folder contentHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_TREE_REV_PATHList the content of a repository tree, with pagination support.Connection
List the content of a repository tree, with pagination support.
Authentication
Connected account requiredTags
Get folder sizeHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_TREESIZE_REV_PATHGet the total size of a repository at a given revision, optionally under a specific subpath. Returns the total size in bytes of all files under the specified path (recursively). If a file is stored via Xet/LFS, the LFS file size is used.Connection
Get the total size of a repository at a given revision, optionally under a specific subpath. Returns the total size in bytes of all files under the specified path (recursively). If a file is stored via Xet/LFS, the LFS file size is used.
Authentication
Connected account requiredTags
List variablesHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_VARIABLESList a Space's variables with their values.Connection
List a Space's variables with their values.
Authentication
Connected account requiredTags
Xet read tokenHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_XET_READ_TOKEN_REVGet a read short-lived access token for XETConnection
Get a read short-lived access token for XET
Authentication
Connected account requiredTags
Xet write tokenHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_XET_WRITE_TOKEN_REVGet a write short-lived access token for XET uploadConnection
Get a write short-lived access token for XET upload
Authentication
Connected account requiredTags
List Space templatesHUGGING_FACE_GET_API_SPACES_TEMPLATESReturns 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.Connection
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.
Authentication
Connected account requiredTags
Get ZeroGPU quotaHUGGING_FACE_GET_API_SPACES_ZERO_GPU_QUOTAGet the authenticated user's current ZeroGPU quota usage and limitsConnection
Get the authenticated user's current ZeroGPU quota usage and limits
Authentication
Connected account requiredTags
Get trendingHUGGING_FACE_GET_API_TRENDINGGet the trending repositoriesConnection
Get the trending repositories
Authentication
Connected account requiredTags
Retrieve user avatarHUGGING_FACE_GET_API_USERS_USERNAME_AVATARThis endpoint returns a JSON with the avatar URL for the user. If called with the `Sec-Fetch-Dest: image` header, it instead redirects to the avatar URLConnection
This endpoint returns a JSON with the avatar URL for the user. If called with the `Sec-Fetch-Dest: image` header, it instead redirects to the avatar URL
Authentication
Connected account requiredTags
Stream usageHUGGING_FACE_GET_API_USERS_USERNAME_BILLING_USAGE_LIVEGet live usage for userConnection
Get live usage for user
Authentication
Connected account requiredTags
List user likesHUGGING_FACE_GET_API_USERS_USERNAME_LIKESList public repos liked by a userConnection
List public repos liked by a user
Authentication
Connected account requiredTags
User overviewHUGGING_FACE_GET_API_USERS_USERNAME_OVERVIEWUser overviewConnection
User overview
Authentication
Connected account requiredTags
Get social handlesHUGGING_FACE_GET_API_USERS_USERNAME_SOCIALSGet a user's social media handlesConnection
Get a user's social media handles
Authentication
Connected account requiredTags
Get user infoHUGGING_FACE_GET_API_WHOAMI_V2Get information about the user and auth method usedConnection
Get information about the user and auth method used
Authentication
Connected account requiredTags
Get file metadataHUGGING_FACE_GET_BUCKETS_NAMESPACE_REPO_RESOLVE_PATHReturns file metadata including size, hash, and links to XET authenticationConnection
Returns file metadata including size, hash, and links to XET authentication
Authentication
Connected account requiredTags
Resolve a fileHUGGING_FACE_GET_DATASETS_NAMESPACE_REPO_RESOLVE_REV_PATHThis endpoint requires to follow redirectionConnection
This endpoint requires to follow redirection
Authentication
Connected account requiredTags
Export access reportHUGGING_FACE_GET_DATASETS_NAMESPACE_REPO_USER_ACCESS_REPORTExport a report of all access requests for a gated repositoryConnection
Export a report of all access requests for a gated repository
Authentication
Connected account requiredTags
Resolve a fileHUGGING_FACE_GET_NAMESPACE_REPO_RESOLVE_REV_PATHThis endpoint requires to follow redirectionConnection
This endpoint requires to follow redirection
Authentication
Connected account requiredTags
Export access reportHUGGING_FACE_GET_NAMESPACE_REPO_USER_ACCESS_REPORTExport a report of all access requests for a gated repositoryConnection
Export a report of all access requests for a gated repository
Authentication
Connected account requiredTags
Get user infoHUGGING_FACE_GET_OAUTH_USERINFOGet information about the user. Only available through oauth access tokens. Information varies depending on the scope of the oauth app and what permissions the user granted to the oauth app.Connection
Get information about the user. Only available through oauth access tokens. Information varies depending on the scope of the oauth app and what permissions the user granted to the oauth app.
Authentication
Connected account requiredTags
Resolve a fileHUGGING_FACE_GET_SPACES_NAMESPACE_REPO_RESOLVE_REV_PATHThis endpoint requires to follow redirectionConnection
This endpoint requires to follow redirection
Authentication
Connected account requiredTags
Update a collectionHUGGING_FACE_PATCH_API_COLLECTIONS_NAMESPACE_SLUGUpdate a collectionConnection
Update a collection
Authentication
Connected account requiredTags
Update a collectionHUGGING_FACE_PATCH_API_COLLECTIONS_NAMESPACE_SLUG_IDUpdate a collectionConnection
Update a collection
Authentication
Connected account requiredTags
Update resource groupHUGGING_FACE_PATCH_API_ORGANIZATIONS_NAME_RESOURCE_GROUPS_RESOURCE_GROUP_IDUpdate the name and/or description of a resource group. Requires the org to have a Team plan or higher.Connection
Update the name and/or description of a resource group. Requires the org to have a Team plan or higher.
Authentication
Connected account requiredTags
Change user roleHUGGING_FACE_PATCH_API_ORGANIZATIONS_NAME_RESOURCE_GROUPS_RESOURCE_GROUP_ID_USERS_USERNAMEChange the role of a user in a resource group. Requires the org to have a Team plan or higher.Connection
Change the role of a user in a resource group. Requires the org to have a Team plan or higher.
Authentication
Connected account requiredTags
Update SCIM groupHUGGING_FACE_PATCH_API_ORGANIZATIONS_NAME_SCIM_PROVISIONING_V2_GROUPS_GROUP_IDUpdate attributes of a SCIM group. Updates individual attributes using Operations format. Just provide the changes you want to make using add, remove (only `members` is supported), or replace operations.Connection
Update attributes of a SCIM group. Updates individual attributes using Operations format. Just provide the changes you want to make using add, remove (only `members` is supported), or replace operations.
Authentication
Connected account requiredTags
Update SCIM userHUGGING_FACE_PATCH_API_ORGANIZATIONS_NAME_SCIM_PROVISIONING_V2_USERS_USER_IDModify individual attributes for non-managed organizations. Only the `active` field can be modified. User profile fields are not editable via SCIM.Connection
Modify individual attributes for non-managed organizations. Only the `active` field can be modified. User profile fields are not editable via SCIM.
Authentication
Connected account requiredTags
Update SCIM groupHUGGING_FACE_PATCH_API_ORGANIZATIONS_NAME_SCIM_V2_GROUPS_GROUP_IDUpdate attributes of a SCIM group. Updates individual attributes using Operations format. Just provide the changes you want to make using add, remove (only `members` is supported), or replace operations.Connection
Update attributes of a SCIM group. Updates individual attributes using Operations format. Just provide the changes you want to make using add, remove (only `members` is supported), or replace operations.
Authentication
Connected account requiredTags
Update SCIM userHUGGING_FACE_PATCH_API_ORGANIZATIONS_NAME_SCIM_V2_USERS_USER_IDUpdate an attribute of a SCIM user. Modify individual attributes using Operations format. Just provide the changes you want to make using add, remove (only `externalId` is supported), or replace operations. If you set `active` to `false`, the user will be deprovisioned from the organization. Complicated SCIM `path` values are not supported like `emails[type eq 'work'].value`.Connection
Update an attribute of a SCIM user. Modify individual attributes using Operations format. Just provide the changes you want to make using add, remove (only `externalId` is supported), or replace operations. If you set `active` to `false`, the user will be deprovisioned from the organization. Complicated SCIM `path` values are not supported like `emails[type eq 'work'].value`.
Authentication
Connected account requiredTags
Update service-account tokenHUGGING_FACE_PATCH_API_ORGANIZATIONS_NAME_SERVICE_ACCOUNTS_SERVICE_ACCOUNT_ID_TOKENS_TOKEN_IDUpdate the name and/or permissions of an existing service account token.Connection
Update the name and/or permissions of an existing service account token.
Authentication
Connected account requiredTags
Update network securityHUGGING_FACE_PATCH_API_ORGANIZATIONS_NAME_SETTINGS_NETWORK_SECURITYUpdate the network security settings for an organization.Connection
Update the network security settings for an organization.
Authentication
Connected account requiredTags
Update embedHUGGING_FACE_PATCH_API_REPO_TYPE_NAMESPACE_REPO_SQL_CONSOLE_EMBED_IDUpdate SQL Console embedConnection
Update SQL Console embed
Authentication
Connected account requiredTags
Update notification settingsHUGGING_FACE_PATCH_API_SETTINGS_NOTIFICATIONSUpdate notification settings for the userConnection
Update notification settings for the user
Authentication
Connected account requiredTags
Update watch settingsHUGGING_FACE_PATCH_API_SETTINGS_WATCHUpdate watch settings for the user. Get notified when discussions happen on your watched items.Connection
Update watch settings for the user. Get notified when discussions happen on your watched items.
Authentication
Connected account requiredTags
Create account requestHUGGING_FACE_POST_API_AGENTIC_PROVISIONING_ACCOUNT_REQUESTSCreate account requestConnection
Create account request
Authentication
Connected account requiredTags
Create deep linkHUGGING_FACE_POST_API_AGENTIC_PROVISIONING_DEEP_LINKSCreate deep linkConnection
Create deep link
Authentication
Connected account requiredTags
Provision a resourceHUGGING_FACE_POST_API_AGENTIC_PROVISIONING_RESOURCESProvision a resourceConnection
Provision a resource
Authentication
Connected account requiredTags
Remove resourceHUGGING_FACE_POST_API_AGENTIC_PROVISIONING_RESOURCES_ID_REMOVERemove resourceConnection
Remove resource
Authentication
Connected account requiredTags
Rotate resource credentialsHUGGING_FACE_POST_API_AGENTIC_PROVISIONING_RESOURCES_ID_ROTATE_CREDENTIALSRotate resource credentialsConnection
Rotate resource credentials
Authentication
Connected account requiredTags
Update resource serviceHUGGING_FACE_POST_API_AGENTIC_PROVISIONING_RESOURCES_ID_UPDATE_SERVICEUpdate resource serviceConnection
Update resource service
Authentication
Connected account requiredTags
Create a new commentHUGGING_FACE_POST_API_BLOG_NAMESPACE_SLUG_COMMENTCreate a new commentConnection
Create a new comment
Authentication
Connected account requiredTags
Create a new commentHUGGING_FACE_POST_API_BLOG_NAMESPACE_SLUG_COMMENT_COMMENT_ID_REPLYCreate a new commentConnection
Create a new comment
Authentication
Connected account requiredTags
Create a new commentHUGGING_FACE_POST_API_BLOG_SLUG_COMMENTCreate a new commentConnection
Create a new comment
Authentication
Connected account requiredTags
Create a new commentHUGGING_FACE_POST_API_BLOG_SLUG_COMMENT_COMMENT_ID_REPLYCreate a new commentConnection
Create a new comment
Authentication
Connected account requiredTags
Create bucketHUGGING_FACE_POST_API_BUCKETS_NAMESPACE_REPOCreate bucketConnection
Create bucket
Authentication
Connected account requiredTags
Batch file operationsHUGGING_FACE_POST_API_BUCKETS_NAMESPACE_REPO_BATCHAccepts NDJSON (newline-delimited JSON) where each line is an addFile, copyFile, or deleteFile instruction. All add/copy operations must come before all delete operations. JSON-lines payload: ```json '{"type":"addFile","path":"...","xetHash":"...","mtime":...,"mtimeNanos":...,"contentType":"..."}' + '{"type":"copyFile","path":"...","xetHash":"...","sourceRepoType":"...","sourceRepoId":"...","mtime":...,"mtimeNanos":...,"contentType":"..."}' + '{"type":"deleteFile","path":"..."}' ```Connection
Accepts NDJSON (newline-delimited JSON) where each line is an addFile, copyFile, or deleteFile instruction. All add/copy operations must come before all delete operations. JSON-lines payload: ```json '{"type":"addFile","path":"...","xetHash":"...","mtime":...,"mtimeNanos":...,"contentType":"..."}' + '{"type":"copyFile","path":"...","xetHash":"...","sourceRepoType":"...","sourceRepoId":"...","mtime":...,"mtimeNanos":...,"contentType":"..."}' + '{"type":"deleteFile","path":"..."}' ```
Authentication
Connected account requiredTags
Duplicate xet filesHUGGING_FACE_POST_API_BUCKETS_NAMESPACE_REPO_LFS_FILES_DUPLICATEDuplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.Connection
Duplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.
Authentication
Connected account requiredTags
List paths infoHUGGING_FACE_POST_API_BUCKETS_NAMESPACE_REPO_PATHS_INFOList paths infoConnection
List paths info
Authentication
Connected account requiredTags
Add resource groupHUGGING_FACE_POST_API_BUCKETS_NAMESPACE_REPO_RESOURCE_GROUPAdd the repository to a resource groupConnection
Add the repository to a resource group
Authentication
Connected account requiredTags
Create a collectionHUGGING_FACE_POST_API_COLLECTIONSCreate a collectionConnection
Create a collection
Authentication
Connected account requiredTags
Add itemHUGGING_FACE_POST_API_COLLECTIONS_NAMESPACE_SLUG_ID_ITEMSAdd an item to a collectionConnection
Add an item to a collection
Authentication
Connected account requiredTags
Batch update itemsHUGGING_FACE_POST_API_COLLECTIONS_NAMESPACE_SLUG_ID_ITEMS_BATCHBatch update items in a collectionConnection
Batch update items in a collection
Authentication
Connected account requiredTags
Set collection resource groupHUGGING_FACE_POST_API_COLLECTIONS_NAMESPACE_SLUG_ID_RESOURCE_GROUPAssign, move, or unassign an organization-owned collection to a resource group. Pass null to unassign. User-owned collections are not eligible.Connection
Assign, move, or unassign an organization-owned collection to a resource group. Pass null to unassign. User-owned collections are not eligible.
Authentication
Connected account requiredTags
Add itemHUGGING_FACE_POST_API_COLLECTIONS_NAMESPACE_SLUG_ITEMSAdd an item to a collectionConnection
Add an item to a collection
Authentication
Connected account requiredTags
Batch update itemsHUGGING_FACE_POST_API_COLLECTIONS_NAMESPACE_SLUG_ITEMS_BATCHBatch update items in a collectionConnection
Batch update items in a collection
Authentication
Connected account requiredTags
Set collection resource groupHUGGING_FACE_POST_API_COLLECTIONS_NAMESPACE_SLUG_RESOURCE_GROUPAssign, move, or unassign an organization-owned collection to a resource group. Pass null to unassign. User-owned collections are not eligible.Connection
Assign, move, or unassign an organization-owned collection to a resource group. Pass null to unassign. User-owned collections are not eligible.
Authentication
Connected account requiredTags
Revoke leaked tokensHUGGING_FACE_POST_API_CREDENTIALS_REVOKEPublicly invalidate leaked Hugging Face access tokens. Possession of the raw token value is the only proof required: no authentication is needed, and no rights over the owning account or org are necessary. Each raw token is fully invalidated, the owning user is notified by email. Always returns 202, whether or not any of the provided tokens existed, so the response cannot be used to probe token validity.Connection
Publicly invalidate leaked Hugging Face access tokens. Possession of the raw token value is the only proof required: no authentication is needed, and no rights over the owning account or org are necessary. Each raw token is fully invalidated, the owning user is notified by email. Always returns 202, whether or not any of the provided tokens existed, so the response cannot be used to probe token validity.
Authentication
Connected account requiredTags
Create branchHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_BRANCH_REVCreate branchConnection
Create branch
Authentication
Connected account requiredTags
CommitHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_COMMIT_REVFor legacy reason, we support both `application/json` and `application/x-ndjson` but we recommend using `application/x-ndjson` to create a commit. JSON-lines payload: ```json { "key": "header", "value": { "summary": "string (REQUIRED)", "description": "string (OPTIONAL - defaults to empty string)", "parentCommit": "string (OPTIONAL - 40-character hex SHA)" } } { "key": "file", "value": { "path": "string (REQUIRED)", "content": "string (OPTIONAL - required if oldPath not set)", "encoding": "utf-8 | base64 (OPTIONAL - defaults to utf-8)", "oldPath": "string (OPTIONAL - for move/rename operations)" } } { "key": "deletedEntry", "value": { "path": "string (REQUIRED)" } } { "key": "lfsFile", "value": { "path": "string (REQUIRED - max 1000 chars)", "oid": "string (OPTIONAL - required if oldPath not set, 64 hex chars)", "algo": "sha256 (OPTIONAL - only sha256 supported)", "size": "number (OPTIONAL - required if oldPath is set)", "oldPath": "string (OPTIONAL - for move/rename operations)" } } ``` JSON payload: ```json { "summary": "string (REQUIRED)", "description": "string (OPTIONAL - defaults to empty string)", "parentCommit": "string (OPTIONAL - 40-character hex SHA)" "files": [ { "path": "string (REQUIRED)", "content": "string (OPTIONAL - required if oldPath not set)", "encoding": "utf-8 | base64 (OPTIONAL - defaults to utf-8)", "oldPath": "string (OPTIONAL - for move/rename operations)" } ], "deletedEntries": [ { "path": "string (REQUIRED)" } ], "lfsFiles": [ { "path": "string (REQUIRED - max 1000 chars)", "oid": "string (OPTIONAL - required if oldPath not set, 64 hex chars)", "algo": "sha256 (OPTIONAL - only sha256 supported)", "size": "number (OPTIONAL - required if oldPath is set)", "oldPath": "string (OPTIONAL - for move/rename operations)" } ] } ```Connection
For legacy reason, we support both `application/json` and `application/x-ndjson` but we recommend using `application/x-ndjson` to create a commit. JSON-lines payload: ```json { "key": "header", "value": { "summary": "string (REQUIRED)", "description": "string (OPTIONAL - defaults to empty string)", "parentCommit": "string (OPTIONAL - 40-character hex SHA)" } } { "key": "file", "value": { "path": "string (REQUIRED)", "content": "string (OPTIONAL - required if oldPath not set)", "encoding": "utf-8 | base64 (OPTIONAL - defaults to utf-8)", "oldPath": "string (OPTIONAL - for move/rename operations)" } } { "key": "deletedEntry", "value": { "path": "string (REQUIRED)" } } { "key": "lfsFile", "value": { "path": "string (REQUIRED - max 1000 chars)", "oid": "string (OPTIONAL - required if oldPath not set, 64 hex chars)", "algo": "sha256 (OPTIONAL - only sha256 supported)", "size": "number (OPTIONAL - required if oldPath is set)", "oldPath": "string (OPTIONAL - for move/rename operations)" } } ``` JSON payload: ```json { "summary": "string (REQUIRED)", "description": "string (OPTIONAL - defaults to empty string)", "parentCommit": "string (OPTIONAL - 40-character hex SHA)" "files": [ { "path": "string (REQUIRED)", "content": "string (OPTIONAL - required if oldPath not set)", "encoding": "utf-8 | base64 (OPTIONAL - defaults to utf-8)", "oldPath": "string (OPTIONAL - for move/rename operations)" } ], "deletedEntries": [ { "path": "string (REQUIRED)" } ], "lfsFiles": [ { "path": "string (REQUIRED - max 1000 chars)", "oid": "string (OPTIONAL - required if oldPath not set, 64 hex chars)", "algo": "sha256 (OPTIONAL - only sha256 supported)", "size": "number (OPTIONAL - required if oldPath is set)", "oldPath": "string (OPTIONAL - for move/rename operations)" } ] } ```
Authentication
Connected account requiredTags
Delete Large filesHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_LFS_FILES_BATCHDelete Xet/LFS files in batchConnection
Delete Xet/LFS files in batch
Authentication
Connected account requiredTags
Duplicate xet filesHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_LFS_FILES_DUPLICATEDuplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.Connection
Duplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.
Authentication
Connected account requiredTags
List paths infoHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_PATHS_INFO_REVList paths infoConnection
List paths info
Authentication
Connected account requiredTags
Check upload methodHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_PREUPLOAD_REVCheck if a file should be uploaded through the Large File mechanism or directly.Connection
Check if a file should be uploaded through the Large File mechanism or directly.
Authentication
Connected account requiredTags
Add resource groupHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_RESOURCE_GROUPAdd the repository to a resource groupConnection
Add the repository to a resource group
Authentication
Connected account requiredTags
Squash refHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_SUPER_SQUASH_REVSquash all commits in the current ref into a single commit with the given message. Action is irreversible.Connection
Squash all commits in the current ref into a single commit with the given message. Action is irreversible.
Authentication
Connected account requiredTags
Create tagHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_TAG_REVCreate tagConnection
Create tag
Authentication
Connected account requiredTags
Batch handle access requestsHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_USER_ACCESS_REQUEST_BATCHAccept, reject or reset to pending up to 100 access requests for a single gated repository in one call. The same `status` (and optional `rejectionReason`) is applied to every request in the list.Connection
Accept, reject or reset to pending up to 100 access requests for a single gated repository in one call. The same `status` (and optional `rejectionReason`) is applied to every request in the list.
Authentication
Connected account requiredTags
Cancel access requestHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_USER_ACCESS_REQUEST_CANCELCancel the current user's access request to a gated repositoryConnection
Cancel the current user's access request to a gated repository
Authentication
Connected account requiredTags
Grant accessHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_USER_ACCESS_REQUEST_GRANTGrant access to a user for a gated repositoryConnection
Grant access to a user for a gated repository
Authentication
Connected account requiredTags
Handle access requestHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_USER_ACCESS_REQUEST_HANDLEHandle a user's access request to a gated repositoryConnection
Handle a user's access request to a gated repository
Authentication
Connected account requiredTags
Check accessHUGGING_FACE_POST_API_INFERENCE_ENDPOINTS_NAMESPACE_AUTH_CHECK_PERMSCheck if the user has access to the inference endpointConnection
Check if the user has access to the inference endpoint
Authentication
Connected account requiredTags
Check accessHUGGING_FACE_POST_API_INFERENCE_ENDPOINTS_NAMESPACE_ENDPOINT_AUTH_CHECK_PERMSCheck if the user has access to the inference endpointConnection
Check if the user has access to the inference endpoint
Authentication
Connected account requiredTags
Start a jobHUGGING_FACE_POST_API_JOBS_NAMESPACEStart a jobConnection
Start a job
Authentication
Connected account requiredTags
Check accessHUGGING_FACE_POST_API_JOBS_NAMESPACE_AUTH_CHECK_PERMSCheck if the user has access to jobs in the namespaceConnection
Check if the user has access to jobs in the namespace
Authentication
Connected account requiredTags
Check accessHUGGING_FACE_POST_API_JOBS_NAMESPACE_JOB_ID_AUTH_CHECK_PERMSCheck if the user has access to jobs in the namespaceConnection
Check if the user has access to jobs in the namespace
Authentication
Connected account requiredTags
Cancel a jobHUGGING_FACE_POST_API_JOBS_NAMESPACE_JOB_ID_CANCELCancel a jobConnection
Cancel a job
Authentication
Connected account requiredTags
Duplicate a jobHUGGING_FACE_POST_API_JOBS_NAMESPACE_JOB_ID_DUPLICATEDuplicate an existing job, re-using its specConnection
Duplicate an existing job, re-using its spec
Authentication
Connected account requiredTags
Duplicate xet filesHUGGING_FACE_POST_API_KERNELS_NAMESPACE_REPO_LFS_FILES_DUPLICATEDuplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.Connection
Duplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.
Authentication
Connected account requiredTags
Create branchHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_BRANCH_REVCreate branchConnection
Create branch
Authentication
Connected account requiredTags
CommitHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_COMMIT_REVFor legacy reason, we support both `application/json` and `application/x-ndjson` but we recommend using `application/x-ndjson` to create a commit. JSON-lines payload: ```json { "key": "header", "value": { "summary": "string (REQUIRED)", "description": "string (OPTIONAL - defaults to empty string)", "parentCommit": "string (OPTIONAL - 40-character hex SHA)" } } { "key": "file", "value": { "path": "string (REQUIRED)", "content": "string (OPTIONAL - required if oldPath not set)", "encoding": "utf-8 | base64 (OPTIONAL - defaults to utf-8)", "oldPath": "string (OPTIONAL - for move/rename operations)" } } { "key": "deletedEntry", "value": { "path": "string (REQUIRED)" } } { "key": "lfsFile", "value": { "path": "string (REQUIRED - max 1000 chars)", "oid": "string (OPTIONAL - required if oldPath not set, 64 hex chars)", "algo": "sha256 (OPTIONAL - only sha256 supported)", "size": "number (OPTIONAL - required if oldPath is set)", "oldPath": "string (OPTIONAL - for move/rename operations)" } } ``` JSON payload: ```json { "summary": "string (REQUIRED)", "description": "string (OPTIONAL - defaults to empty string)", "parentCommit": "string (OPTIONAL - 40-character hex SHA)" "files": [ { "path": "string (REQUIRED)", "content": "string (OPTIONAL - required if oldPath not set)", "encoding": "utf-8 | base64 (OPTIONAL - defaults to utf-8)", "oldPath": "string (OPTIONAL - for move/rename operations)" } ], "deletedEntries": [ { "path": "string (REQUIRED)" } ], "lfsFiles": [ { "path": "string (REQUIRED - max 1000 chars)", "oid": "string (OPTIONAL - required if oldPath not set, 64 hex chars)", "algo": "sha256 (OPTIONAL - only sha256 supported)", "size": "number (OPTIONAL - required if oldPath is set)", "oldPath": "string (OPTIONAL - for move/rename operations)" } ] } ```Connection
For legacy reason, we support both `application/json` and `application/x-ndjson` but we recommend using `application/x-ndjson` to create a commit. JSON-lines payload: ```json { "key": "header", "value": { "summary": "string (REQUIRED)", "description": "string (OPTIONAL - defaults to empty string)", "parentCommit": "string (OPTIONAL - 40-character hex SHA)" } } { "key": "file", "value": { "path": "string (REQUIRED)", "content": "string (OPTIONAL - required if oldPath not set)", "encoding": "utf-8 | base64 (OPTIONAL - defaults to utf-8)", "oldPath": "string (OPTIONAL - for move/rename operations)" } } { "key": "deletedEntry", "value": { "path": "string (REQUIRED)" } } { "key": "lfsFile", "value": { "path": "string (REQUIRED - max 1000 chars)", "oid": "string (OPTIONAL - required if oldPath not set, 64 hex chars)", "algo": "sha256 (OPTIONAL - only sha256 supported)", "size": "number (OPTIONAL - required if oldPath is set)", "oldPath": "string (OPTIONAL - for move/rename operations)" } } ``` JSON payload: ```json { "summary": "string (REQUIRED)", "description": "string (OPTIONAL - defaults to empty string)", "parentCommit": "string (OPTIONAL - 40-character hex SHA)" "files": [ { "path": "string (REQUIRED)", "content": "string (OPTIONAL - required if oldPath not set)", "encoding": "utf-8 | base64 (OPTIONAL - defaults to utf-8)", "oldPath": "string (OPTIONAL - for move/rename operations)" } ], "deletedEntries": [ { "path": "string (REQUIRED)" } ], "lfsFiles": [ { "path": "string (REQUIRED - max 1000 chars)", "oid": "string (OPTIONAL - required if oldPath not set, 64 hex chars)", "algo": "sha256 (OPTIONAL - only sha256 supported)", "size": "number (OPTIONAL - required if oldPath is set)", "oldPath": "string (OPTIONAL - for move/rename operations)" } ] } ```
Authentication
Connected account requiredTags
Delete Large filesHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_LFS_FILES_BATCHDelete Xet/LFS files in batchConnection
Delete Xet/LFS files in batch
Authentication
Connected account requiredTags
Duplicate xet filesHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_LFS_FILES_DUPLICATEDuplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.Connection
Duplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.
Authentication
Connected account requiredTags
List paths infoHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_PATHS_INFO_REVList paths infoConnection
List paths info
Authentication
Connected account requiredTags
Check upload methodHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_PREUPLOAD_REVCheck if a file should be uploaded through the Large File mechanism or directly.Connection
Check if a file should be uploaded through the Large File mechanism or directly.
Authentication
Connected account requiredTags
Add resource groupHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_RESOURCE_GROUPAdd the repository to a resource groupConnection
Add the repository to a resource group
Authentication
Connected account requiredTags
Squash refHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_SUPER_SQUASH_REVSquash all commits in the current ref into a single commit with the given message. Action is irreversible.Connection
Squash all commits in the current ref into a single commit with the given message. Action is irreversible.
Authentication
Connected account requiredTags
Create tagHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_TAG_REVCreate tagConnection
Create tag
Authentication
Connected account requiredTags
Batch handle access requestsHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_USER_ACCESS_REQUEST_BATCHAccept, reject or reset to pending up to 100 access requests for a single gated repository in one call. The same `status` (and optional `rejectionReason`) is applied to every request in the list.Connection
Accept, reject or reset to pending up to 100 access requests for a single gated repository in one call. The same `status` (and optional `rejectionReason`) is applied to every request in the list.
Authentication
Connected account requiredTags
Cancel access requestHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_USER_ACCESS_REQUEST_CANCELCancel the current user's access request to a gated repositoryConnection
Cancel the current user's access request to a gated repository
Authentication
Connected account requiredTags
Grant accessHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_USER_ACCESS_REQUEST_GRANTGrant access to a user for a gated repositoryConnection
Grant access to a user for a gated repository
Authentication
Connected account requiredTags
Handle access requestHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_USER_ACCESS_REQUEST_HANDLEHandle a user's access request to a gated repositoryConnection
Handle a user's access request to a gated repository
Authentication
Connected account requiredTags
Change read statusHUGGING_FACE_POST_API_NOTIFICATIONS_MARK_AS_READMark discussions as read or unread. If `applyToAll` is true, all notifications for the user matching the search parameters will be marked as read or unread.Connection
Mark discussions as read or unread. If `applyToAll` is true, all notifications for the user matching the search parameters will be marked as read or unread.
Authentication
Connected account requiredTags
Create resource groupHUGGING_FACE_POST_API_ORGANIZATIONS_NAME_RESOURCE_GROUPSCreate a new resource group in the organization. Requires the org to have a Team plan or higher.Connection
Create a new resource group in the organization. Requires the org to have a Team plan or higher.
Authentication
Connected account requiredTags
Configure auto-joinHUGGING_FACE_POST_API_ORGANIZATIONS_NAME_RESOURCE_GROUPS_RESOURCE_GROUP_ID_SETTINGSConfigure the auto-join settings of a resource group. Requires the org to have a Team plan or higher.Connection
Configure the auto-join settings of a resource group. Requires the org to have a Team plan or higher.
Authentication
Connected account requiredTags
Add usersHUGGING_FACE_POST_API_ORGANIZATIONS_NAME_RESOURCE_GROUPS_RESOURCE_GROUP_ID_USERSAdd one or more organization members to a resource group. Requires the org to have a Team plan or higher.Connection
Add one or more organization members to a resource group. Requires the org to have a Team plan or higher.
Authentication
Connected account requiredTags
Create a SCIM groupHUGGING_FACE_POST_API_ORGANIZATIONS_NAME_SCIM_PROVISIONING_V2_GROUPSCreates a new group in the organization. The group name must be unique within the organization.Connection
Creates a new group in the organization. The group name must be unique within the organization.
Authentication
Connected account requiredTags
Create SCIM invitationHUGGING_FACE_POST_API_ORGANIZATIONS_NAME_SCIM_PROVISIONING_V2_USERSCreates an invitation for a user to join the organization. The user must have an existing Hugging Face account.Connection
Creates an invitation for a user to join the organization. The user must have an existing Hugging Face account.
Authentication
Connected account requiredTags
Create a SCIM groupHUGGING_FACE_POST_API_ORGANIZATIONS_NAME_SCIM_V2_GROUPSCreates a new group in the organization. The group name must be unique within the organization.Connection
Creates a new group in the organization. The group name must be unique within the organization.
Authentication
Connected account requiredTags
Create a SCIM userHUGGING_FACE_POST_API_ORGANIZATIONS_NAME_SCIM_V2_USERSCreates a new user in the organization. If the user already exists, only `active` field will be updated to provision the user.Connection
Creates a new user in the organization. If the user already exists, only `active` field will be updated to provision the user.
Authentication
Connected account requiredTags
Create service accountHUGGING_FACE_POST_API_ORGANIZATIONS_NAME_SERVICE_ACCOUNTSCreate a new service account for the organization.Connection
Create a new service account for the organization.
Authentication
Connected account requiredTags
Create service-account tokenHUGGING_FACE_POST_API_ORGANIZATIONS_NAME_SERVICE_ACCOUNTS_SERVICE_ACCOUNT_ID_TOKENSCreate a new access token for a service account. Store the token securely - it cannot be retrieved later.Connection
Create a new access token for a service account. Store the token securely - it cannot be retrieved later.
Authentication
Connected account requiredTags
Rotate service-account tokenHUGGING_FACE_POST_API_ORGANIZATIONS_NAME_SERVICE_ACCOUNTS_SERVICE_ACCOUNT_ID_TOKENS_TOKEN_ID_ROTATEInvalidate an existing token and generate a new one with the same permissions. The old token will stop working immediately.Connection
Invalidate an existing token and generate a new one with the same permissions. The old token will stop working immediately.
Authentication
Connected account requiredTags
Revoke member tokenHUGGING_FACE_POST_API_ORGANIZATIONS_NAME_SETTINGS_TOKENS_REVOKEAn org admin can revoke a token's access to the org. The token itself isn't deleted, it still works outside the org. Requires the raw token value. Enterprise only.Connection
An org admin can revoke a token's access to the org. The token itself isn't deleted, it still works outside the org. Requires the raw token value. Enterprise only.
Authentication
Connected account requiredTags
Index a paperHUGGING_FACE_POST_API_PAPERS_INDEXIndex a paper from arXiv by its ID. If the paper is already indexed, only its authors can re-index it.Connection
Index a paper from arXiv by its ID. If the paper is already indexed, only its authors can re-index it.
Authentication
Connected account requiredTags
Create a new commentHUGGING_FACE_POST_API_PAPERS_PAPER_ID_COMMENTCreate a new commentConnection
Create a new comment
Authentication
Connected account requiredTags
Create a new commentHUGGING_FACE_POST_API_PAPERS_PAPER_ID_COMMENT_COMMENT_ID_REPLYCreate a new commentConnection
Create a new comment
Authentication
Connected account requiredTags
Update paper linksHUGGING_FACE_POST_API_PAPERS_PAPER_ID_LINKSUpdate the project page, GitHub repository, or submitting organization for a paper. Requires the requester to be the paper author, the Daily Papers submitter, or a papers admin.Connection
Update the project page, GitHub repository, or submitting organization for a paper. Requires the requester to be the paper author, the Daily Papers submitter, or a papers admin.
Authentication
Connected account requiredTags
Create a new commentHUGGING_FACE_POST_API_POSTS_USERNAME_POST_SLUG_COMMENTCreate a new commentConnection
Create a new comment
Authentication
Connected account requiredTags
Create a new commentHUGGING_FACE_POST_API_POSTS_USERNAME_POST_SLUG_COMMENT_COMMENT_ID_REPLYCreate a new commentConnection
Create a new comment
Authentication
Connected account requiredTags
Quick searchHUGGING_FACE_POST_API_QUICKSEARCHQuick search for models, datasets, spaces, orgs, users, papers, collections, and bucketsConnection
Quick search for models, datasets, spaces, orgs, users, papers, collections, and buckets
Authentication
Connected account requiredTags
Create a new discussionHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONSCreate a new discussionConnection
Create a new discussion
Authentication
Connected account requiredTags
Create a new commentHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUM_COMMENTCreate a new commentConnection
Create a new comment
Authentication
Connected account requiredTags
Merge a pull requestHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUM_MERGEMerge a pull requestConnection
Merge a pull request
Authentication
Connected account requiredTags
Pin a discussionHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUM_PINPin a discussionConnection
Pin a discussion
Authentication
Connected account requiredTags
Change statusHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUM_STATUSChange the status of a discussionConnection
Change the status of a discussion
Authentication
Connected account requiredTags
Change titleHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUM_TITLEChange the title of a discussionConnection
Change the title of a discussion
Authentication
Connected account requiredTags
Duplicate a repositoryHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_DUPLICATEDuplicate a repositoryConnection
Duplicate a repository
Authentication
Connected account requiredTags
Create embedHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_SQL_CONSOLE_EMBEDCreate SQL Console embedConnection
Create SQL Console embed
Authentication
Connected account requiredTags
Create a new repositoryHUGGING_FACE_POST_API_REPOS_CREATECreate a new repositoryConnection
Create a new repository
Authentication
Connected account requiredTags
Move repoHUGGING_FACE_POST_API_REPOS_MOVEMove or rename a repoConnection
Move or rename a repo
Authentication
Connected account requiredTags
Create a scheduled jobHUGGING_FACE_POST_API_SCHEDULED_JOBS_NAMESPACECreate a scheduled jobConnection
Create a scheduled job
Authentication
Connected account requiredTags
Resume a scheduled jobHUGGING_FACE_POST_API_SCHEDULED_JOBS_NAMESPACE_JOB_ID_RESUMEResume a scheduled jobConnection
Resume a scheduled job
Authentication
Connected account requiredTags
Run jobHUGGING_FACE_POST_API_SCHEDULED_JOBS_NAMESPACE_JOB_ID_RUNTrigger a scheduled job run. Trigger a scheduled job to run immediately. Throws an error if an instance is already running and job spec does not allow concurrent runs.Connection
Trigger a scheduled job run. Trigger a scheduled job to run immediately. Throws an error if an instance is already running and job spec does not allow concurrent runs.
Authentication
Connected account requiredTags
Update job scheduleHUGGING_FACE_POST_API_SCHEDULED_JOBS_NAMESPACE_JOB_ID_SCHEDULEUpdate job scheduleConnection
Update job schedule
Authentication
Connected account requiredTags
Suspend a scheduled jobHUGGING_FACE_POST_API_SCHEDULED_JOBS_NAMESPACE_JOB_ID_SUSPENDSuspend a scheduled jobConnection
Suspend a scheduled job
Authentication
Connected account requiredTags
Claim paper authorshipHUGGING_FACE_POST_API_SETTINGS_PAPERS_CLAIMClaim paper authorshipConnection
Claim paper authorship
Authentication
Connected account requiredTags
Create webhookHUGGING_FACE_POST_API_SETTINGS_WEBHOOKSCreate webhookConnection
Create webhook
Authentication
Connected account requiredTags
Update webhookHUGGING_FACE_POST_API_SETTINGS_WEBHOOKS_WEBHOOK_IDUpdate webhookConnection
Update webhook
Authentication
Connected account requiredTags
Enable/disable webhookHUGGING_FACE_POST_API_SETTINGS_WEBHOOKS_WEBHOOK_ID_ACTIONEnable/disable webhookConnection
Enable/disable webhook
Authentication
Connected account requiredTags
Replay webhook logHUGGING_FACE_POST_API_SETTINGS_WEBHOOKS_WEBHOOK_ID_REPLAY_LOG_IDReplay webhook logConnection
Replay webhook log
Authentication
Connected account requiredTags
Create branchHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_BRANCH_REVCreate branchConnection
Create branch
Authentication
Connected account requiredTags
CommitHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_COMMIT_REVFor legacy reason, we support both `application/json` and `application/x-ndjson` but we recommend using `application/x-ndjson` to create a commit. JSON-lines payload: ```json { "key": "header", "value": { "summary": "string (REQUIRED)", "description": "string (OPTIONAL - defaults to empty string)", "parentCommit": "string (OPTIONAL - 40-character hex SHA)" } } { "key": "file", "value": { "path": "string (REQUIRED)", "content": "string (OPTIONAL - required if oldPath not set)", "encoding": "utf-8 | base64 (OPTIONAL - defaults to utf-8)", "oldPath": "string (OPTIONAL - for move/rename operations)" } } { "key": "deletedEntry", "value": { "path": "string (REQUIRED)" } } { "key": "lfsFile", "value": { "path": "string (REQUIRED - max 1000 chars)", "oid": "string (OPTIONAL - required if oldPath not set, 64 hex chars)", "algo": "sha256 (OPTIONAL - only sha256 supported)", "size": "number (OPTIONAL - required if oldPath is set)", "oldPath": "string (OPTIONAL - for move/rename operations)" } } ``` JSON payload: ```json { "summary": "string (REQUIRED)", "description": "string (OPTIONAL - defaults to empty string)", "parentCommit": "string (OPTIONAL - 40-character hex SHA)" "files": [ { "path": "string (REQUIRED)", "content": "string (OPTIONAL - required if oldPath not set)", "encoding": "utf-8 | base64 (OPTIONAL - defaults to utf-8)", "oldPath": "string (OPTIONAL - for move/rename operations)" } ], "deletedEntries": [ { "path": "string (REQUIRED)" } ], "lfsFiles": [ { "path": "string (REQUIRED - max 1000 chars)", "oid": "string (OPTIONAL - required if oldPath not set, 64 hex chars)", "algo": "sha256 (OPTIONAL - only sha256 supported)", "size": "number (OPTIONAL - required if oldPath is set)", "oldPath": "string (OPTIONAL - for move/rename operations)" } ] } ```Connection
For legacy reason, we support both `application/json` and `application/x-ndjson` but we recommend using `application/x-ndjson` to create a commit. JSON-lines payload: ```json { "key": "header", "value": { "summary": "string (REQUIRED)", "description": "string (OPTIONAL - defaults to empty string)", "parentCommit": "string (OPTIONAL - 40-character hex SHA)" } } { "key": "file", "value": { "path": "string (REQUIRED)", "content": "string (OPTIONAL - required if oldPath not set)", "encoding": "utf-8 | base64 (OPTIONAL - defaults to utf-8)", "oldPath": "string (OPTIONAL - for move/rename operations)" } } { "key": "deletedEntry", "value": { "path": "string (REQUIRED)" } } { "key": "lfsFile", "value": { "path": "string (REQUIRED - max 1000 chars)", "oid": "string (OPTIONAL - required if oldPath not set, 64 hex chars)", "algo": "sha256 (OPTIONAL - only sha256 supported)", "size": "number (OPTIONAL - required if oldPath is set)", "oldPath": "string (OPTIONAL - for move/rename operations)" } } ``` JSON payload: ```json { "summary": "string (REQUIRED)", "description": "string (OPTIONAL - defaults to empty string)", "parentCommit": "string (OPTIONAL - 40-character hex SHA)" "files": [ { "path": "string (REQUIRED)", "content": "string (OPTIONAL - required if oldPath not set)", "encoding": "utf-8 | base64 (OPTIONAL - defaults to utf-8)", "oldPath": "string (OPTIONAL - for move/rename operations)" } ], "deletedEntries": [ { "path": "string (REQUIRED)" } ], "lfsFiles": [ { "path": "string (REQUIRED - max 1000 chars)", "oid": "string (OPTIONAL - required if oldPath not set, 64 hex chars)", "algo": "sha256 (OPTIONAL - only sha256 supported)", "size": "number (OPTIONAL - required if oldPath is set)", "oldPath": "string (OPTIONAL - for move/rename operations)" } ] } ```
Authentication
Connected account requiredTags
Delete Large filesHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_LFS_FILES_BATCHDelete Xet/LFS files in batchConnection
Delete Xet/LFS files in batch
Authentication
Connected account requiredTags
Duplicate xet filesHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_LFS_FILES_DUPLICATEDuplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.Connection
Duplicate xet-stored files from this repo (source) into another repo (target) by xet hash, without re-uploading file bytes. The caller must then commit the files with their sha256/size as usual.
Authentication
Connected account requiredTags
List paths infoHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_PATHS_INFO_REVList paths infoConnection
List paths info
Authentication
Connected account requiredTags
Check upload methodHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_PREUPLOAD_REVCheck if a file should be uploaded through the Large File mechanism or directly.Connection
Check if a file should be uploaded through the Large File mechanism or directly.
Authentication
Connected account requiredTags
Add resource groupHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_RESOURCE_GROUPAdd the repository to a resource groupConnection
Add the repository to a resource group
Authentication
Connected account requiredTags
Upsert secretHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_SECRETSUpsert Spaces's secretConnection
Upsert Spaces's secret
Authentication
Connected account requiredTags
Squash refHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_SUPER_SQUASH_REVSquash all commits in the current ref into a single commit with the given message. Action is irreversible.Connection
Squash all commits in the current ref into a single commit with the given message. Action is irreversible.
Authentication
Connected account requiredTags
Create tagHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_TAG_REVCreate tagConnection
Create tag
Authentication
Connected account requiredTags
Upsert variableHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_VARIABLESUpsert Spaces's variableConnection
Upsert Spaces's variable
Authentication
Connected account requiredTags
Request accessHUGGING_FACE_POST_DATASETS_NAMESPACE_REPO_ASK_ACCESSRequest access to a gated repository. The fields requested by repository card metadata (https://huggingface.co/docs/hub/en/models-gated#customize-requested-information)Connection
Request access to a gated repository. The fields requested by repository card metadata (https://huggingface.co/docs/hub/en/models-gated#customize-requested-information)
Authentication
Connected account requiredTags
Request accessHUGGING_FACE_POST_NAMESPACE_REPO_ASK_ACCESSRequest access to a gated repository. The fields requested by repository card metadata (https://huggingface.co/docs/hub/en/models-gated#customize-requested-information)Connection
Request access to a gated repository. The fields requested by repository card metadata (https://huggingface.co/docs/hub/en/models-gated#customize-requested-information)
Authentication
Connected account requiredTags
Initiate device authorizationHUGGING_FACE_POST_OAUTH_DEVICEInitiate device authorizationConnection
Initiate device authorization
Authentication
Connected account requiredTags
Register a new OAuth appHUGGING_FACE_POST_OAUTH_REGISTERRegister a new OAuth appConnection
Register a new OAuth app
Authentication
Connected account requiredTags
Get user infoHUGGING_FACE_POST_OAUTH_USERINFOGet information about the user. Only available through oauth access tokens. Information varies depending on the scope of the oauth app and what permissions the user granted to the oauth app.Connection
Get information about the user. Only available through oauth access tokens. Information varies depending on the scope of the oauth app and what permissions the user granted to the oauth app.
Authentication
Connected account requiredTags
Update bucket settingsHUGGING_FACE_PUT_API_BUCKETS_NAMESPACE_REPO_SETTINGSUpdate bucket settingsConnection
Update bucket settings
Authentication
Connected account requiredTags
Update repo settingsHUGGING_FACE_PUT_API_DATASETS_NAMESPACE_REPO_SETTINGSUpdate the settings of a repoConnection
Update the settings of a repo
Authentication
Connected account requiredTags
Update job exposed portsHUGGING_FACE_PUT_API_JOBS_NAMESPACE_JOB_ID_EXPOSEReplace the exposed ports of a running job, applied live (no re-run). Ports listed in `portsPublic` are reachable without any authentication.Connection
Replace the exposed ports of a running job, applied live (no re-run). Ports listed in `portsPublic` are reachable without any authentication.
Authentication
Connected account requiredTags
Update job labelsHUGGING_FACE_PUT_API_JOBS_NAMESPACE_JOB_ID_LABELSReplace user-provided labels on a jobConnection
Replace user-provided labels on a job
Authentication
Connected account requiredTags
Update repo settingsHUGGING_FACE_PUT_API_MODELS_NAMESPACE_REPO_SETTINGSUpdate the settings of a repoConnection
Update the settings of a repo
Authentication
Connected account requiredTags
Change member roleHUGGING_FACE_PUT_API_ORGANIZATIONS_NAME_MEMBERS_USERNAME_ROLEChange the role of a member in the organization. Need a paid plan.Connection
Change the role of a member in the organization. Need a paid plan.
Authentication
Connected account requiredTags
Update a SCIM groupHUGGING_FACE_PUT_API_ORGANIZATIONS_NAME_SCIM_PROVISIONING_V2_GROUPS_GROUP_IDUpdates a group by its ID. The group name must be unique within the organization.Connection
Updates a group by its ID. The group name must be unique within the organization.
Authentication
Connected account requiredTags
Update a SCIM userHUGGING_FACE_PUT_API_ORGANIZATIONS_NAME_SCIM_PROVISIONING_V2_USERS_USER_IDUpdates a provisioned user's invitation for non-managed organizations. User profile fields are not editable via SCIM for non-managed organizations.Connection
Updates a provisioned user's invitation for non-managed organizations. User profile fields are not editable via SCIM for non-managed organizations.
Authentication
Connected account requiredTags
Update a SCIM groupHUGGING_FACE_PUT_API_ORGANIZATIONS_NAME_SCIM_V2_GROUPS_GROUP_IDUpdates a group by its ID. The group name must be unique within the organization.Connection
Updates a group by its ID. The group name must be unique within the organization.
Authentication
Connected account requiredTags
Update a SCIM userHUGGING_FACE_PUT_API_ORGANIZATIONS_NAME_SCIM_V2_USERS_USER_IDUpdates a provisioned user, you'll need to provide all their information fresh - just like setting them up for the first time. Any details you don't include will be automatically removed, so make sure to include everything they need to keep their account running smoothly. Setting `active` to `false` will deprovision the user from the organization.Connection
Updates a provisioned user, you'll need to provide all their information fresh - just like setting them up for the first time. Any details you don't include will be automatically removed, so make sure to include everything they need to keep their account running smoothly. Setting `active` to `false` will deprovision the user from the organization.
Authentication
Connected account requiredTags
Update scheduled job labelsHUGGING_FACE_PUT_API_SCHEDULED_JOBS_NAMESPACE_JOB_ID_LABELSReplace user-provided labels on a scheduled jobConnection
Replace user-provided labels on a scheduled job
Authentication
Connected account requiredTags
Update repo settingsHUGGING_FACE_PUT_API_SPACES_NAMESPACE_REPO_SETTINGSUpdate the settings of a repoConnection
Update the settings of a repo
Authentication
Connected account requiredTags
Set Space volumesHUGGING_FACE_PUT_API_SPACES_NAMESPACE_REPO_VOLUMESSet Space volumesConnection
Set Space volumes
Authentication
Connected account requiredTags