Open Connector
所有 Tools

Hugging Face logoHugging Face

We’re on a journey to advance and democratize artificial intelligence through open source and open science.

hugging-facevcatalog-v1314 个 Tools

认证方式

方式底层类型状态说明
OAuth 2.0oauth2available
API Keyapi_keyavailable

调用示例

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 目录

可用 Tools

314 个可调用操作

Delete bucketHUGGING_FACE_DELETE_API_BUCKETS_NAMESPACE_REPODelete bucket

Delete bucket

认证

需要 Connected Account

Tags

buckets
Delete a collectionHUGGING_FACE_DELETE_API_COLLECTIONS_NAMESPACE_SLUGDelete a collection

Delete a collection

认证

需要 Connected Account

Tags

collections
Delete a collectionHUGGING_FACE_DELETE_API_COLLECTIONS_NAMESPACE_SLUG_IDDelete a collection

Delete a collection

认证

需要 Connected Account

Tags

collections
Delete itemHUGGING_FACE_DELETE_API_COLLECTIONS_NAMESPACE_SLUG_ID_ITEMS_ITEM_IDDelete an item from a collection

Delete an item from a collection

认证

需要 Connected Account

Tags

collections
Delete itemHUGGING_FACE_DELETE_API_COLLECTIONS_NAMESPACE_SLUG_ITEMS_SLUGDelete an item from a collection

Delete an item from a collection

认证

需要 Connected Account

Tags

collections
Delete a branchHUGGING_FACE_DELETE_API_DATASETS_NAMESPACE_REPO_BRANCH_REVDelete a branch

Delete a branch

认证

需要 Connected Account

Tags

datasets
Delete Large fileHUGGING_FACE_DELETE_API_DATASETS_NAMESPACE_REPO_LFS_FILES_SHADelete a Xet/LFS file

Delete a Xet/LFS file

认证

需要 Connected Account

Tags

datasets
Delete a tagHUGGING_FACE_DELETE_API_DATASETS_NAMESPACE_REPO_TAG_REVDelete a tag

Delete a tag

认证

需要 Connected Account

Tags

datasets
Delete a branchHUGGING_FACE_DELETE_API_MODELS_NAMESPACE_REPO_BRANCH_REVDelete a branch

Delete a branch

认证

需要 Connected Account

Tags

models
Delete Large fileHUGGING_FACE_DELETE_API_MODELS_NAMESPACE_REPO_LFS_FILES_SHADelete a Xet/LFS file

Delete a Xet/LFS file

认证

需要 Connected Account

Tags

models
Delete a tagHUGGING_FACE_DELETE_API_MODELS_NAMESPACE_REPO_TAG_REVDelete a tag

Delete a tag

认证

需要 Connected Account

Tags

models
Delete notificationsHUGGING_FACE_DELETE_API_NOTIFICATIONSDelete notifications, either by specifying discussionIds or by applying to all notifications with search parameters

Delete notifications, either by specifying discussionIds or by applying to all notifications with search parameters

认证

需要 Connected Account

Tags

notifications
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.

Delete a resource group from the organization. Requires the org to have a Team plan or higher.

认证

需要 Connected Account

Tags

resource-groups
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.

Remove a user from a resource group, revoking the access granted through it. Requires the org to have a Team plan or higher.

认证

需要 Connected Account

Tags

resource-groups
Delete a SCIM groupHUGGING_FACE_DELETE_API_ORGANIZATIONS_NAME_SCIM_PROVISIONING_V2_GROUPS_GROUP_IDDelete a SCIM group

Delete a SCIM group

认证

需要 Connected Account

Tags

scim
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.

Removes a user from the organization and deletes any pending invitations for non-managed organizations.

认证

需要 Connected Account

Tags

scim
Delete a SCIM groupHUGGING_FACE_DELETE_API_ORGANIZATIONS_NAME_SCIM_V2_GROUPS_GROUP_IDDelete a SCIM group

Delete a SCIM group

认证

需要 Connected Account

Tags

scim
Delete a SCIM userHUGGING_FACE_DELETE_API_ORGANIZATIONS_NAME_SCIM_V2_USERS_USER_IDDelete a SCIM user

Delete a SCIM user

认证

需要 Connected Account

Tags

scim
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.

Delete a service account and all its tokens. This action cannot be undone.

认证

需要 Connected Account

Tags

service-accounts
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.

Delete an access token from a service account. This action cannot be undone.

认证

需要 Connected Account

Tags

service-accounts
Delete a discussionHUGGING_FACE_DELETE_API_POSTS_USERNAME_POST_SLUGDelete a discussion

Delete a discussion

认证

需要 Connected Account

Tags

discussions
Delete a discussionHUGGING_FACE_DELETE_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUMDelete a discussion

Delete a discussion

认证

需要 Connected Account

Tags

discussions
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.

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.

认证

需要 Connected Account

Tags

discussions
Delete embedHUGGING_FACE_DELETE_API_REPO_TYPE_NAMESPACE_REPO_SQL_CONSOLE_EMBED_IDDelete SQL Console embed

Delete SQL Console embed

认证

需要 Connected Account

Tags

sql-console
Delete a scheduled jobHUGGING_FACE_DELETE_API_SCHEDULED_JOBS_NAMESPACE_JOB_IDDelete a scheduled job

Delete a scheduled job

认证

需要 Connected Account

Tags

jobs
Delete webhookHUGGING_FACE_DELETE_API_SETTINGS_WEBHOOKS_WEBHOOK_IDDelete webhook

Delete webhook

认证

需要 Connected Account

Tags

webhooks
Delete a branchHUGGING_FACE_DELETE_API_SPACES_NAMESPACE_REPO_BRANCH_REVDelete a branch

Delete a branch

认证

需要 Connected Account

Tags

spaces
Delete Large fileHUGGING_FACE_DELETE_API_SPACES_NAMESPACE_REPO_LFS_FILES_SHADelete a Xet/LFS file

Delete a Xet/LFS file

认证

需要 Connected Account

Tags

spaces
Delete secretHUGGING_FACE_DELETE_API_SPACES_NAMESPACE_REPO_SECRETSDelete Spaces's secret

Delete Spaces's secret

认证

需要 Connected Account

Tags

spaces
Delete a tagHUGGING_FACE_DELETE_API_SPACES_NAMESPACE_REPO_TAG_REVDelete a tag

Delete a tag

认证

需要 Connected Account

Tags

spaces
Delete variableHUGGING_FACE_DELETE_API_SPACES_NAMESPACE_REPO_VARIABLESDelete Spaces's variable

Delete Spaces's variable

认证

需要 Connected Account

Tags

spaces
Delete Space volumesHUGGING_FACE_DELETE_API_SPACES_NAMESPACE_REPO_VOLUMESDelete Space volumes

Delete Space volumes

认证

需要 Connected Account

Tags

spaces
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.

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.

认证

需要 Connected Account

Tags

agents
Get healthHUGGING_FACE_GET_API_AGENTIC_PROVISIONING_HEALTHGet health

Get health

认证

需要 Connected Account

Tags

agentic-provisioning
Get a resource by IDHUGGING_FACE_GET_API_AGENTIC_PROVISIONING_RESOURCES_IDGet a resource by ID

Get a resource by ID

认证

需要 Connected Account

Tags

agentic-provisioning
Get servicesHUGGING_FACE_GET_API_AGENTIC_PROVISIONING_SERVICESGet services

Get services

认证

需要 Connected Account

Tags

agentic-provisioning
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 organization

Display the avatar for any user or organization. This endpoint redirects to the avatar URL for either a user or an organization

认证

需要 Connected Account

Tags

usersorgs
List namespace bucketsHUGGING_FACE_GET_API_BUCKETS_NAMESPACEList namespace buckets

List namespace buckets

认证

需要 Connected Account

Tags

buckets
Get bucket detailsHUGGING_FACE_GET_API_BUCKETS_NAMESPACE_REPOGet bucket details

Get bucket details

认证

需要 Connected Account

Tags

buckets
Get resource groupHUGGING_FACE_GET_API_BUCKETS_NAMESPACE_REPO_RESOURCE_GROUPGet resource group

Get resource group

认证

需要 Connected Account

Tags

buckets
List filesHUGGING_FACE_GET_API_BUCKETS_NAMESPACE_REPO_TREE_PATHList files

List files

认证

需要 Connected Account

Tags

buckets
Xet read tokenHUGGING_FACE_GET_API_BUCKETS_NAMESPACE_REPO_XET_READ_TOKENGet a read short-lived access token for XET

Get a read short-lived access token for XET

认证

需要 Connected Account

Tags

buckets
Xet write tokenHUGGING_FACE_GET_API_BUCKETS_NAMESPACE_REPO_XET_WRITE_TOKENGet a write short-lived access token for XET upload

Get a write short-lived access token for XET upload

认证

需要 Connected Account

Tags

buckets
Get collectionsHUGGING_FACE_GET_API_COLLECTIONSGet collections

Get collections

认证

需要 Connected Account

Tags

collections
Get a collectionHUGGING_FACE_GET_API_COLLECTIONS_NAMESPACE_SLUGGet a collection

Get a collection

认证

需要 Connected Account

Tags

collections
Get a collectionHUGGING_FACE_GET_API_COLLECTIONS_NAMESPACE_SLUG_IDGet a collection

Get a collection

认证

需要 Connected Account

Tags

collections
Get collection resource groupHUGGING_FACE_GET_API_COLLECTIONS_NAMESPACE_SLUG_ID_RESOURCE_GROUPGet collection resource group

Get collection resource group

认证

需要 Connected Account

Tags

collections
Get collection resource groupHUGGING_FACE_GET_API_COLLECTIONS_NAMESPACE_SLUG_RESOURCE_GROUPGet collection resource group

Get collection resource group

认证

需要 Connected Account

Tags

collections
Get Daily PapersHUGGING_FACE_GET_API_DAILY_PAPERSGet Daily Papers

Get Daily Papers

认证

需要 Connected Account

Tags

papers
List commitsHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_COMMITS_REVList commits

List commits

认证

需要 Connected Account

Tags

datasets
Get a compare revHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_COMPARE_COMPAREGet a compare rev

Get a compare rev

认证

需要 Connected Account

Tags

datasets
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.

Generate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption.

认证

需要 Connected Account

Tags

datasets
Get dataset leaderboardHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_LEADERBOARDReturns the evaluation results ranked by score for a dataset/task

Returns the evaluation results ranked by score for a dataset/task

认证

需要 Connected Account

Tags

datasets
List Large filesHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_LFS_FILESList Xet/LFS files for a repo

List Xet/LFS files for a repo

认证

需要 Connected Account

Tags

datasets
Get notebook URLHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_NOTEBOOK_REV_PATHGet a jupyter notebook URL for the requested file

Get a jupyter notebook URL for the requested file

认证

需要 Connected Account

Tags

datasets
List referencesHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_REFSList references

List references

认证

需要 Connected Account

Tags

datasets
Get resource groupHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_RESOURCE_GROUPGet resource group

Get resource group

认证

需要 Connected Account

Tags

datasets
Get security statusHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_SCANGet the security status of a repo

Get the security status of a repo

认证

需要 Connected Account

Tags

datasets
List folder contentHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_TREE_REV_PATHList the content of a repository tree, with pagination support.

List the content of a repository tree, with pagination support.

认证

需要 Connected Account

Tags

datasets
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.

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.

认证

需要 Connected Account

Tags

datasets
List access requestsHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_USER_ACCESS_REQUEST_STATUSList access requests for a gated repository

List access requests for a gated repository

认证

需要 Connected Account

Tags

datasets
Xet read tokenHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_XET_READ_TOKEN_REVGet a read short-lived access token for XET

Get a read short-lived access token for XET

认证

需要 Connected Account

Tags

datasets
Xet write tokenHUGGING_FACE_GET_API_DATASETS_NAMESPACE_REPO_XET_WRITE_TOKEN_REVGet a write short-lived access token for XET upload

Get a write short-lived access token for XET upload

认证

需要 Connected Account

Tags

datasets
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 type

Get all possible tags used for datasets, grouped by tag type. Optionally restrict to only one tag type

认证

需要 Connected Account

Tags

datasets
List docsHUGGING_FACE_GET_API_DOCSGet list of available documentation

Get list of available documentation

认证

需要 Connected Account

Tags

docs
Search docsHUGGING_FACE_GET_API_DOCS_SEARCHSearch any Hugging Face documentation

Search any Hugging Face documentation

认证

需要 Connected Account

Tags

docs
Full-text search docsHUGGING_FACE_GET_API_DOCS_SEARCH_FULL_TEXTFull-text search across Hugging Face documentation

Full-text search across Hugging Face documentation

认证

需要 Connected Account

Tags

docs
Get job hardwareHUGGING_FACE_GET_API_JOBS_HARDWAREGet available job hardware

Get available job hardware

认证

需要 Connected Account

Tags

jobs
List jobsHUGGING_FACE_GET_API_JOBS_NAMESPACEList of jobs for an entity

List of jobs for an entity

认证

需要 Connected Account

Tags

jobs
Count jobsHUGGING_FACE_GET_API_JOBS_NAMESPACE_COUNTCount the number of jobs for an entity with optional status stage filter

Count the number of jobs for an entity with optional status stage filter

认证

需要 Connected Account

Tags

jobs
Get a jobHUGGING_FACE_GET_API_JOBS_NAMESPACE_JOB_IDGet a job

Get a job

认证

需要 Connected Account

Tags

jobs
Stream job eventsHUGGING_FACE_GET_API_JOBS_NAMESPACE_JOB_ID_EVENTSStream the events of a job, using SSE

Stream the events of a job, using SSE

认证

需要 Connected Account

Tags

jobs
Stream job logsHUGGING_FACE_GET_API_JOBS_NAMESPACE_JOB_ID_LOGSStream the logs of a job, using SSE

Stream the logs of a job, using SSE

认证

需要 Connected Account

Tags

jobs
Stream job metricsHUGGING_FACE_GET_API_JOBS_NAMESPACE_JOB_ID_METRICSStream the metrics of a job, using SSE

Stream the metrics of a job, using SSE

认证

需要 Connected Account

Tags

jobs
List kernelsHUGGING_FACE_GET_API_KERNELSList kernels with optional filtering, sorting, and pagination

List kernels with optional filtering, sorting, and pagination

认证

需要 Connected Account

Tags

kernels
Get kernelHUGGING_FACE_GET_API_KERNELS_NAMESPACE_REPOGet kernel

Get kernel

认证

需要 Connected Account

Tags

kernels
Get kernelHUGGING_FACE_GET_API_KERNELS_NAMESPACE_REPO_REVISION_REVGet kernel

Get kernel

认证

需要 Connected Account

Tags

kernels
List commitsHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_COMMITS_REVList commits

List commits

认证

需要 Connected Account

Tags

models
Get a compare revHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_COMPARE_COMPAREGet a compare rev

Get a compare rev

认证

需要 Connected Account

Tags

models
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.

Generate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption.

认证

需要 Connected Account

Tags

models
List Large filesHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_LFS_FILESList Xet/LFS files for a repo

List Xet/LFS files for a repo

认证

需要 Connected Account

Tags

models
Get notebook URLHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_NOTEBOOK_REV_PATHGet a jupyter notebook URL for the requested file

Get a jupyter notebook URL for the requested file

认证

需要 Connected Account

Tags

models
List referencesHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_REFSList references

List references

认证

需要 Connected Account

Tags

models
Get resource groupHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_RESOURCE_GROUPGet resource group

Get resource group

认证

需要 Connected Account

Tags

models
Get security statusHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_SCANGet the security status of a repo

Get the security status of a repo

认证

需要 Connected Account

Tags

models
List folder contentHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_TREE_REV_PATHList the content of a repository tree, with pagination support.

List the content of a repository tree, with pagination support.

认证

需要 Connected Account

Tags

models
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.

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.

认证

需要 Connected Account

Tags

models
List access requestsHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_USER_ACCESS_REQUEST_STATUSList access requests for a gated repository

List access requests for a gated repository

认证

需要 Connected Account

Tags

models
Xet read tokenHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_XET_READ_TOKEN_REVGet a read short-lived access token for XET

Get a read short-lived access token for XET

认证

需要 Connected Account

Tags

models
Xet write tokenHUGGING_FACE_GET_API_MODELS_NAMESPACE_REPO_XET_WRITE_TOKEN_REVGet a write short-lived access token for XET upload

Get a write short-lived access token for XET upload

认证

需要 Connected Account

Tags

models
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 type

Get all possible tags used for models, grouped by tag type. Optionally restrict to only one tag type

认证

需要 Connected Account

Tags

models
List notificationsHUGGING_FACE_GET_API_NOTIFICATIONSList notifications for the user

List notifications for the user

认证

需要 Connected Account

Tags

notifications
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.

Export the audit log events in JSON format for a Team or Enterprise organization. The export is limited to the last 100,000 events.

认证

需要 Connected Account

Tags

orgs
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 URL

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

认证

需要 Connected Account

Tags

orgs
Get org usageHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_BILLING_USAGEGet org usage for a given period

Get org usage for a given period

认证

需要 Connected Account

Tags

orgs
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.

Get org inference-provider usage broken down per session id, as a time-series of monthly periods.

认证

需要 Connected Account

Tags

orgs
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.

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.

认证

需要 Connected Account

Tags

orgs
Stream usageHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_BILLING_USAGE_LIVEGet live usage for org

Get live usage for org

认证

需要 Connected Account

Tags

orgs
Get org usageHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_BILLING_USAGE_V2Get org usage for a given period

Get org usage for a given period

认证

需要 Connected Account

Tags

orgs
Get organization membersHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_MEMBERSGet a list of members for the organization with optional search and pagination.

Get a list of members for the organization with optional search and pagination.

认证

需要 Connected Account

Tags

orgs
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.

Retrieve accessible resource groups. Get all resource groups the user has access to. Requires the org to have a Team plan or higher.

认证

需要 Connected Account

Tags

resource-groups
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.

Retrieve a single resource group by id. Requires the org to have a Team plan or higher.

认证

需要 Connected Account

Tags

resource-groups
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.

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.

认证

需要 Connected Account

Tags

scim
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.

Retrieves a group by its ID. If you provide the `excludedAttributes` parameter, the `members` attribute is not returned.

认证

需要 Connected Account

Tags

scim
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.

Retrieves a paginated list of organization members and pending invitations managed by SCIM for non-managed organizations.

认证

需要 Connected Account

Tags

scim
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.

Retrieves a SCIM user by their ID for non-managed organizations.

认证

需要 Connected Account

Tags

scim
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.

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.

认证

需要 Connected Account

Tags

scim
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.

Retrieves a group by its ID. If you provide the `excludedAttributes` parameter, the `members` attribute is not returned.

认证

需要 Connected Account

Tags

scim
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).

Returns the list of SCIM 2.0 resource types supported by this server (User and Group).

认证

需要 Connected Account

Tags

scim
Get SCIM SchemasHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SCIM_V2_SCHEMASReturns the SCIM 2.0 schema definitions for User and Group resources.

Returns the SCIM 2.0 schema definitions for User and Group resources.

认证

需要 Connected Account

Tags

scim
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.

Returns a single SCIM 2.0 schema definition by its schema URI.

认证

需要 Connected Account

Tags

scim
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.

Returns the SCIM 2.0 Service Provider configuration, describing the server's capabilities and supported authentication schemes.

认证

需要 Connected Account

Tags

scim
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.

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.

认证

需要 Connected Account

Tags

scim
Get a SCIM userHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SCIM_V2_USERS_USER_IDRetrieves a SCIM user by their ID.

Retrieves a SCIM user by their ID.

认证

需要 Connected Account

Tags

scim
List service accountsHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SERVICE_ACCOUNTSList all service accounts for the organization.

List all service accounts for the organization.

认证

需要 Connected Account

Tags

service-accounts
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.

Retrieve a single service account and its access token metadata. Token secrets are never returned.

认证

需要 Connected Account

Tags

service-accounts
Get network security settingsHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SETTINGS_NETWORK_SECURITYGet the network security settings for an organization.

Get the network security settings for an organization.

认证

需要 Connected Account

Tags

orgs
List organization repositoriesHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SETTINGS_REPOSITORIESList organization repositories

List organization repositories

认证

需要 Connected Account

Tags

orgs
Get social handlesHUGGING_FACE_GET_API_ORGANIZATIONS_NAME_SOCIALSGet an organization's social media handles

Get an organization's social media handles

认证

需要 Connected Account

Tags

orgs
List papersHUGGING_FACE_GET_API_PAPERSList arXiv papers sorted by published date

List arXiv papers sorted by published date

认证

需要 Connected Account

Tags

papers
Get a paperHUGGING_FACE_GET_API_PAPERS_PAPER_IDGet a paper

Get a paper

认证

需要 Connected Account

Tags

papers
Search papersHUGGING_FACE_GET_API_PAPERS_SEARCHPerform a hybrid semantic / full-text-search on papers

Perform a hybrid semantic / full-text-search on papers

认证

需要 Connected Account

Tags

papers
Quick searchHUGGING_FACE_GET_API_QUICKSEARCHQuick search for models, datasets, spaces, orgs, users, papers, collections, and buckets

Quick search for models, datasets, spaces, orgs, users, papers, collections, and buckets

认证

需要 Connected Account

Tags

repo-search
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`.

Mints a short-lived EdDSA JWT for the HuggingFace container registry, verifiable via the JWK at `/api/keys/jwt`.

认证

需要 Connected Account

Tags

container
List discussionsHUGGING_FACE_GET_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONSGet discussions for a repo

Get discussions for a repo

认证

需要 Connected Account

Tags

discussions
Get discussion detailsHUGGING_FACE_GET_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUMGet discussion details

Get discussion details

认证

需要 Connected Account

Tags

discussions
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.

Estimates the LFS storage used by a PR that could be freed if the ref is deleted.

认证

需要 Connected Account

Tags

discussions
Resolve a fileHUGGING_FACE_GET_API_RESOLVE_CACHE_DATASETS_NAMESPACE_REPO_REV_PATHThis endpoint requires to follow redirection

This endpoint requires to follow redirection

认证

需要 Connected Account

Tags

datasets
Resolve a fileHUGGING_FACE_GET_API_RESOLVE_CACHE_MODELS_NAMESPACE_REPO_REV_PATHThis endpoint requires to follow redirection

This endpoint requires to follow redirection

认证

需要 Connected Account

Tags

models
Resolve a fileHUGGING_FACE_GET_API_RESOLVE_CACHE_SPACES_NAMESPACE_REPO_REV_PATHThis endpoint requires to follow redirection

This endpoint requires to follow redirection

认证

需要 Connected Account

Tags

spaces
List scheduled jobsHUGGING_FACE_GET_API_SCHEDULED_JOBS_NAMESPACEList scheduled jobs for an entity

List scheduled jobs for an entity

认证

需要 Connected Account

Tags

jobs
Get a scheduled jobHUGGING_FACE_GET_API_SCHEDULED_JOBS_NAMESPACE_JOB_IDGet a scheduled job

Get a scheduled job

认证

需要 Connected Account

Tags

jobs
Get user usageHUGGING_FACE_GET_API_SETTINGS_BILLING_USAGEGet user usage for a given period

Get user usage for a given period

认证

需要 Connected Account

Tags

users
Get session inference usageHUGGING_FACE_GET_API_SETTINGS_BILLING_USAGE_BY_INFERENCE_SESSIONGet user inference-provider usage broken down per session id

Get user inference-provider usage broken down per session id

认证

需要 Connected Account

Tags

users
Get jobs usageHUGGING_FACE_GET_API_SETTINGS_BILLING_USAGE_JOBSGet user Jobs usage for current subscription period

Get user Jobs usage for current subscription period

认证

需要 Connected Account

Tags

users
Stream usageHUGGING_FACE_GET_API_SETTINGS_BILLING_USAGE_LIVEGet live usage for user

Get live usage for user

认证

需要 Connected Account

Tags

users
Get user usageHUGGING_FACE_GET_API_SETTINGS_BILLING_USAGE_V2Get user usage for a given period

Get user usage for a given period

认证

需要 Connected Account

Tags

users
Get MCP toolsHUGGING_FACE_GET_API_SETTINGS_MCPGet the MCP tools for the current user

Get the MCP tools for the current user

认证

需要 Connected Account

Tags

users
Stream metricsHUGGING_FACE_GET_API_SETTINGS_METRICS_LIVEGet live usage and running jobs count for the logged-in user, over a single SSE connection

Get live usage and running jobs count for the logged-in user, over a single SSE connection

认证

需要 Connected Account

Tags

users
List user repositoriesHUGGING_FACE_GET_API_SETTINGS_REPOSITORIESList user repositories

List user repositories

认证

需要 Connected Account

Tags

users
List webhooksHUGGING_FACE_GET_API_SETTINGS_WEBHOOKSList webhooks

List webhooks

认证

需要 Connected Account

Tags

webhooks
Get webhookHUGGING_FACE_GET_API_SETTINGS_WEBHOOKS_WEBHOOK_IDGet webhook

Get webhook

认证

需要 Connected Account

Tags

webhooks
List space hardwareHUGGING_FACE_GET_API_SPACES_HARDWAREGet available space hardware

Get available space hardware

认证

需要 Connected Account

Tags

spaces
List commitsHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_COMMITS_REVList commits

List commits

认证

需要 Connected Account

Tags

spaces
Get a compare revHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_COMPARE_COMPAREGet a compare rev

Get a compare rev

认证

需要 Connected Account

Tags

spaces
Stream eventsHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_EVENTSGet status updates for a specific Space in a streaming fashion, with SSE protocol

Get status updates for a specific Space in a streaming fashion, with SSE protocol

认证

需要 Connected Account

Tags

spaces
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.

Generate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption.

认证

需要 Connected Account

Tags

spaces
List Large filesHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_LFS_FILESList Xet/LFS files for a repo

List Xet/LFS files for a repo

认证

需要 Connected Account

Tags

spaces
Stream logsHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_LOGS_LOG_TYPEGet logs for a specific Space in a streaming fashion, with SSE protocol

Get logs for a specific Space in a streaming fashion, with SSE protocol

认证

需要 Connected Account

Tags

spaces
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 usage

Get live metrics for a specific Space in a streaming fashion, with SSE protocol, such as current Zero-GPU usage

认证

需要 Connected Account

Tags

spaces
Get notebook URLHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_NOTEBOOK_REV_PATHGet a jupyter notebook URL for the requested file

Get a jupyter notebook URL for the requested file

认证

需要 Connected Account

Tags

spaces
List referencesHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_REFSList references

List references

认证

需要 Connected Account

Tags

spaces
Get resource groupHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_RESOURCE_GROUPGet resource group

Get resource group

认证

需要 Connected Account

Tags

spaces
Get security statusHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_SCANGet the security status of a repo

Get the security status of a repo

认证

需要 Connected Account

Tags

spaces
List secretsHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_SECRETSList a Space's secret keys. Values are never returned.

List a Space's secret keys. Values are never returned.

认证

需要 Connected Account

Tags

spaces
List folder contentHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_TREE_REV_PATHList the content of a repository tree, with pagination support.

List the content of a repository tree, with pagination support.

认证

需要 Connected Account

Tags

spaces
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.

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.

认证

需要 Connected Account

Tags

spaces
List variablesHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_VARIABLESList a Space's variables with their values.

List a Space's variables with their values.

认证

需要 Connected Account

Tags

spaces
Xet read tokenHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_XET_READ_TOKEN_REVGet a read short-lived access token for XET

Get a read short-lived access token for XET

认证

需要 Connected Account

Tags

spaces
Xet write tokenHUGGING_FACE_GET_API_SPACES_NAMESPACE_REPO_XET_WRITE_TOKEN_REVGet a write short-lived access token for XET upload

Get a write short-lived access token for XET upload

认证

需要 Connected Account

Tags

spaces
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.

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.

认证

需要 Connected Account

Tags

spaces
Get ZeroGPU quotaHUGGING_FACE_GET_API_SPACES_ZERO_GPU_QUOTAGet the authenticated user's current ZeroGPU quota usage and limits

Get the authenticated user's current ZeroGPU quota usage and limits

认证

需要 Connected Account

Tags

spaces
Get trendingHUGGING_FACE_GET_API_TRENDINGGet the trending repositories

Get the trending repositories

认证

需要 Connected Account

Tags

modelsspacesdatasets
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 URL

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

认证

需要 Connected Account

Tags

users
Stream usageHUGGING_FACE_GET_API_USERS_USERNAME_BILLING_USAGE_LIVEGet live usage for user

Get live usage for user

认证

需要 Connected Account

Tags

users
List user likesHUGGING_FACE_GET_API_USERS_USERNAME_LIKESList public repos liked by a user

List public repos liked by a user

认证

需要 Connected Account

Tags

users
User overviewHUGGING_FACE_GET_API_USERS_USERNAME_OVERVIEWUser overview

User overview

认证

需要 Connected Account

Tags

users
Get social handlesHUGGING_FACE_GET_API_USERS_USERNAME_SOCIALSGet a user's social media handles

Get a user's social media handles

认证

需要 Connected Account

Tags

users
Get user infoHUGGING_FACE_GET_API_WHOAMI_V2Get information about the user and auth method used

Get information about the user and auth method used

认证

需要 Connected Account

Tags

auth
Get file metadataHUGGING_FACE_GET_BUCKETS_NAMESPACE_REPO_RESOLVE_PATHReturns file metadata including size, hash, and links to XET authentication

Returns file metadata including size, hash, and links to XET authentication

认证

需要 Connected Account

Tags

buckets
Resolve a fileHUGGING_FACE_GET_DATASETS_NAMESPACE_REPO_RESOLVE_REV_PATHThis endpoint requires to follow redirection

This endpoint requires to follow redirection

认证

需要 Connected Account

Tags

datasets
Export access reportHUGGING_FACE_GET_DATASETS_NAMESPACE_REPO_USER_ACCESS_REPORTExport a report of all access requests for a gated repository

Export a report of all access requests for a gated repository

认证

需要 Connected Account

Tags

datasets
Resolve a fileHUGGING_FACE_GET_NAMESPACE_REPO_RESOLVE_REV_PATHThis endpoint requires to follow redirection

This endpoint requires to follow redirection

认证

需要 Connected Account

Tags

models
Export access reportHUGGING_FACE_GET_NAMESPACE_REPO_USER_ACCESS_REPORTExport a report of all access requests for a gated repository

Export a report of all access requests for a gated repository

认证

需要 Connected Account

Tags

models
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.

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.

认证

需要 Connected Account

Tags

oauth
Resolve a fileHUGGING_FACE_GET_SPACES_NAMESPACE_REPO_RESOLVE_REV_PATHThis endpoint requires to follow redirection

This endpoint requires to follow redirection

认证

需要 Connected Account

Tags

spaces
Update a collectionHUGGING_FACE_PATCH_API_COLLECTIONS_NAMESPACE_SLUGUpdate a collection

Update a collection

认证

需要 Connected Account

Tags

collections
Update a collectionHUGGING_FACE_PATCH_API_COLLECTIONS_NAMESPACE_SLUG_IDUpdate a collection

Update a collection

认证

需要 Connected Account

Tags

collections
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.

Update the name and/or description of a resource group. Requires the org to have a Team plan or higher.

认证

需要 Connected Account

Tags

resource-groups
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.

Change the role of a user in a resource group. Requires the org to have a Team plan or higher.

认证

需要 Connected Account

Tags

resource-groups
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.

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.

认证

需要 Connected Account

Tags

scim
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.

Modify individual attributes for non-managed organizations. Only the `active` field can be modified. User profile fields are not editable via SCIM.

认证

需要 Connected Account

Tags

scim
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.

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.

认证

需要 Connected Account

Tags

scim
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`.

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`.

认证

需要 Connected Account

Tags

scim
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.

Update the name and/or permissions of an existing service account token.

认证

需要 Connected Account

Tags

service-accounts
Update network securityHUGGING_FACE_PATCH_API_ORGANIZATIONS_NAME_SETTINGS_NETWORK_SECURITYUpdate the network security settings for an organization.

Update the network security settings for an organization.

认证

需要 Connected Account

Tags

orgs
Update embedHUGGING_FACE_PATCH_API_REPO_TYPE_NAMESPACE_REPO_SQL_CONSOLE_EMBED_IDUpdate SQL Console embed

Update SQL Console embed

认证

需要 Connected Account

Tags

sql-console
Update notification settingsHUGGING_FACE_PATCH_API_SETTINGS_NOTIFICATIONSUpdate notification settings for the user

Update notification settings for the user

认证

需要 Connected Account

Tags

notifications
Update watch settingsHUGGING_FACE_PATCH_API_SETTINGS_WATCHUpdate watch settings for the user. Get notified when discussions happen on your watched items.

Update watch settings for the user. Get notified when discussions happen on your watched items.

认证

需要 Connected Account

Tags

notifications
Create account requestHUGGING_FACE_POST_API_AGENTIC_PROVISIONING_ACCOUNT_REQUESTSCreate account request

Create account request

认证

需要 Connected Account

Tags

agentic-provisioning
Create deep linkHUGGING_FACE_POST_API_AGENTIC_PROVISIONING_DEEP_LINKSCreate deep link

Create deep link

认证

需要 Connected Account

Tags

agentic-provisioning
Provision a resourceHUGGING_FACE_POST_API_AGENTIC_PROVISIONING_RESOURCESProvision a resource

Provision a resource

认证

需要 Connected Account

Tags

agentic-provisioning
Remove resourceHUGGING_FACE_POST_API_AGENTIC_PROVISIONING_RESOURCES_ID_REMOVERemove resource

Remove resource

认证

需要 Connected Account

Tags

agentic-provisioning
Rotate resource credentialsHUGGING_FACE_POST_API_AGENTIC_PROVISIONING_RESOURCES_ID_ROTATE_CREDENTIALSRotate resource credentials

Rotate resource credentials

认证

需要 Connected Account

Tags

agentic-provisioning
Update resource serviceHUGGING_FACE_POST_API_AGENTIC_PROVISIONING_RESOURCES_ID_UPDATE_SERVICEUpdate resource service

Update resource service

认证

需要 Connected Account

Tags

agentic-provisioning
Create a new commentHUGGING_FACE_POST_API_BLOG_NAMESPACE_SLUG_COMMENTCreate a new comment

Create a new comment

认证

需要 Connected Account

Tags

discussions
Create a new commentHUGGING_FACE_POST_API_BLOG_NAMESPACE_SLUG_COMMENT_COMMENT_ID_REPLYCreate a new comment

Create a new comment

认证

需要 Connected Account

Tags

discussions
Create a new commentHUGGING_FACE_POST_API_BLOG_SLUG_COMMENTCreate a new comment

Create a new comment

认证

需要 Connected Account

Tags

discussions
Create a new commentHUGGING_FACE_POST_API_BLOG_SLUG_COMMENT_COMMENT_ID_REPLYCreate a new comment

Create a new comment

认证

需要 Connected Account

Tags

discussions
Create bucketHUGGING_FACE_POST_API_BUCKETS_NAMESPACE_REPOCreate bucket

Create bucket

认证

需要 Connected Account

Tags

buckets
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":"..."}' ```

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":"..."}' ```

认证

需要 Connected Account

Tags

buckets
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.

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.

认证

需要 Connected Account

Tags

buckets
List paths infoHUGGING_FACE_POST_API_BUCKETS_NAMESPACE_REPO_PATHS_INFOList paths info

List paths info

认证

需要 Connected Account

Tags

buckets
Add resource groupHUGGING_FACE_POST_API_BUCKETS_NAMESPACE_REPO_RESOURCE_GROUPAdd the repository to a resource group

Add the repository to a resource group

认证

需要 Connected Account

Tags

buckets
Create a collectionHUGGING_FACE_POST_API_COLLECTIONSCreate a collection

Create a collection

认证

需要 Connected Account

Tags

collections
Add itemHUGGING_FACE_POST_API_COLLECTIONS_NAMESPACE_SLUG_ID_ITEMSAdd an item to a collection

Add an item to a collection

认证

需要 Connected Account

Tags

collections
Batch update itemsHUGGING_FACE_POST_API_COLLECTIONS_NAMESPACE_SLUG_ID_ITEMS_BATCHBatch update items in a collection

Batch update items in a collection

认证

需要 Connected Account

Tags

collections
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.

Assign, move, or unassign an organization-owned collection to a resource group. Pass null to unassign. User-owned collections are not eligible.

认证

需要 Connected Account

Tags

collections
Add itemHUGGING_FACE_POST_API_COLLECTIONS_NAMESPACE_SLUG_ITEMSAdd an item to a collection

Add an item to a collection

认证

需要 Connected Account

Tags

collections
Batch update itemsHUGGING_FACE_POST_API_COLLECTIONS_NAMESPACE_SLUG_ITEMS_BATCHBatch update items in a collection

Batch update items in a collection

认证

需要 Connected Account

Tags

collections
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.

Assign, move, or unassign an organization-owned collection to a resource group. Pass null to unassign. User-owned collections are not eligible.

认证

需要 Connected Account

Tags

collections
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.

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.

认证

需要 Connected Account

Tags

tokens
Create branchHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_BRANCH_REVCreate branch

Create branch

认证

需要 Connected Account

Tags

datasets
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)" } ] } ```

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)" } ] } ```

认证

需要 Connected Account

Tags

datasets
Delete Large filesHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_LFS_FILES_BATCHDelete Xet/LFS files in batch

Delete Xet/LFS files in batch

认证

需要 Connected Account

Tags

datasets
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.

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.

认证

需要 Connected Account

Tags

datasets
List paths infoHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_PATHS_INFO_REVList paths info

List paths info

认证

需要 Connected Account

Tags

datasets
Check upload methodHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_PREUPLOAD_REVCheck if a file should be uploaded through the Large File mechanism or directly.

Check if a file should be uploaded through the Large File mechanism or directly.

认证

需要 Connected Account

Tags

datasets
Add resource groupHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_RESOURCE_GROUPAdd the repository to a resource group

Add the repository to a resource group

认证

需要 Connected Account

Tags

datasets
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.

Squash all commits in the current ref into a single commit with the given message. Action is irreversible.

认证

需要 Connected Account

Tags

datasets
Create tagHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_TAG_REVCreate tag

Create tag

认证

需要 Connected Account

Tags

datasets
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.

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.

认证

需要 Connected Account

Tags

datasets
Cancel access requestHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_USER_ACCESS_REQUEST_CANCELCancel the current user's access request to a gated repository

Cancel the current user's access request to a gated repository

认证

需要 Connected Account

Tags

datasets
Grant accessHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_USER_ACCESS_REQUEST_GRANTGrant access to a user for a gated repository

Grant access to a user for a gated repository

认证

需要 Connected Account

Tags

datasets
Handle access requestHUGGING_FACE_POST_API_DATASETS_NAMESPACE_REPO_USER_ACCESS_REQUEST_HANDLEHandle a user's access request to a gated repository

Handle a user's access request to a gated repository

认证

需要 Connected Account

Tags

datasets
Check accessHUGGING_FACE_POST_API_INFERENCE_ENDPOINTS_NAMESPACE_AUTH_CHECK_PERMSCheck if the user has access to the inference endpoint

Check if the user has access to the inference endpoint

认证

需要 Connected Account

Tags

inference-endpoints
Check accessHUGGING_FACE_POST_API_INFERENCE_ENDPOINTS_NAMESPACE_ENDPOINT_AUTH_CHECK_PERMSCheck if the user has access to the inference endpoint

Check if the user has access to the inference endpoint

认证

需要 Connected Account

Tags

inference-endpoints
Start a jobHUGGING_FACE_POST_API_JOBS_NAMESPACEStart a job

Start a job

认证

需要 Connected Account

Tags

jobs
Check accessHUGGING_FACE_POST_API_JOBS_NAMESPACE_AUTH_CHECK_PERMSCheck if the user has access to jobs in the namespace

Check if the user has access to jobs in the namespace

认证

需要 Connected Account

Tags

jobs
Check accessHUGGING_FACE_POST_API_JOBS_NAMESPACE_JOB_ID_AUTH_CHECK_PERMSCheck if the user has access to jobs in the namespace

Check if the user has access to jobs in the namespace

认证

需要 Connected Account

Tags

jobs
Cancel a jobHUGGING_FACE_POST_API_JOBS_NAMESPACE_JOB_ID_CANCELCancel a job

Cancel a job

认证

需要 Connected Account

Tags

jobs
Duplicate a jobHUGGING_FACE_POST_API_JOBS_NAMESPACE_JOB_ID_DUPLICATEDuplicate an existing job, re-using its spec

Duplicate an existing job, re-using its spec

认证

需要 Connected Account

Tags

jobs
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.

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.

认证

需要 Connected Account

Tags

kernels
Create branchHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_BRANCH_REVCreate branch

Create branch

认证

需要 Connected Account

Tags

models
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)" } ] } ```

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)" } ] } ```

认证

需要 Connected Account

Tags

models
Delete Large filesHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_LFS_FILES_BATCHDelete Xet/LFS files in batch

Delete Xet/LFS files in batch

认证

需要 Connected Account

Tags

models
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.

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.

认证

需要 Connected Account

Tags

models
List paths infoHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_PATHS_INFO_REVList paths info

List paths info

认证

需要 Connected Account

Tags

models
Check upload methodHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_PREUPLOAD_REVCheck if a file should be uploaded through the Large File mechanism or directly.

Check if a file should be uploaded through the Large File mechanism or directly.

认证

需要 Connected Account

Tags

models
Add resource groupHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_RESOURCE_GROUPAdd the repository to a resource group

Add the repository to a resource group

认证

需要 Connected Account

Tags

models
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.

Squash all commits in the current ref into a single commit with the given message. Action is irreversible.

认证

需要 Connected Account

Tags

models
Create tagHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_TAG_REVCreate tag

Create tag

认证

需要 Connected Account

Tags

models
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.

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.

认证

需要 Connected Account

Tags

models
Cancel access requestHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_USER_ACCESS_REQUEST_CANCELCancel the current user's access request to a gated repository

Cancel the current user's access request to a gated repository

认证

需要 Connected Account

Tags

models
Grant accessHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_USER_ACCESS_REQUEST_GRANTGrant access to a user for a gated repository

Grant access to a user for a gated repository

认证

需要 Connected Account

Tags

models
Handle access requestHUGGING_FACE_POST_API_MODELS_NAMESPACE_REPO_USER_ACCESS_REQUEST_HANDLEHandle a user's access request to a gated repository

Handle a user's access request to a gated repository

认证

需要 Connected Account

Tags

models
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.

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.

认证

需要 Connected Account

Tags

notifications
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.

Create a new resource group in the organization. Requires the org to have a Team plan or higher.

认证

需要 Connected Account

Tags

resource-groups
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.

Configure the auto-join settings of a resource group. Requires the org to have a Team plan or higher.

认证

需要 Connected Account

Tags

resource-groups
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.

Add one or more organization members to a resource group. Requires the org to have a Team plan or higher.

认证

需要 Connected Account

Tags

resource-groups
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.

Creates a new group in the organization. The group name must be unique within the organization.

认证

需要 Connected Account

Tags

scim
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.

Creates an invitation for a user to join the organization. The user must have an existing Hugging Face account.

认证

需要 Connected Account

Tags

scim
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.

Creates a new group in the organization. The group name must be unique within the organization.

认证

需要 Connected Account

Tags

scim
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.

Creates a new user in the organization. If the user already exists, only `active` field will be updated to provision the user.

认证

需要 Connected Account

Tags

scim
Create service accountHUGGING_FACE_POST_API_ORGANIZATIONS_NAME_SERVICE_ACCOUNTSCreate a new service account for the organization.

Create a new service account for the organization.

认证

需要 Connected Account

Tags

service-accounts
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.

Create a new access token for a service account. Store the token securely - it cannot be retrieved later.

认证

需要 Connected Account

Tags

service-accounts
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.

Invalidate an existing token and generate a new one with the same permissions. The old token will stop working immediately.

认证

需要 Connected Account

Tags

service-accounts
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.

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.

认证

需要 Connected Account

Tags

orgs
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.

Index a paper from arXiv by its ID. If the paper is already indexed, only its authors can re-index it.

认证

需要 Connected Account

Tags

papers
Create a new commentHUGGING_FACE_POST_API_PAPERS_PAPER_ID_COMMENTCreate a new comment

Create a new comment

认证

需要 Connected Account

Tags

discussions
Create a new commentHUGGING_FACE_POST_API_PAPERS_PAPER_ID_COMMENT_COMMENT_ID_REPLYCreate a new comment

Create a new comment

认证

需要 Connected Account

Tags

discussions
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.

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.

认证

需要 Connected Account

Tags

papers
Create a new commentHUGGING_FACE_POST_API_POSTS_USERNAME_POST_SLUG_COMMENTCreate a new comment

Create a new comment

认证

需要 Connected Account

Tags

discussions
Create a new commentHUGGING_FACE_POST_API_POSTS_USERNAME_POST_SLUG_COMMENT_COMMENT_ID_REPLYCreate a new comment

Create a new comment

认证

需要 Connected Account

Tags

discussions
Quick searchHUGGING_FACE_POST_API_QUICKSEARCHQuick search for models, datasets, spaces, orgs, users, papers, collections, and buckets

Quick search for models, datasets, spaces, orgs, users, papers, collections, and buckets

认证

需要 Connected Account

Tags

repo-search
Create a new discussionHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONSCreate a new discussion

Create a new discussion

认证

需要 Connected Account

Tags

discussions
Create a new commentHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUM_COMMENTCreate a new comment

Create a new comment

认证

需要 Connected Account

Tags

discussions
Merge a pull requestHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUM_MERGEMerge a pull request

Merge a pull request

认证

需要 Connected Account

Tags

discussions
Pin a discussionHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUM_PINPin a discussion

Pin a discussion

认证

需要 Connected Account

Tags

discussions
Change statusHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUM_STATUSChange the status of a discussion

Change the status of a discussion

认证

需要 Connected Account

Tags

discussions
Change titleHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_DISCUSSIONS_NUM_TITLEChange the title of a discussion

Change the title of a discussion

认证

需要 Connected Account

Tags

discussions
Duplicate a repositoryHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_DUPLICATEDuplicate a repository

Duplicate a repository

认证

需要 Connected Account

Tags

repos
Create embedHUGGING_FACE_POST_API_REPO_TYPE_NAMESPACE_REPO_SQL_CONSOLE_EMBEDCreate SQL Console embed

Create SQL Console embed

认证

需要 Connected Account

Tags

sql-console
Create a new repositoryHUGGING_FACE_POST_API_REPOS_CREATECreate a new repository

Create a new repository

认证

需要 Connected Account

Tags

repos
Move repoHUGGING_FACE_POST_API_REPOS_MOVEMove or rename a repo

Move or rename a repo

认证

需要 Connected Account

Tags

repos
Create a scheduled jobHUGGING_FACE_POST_API_SCHEDULED_JOBS_NAMESPACECreate a scheduled job

Create a scheduled job

认证

需要 Connected Account

Tags

jobs
Resume a scheduled jobHUGGING_FACE_POST_API_SCHEDULED_JOBS_NAMESPACE_JOB_ID_RESUMEResume a scheduled job

Resume a scheduled job

认证

需要 Connected Account

Tags

jobs
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.

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.

认证

需要 Connected Account

Tags

jobs
Update job scheduleHUGGING_FACE_POST_API_SCHEDULED_JOBS_NAMESPACE_JOB_ID_SCHEDULEUpdate job schedule

Update job schedule

认证

需要 Connected Account

Tags

jobs
Suspend a scheduled jobHUGGING_FACE_POST_API_SCHEDULED_JOBS_NAMESPACE_JOB_ID_SUSPENDSuspend a scheduled job

Suspend a scheduled job

认证

需要 Connected Account

Tags

jobs
Claim paper authorshipHUGGING_FACE_POST_API_SETTINGS_PAPERS_CLAIMClaim paper authorship

Claim paper authorship

认证

需要 Connected Account

Tags

papers
Create webhookHUGGING_FACE_POST_API_SETTINGS_WEBHOOKSCreate webhook

Create webhook

认证

需要 Connected Account

Tags

webhooks
Update webhookHUGGING_FACE_POST_API_SETTINGS_WEBHOOKS_WEBHOOK_IDUpdate webhook

Update webhook

认证

需要 Connected Account

Tags

webhooks
Enable/disable webhookHUGGING_FACE_POST_API_SETTINGS_WEBHOOKS_WEBHOOK_ID_ACTIONEnable/disable webhook

Enable/disable webhook

认证

需要 Connected Account

Tags

webhooks
Replay webhook logHUGGING_FACE_POST_API_SETTINGS_WEBHOOKS_WEBHOOK_ID_REPLAY_LOG_IDReplay webhook log

Replay webhook log

认证

需要 Connected Account

Tags

webhooks
Create branchHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_BRANCH_REVCreate branch

Create branch

认证

需要 Connected Account

Tags

spaces
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)" } ] } ```

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)" } ] } ```

认证

需要 Connected Account

Tags

spaces
Delete Large filesHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_LFS_FILES_BATCHDelete Xet/LFS files in batch

Delete Xet/LFS files in batch

认证

需要 Connected Account

Tags

spaces
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.

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.

认证

需要 Connected Account

Tags

spaces
List paths infoHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_PATHS_INFO_REVList paths info

List paths info

认证

需要 Connected Account

Tags

spaces
Check upload methodHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_PREUPLOAD_REVCheck if a file should be uploaded through the Large File mechanism or directly.

Check if a file should be uploaded through the Large File mechanism or directly.

认证

需要 Connected Account

Tags

spaces
Add resource groupHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_RESOURCE_GROUPAdd the repository to a resource group

Add the repository to a resource group

认证

需要 Connected Account

Tags

spaces
Upsert secretHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_SECRETSUpsert Spaces's secret

Upsert Spaces's secret

认证

需要 Connected Account

Tags

spaces
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.

Squash all commits in the current ref into a single commit with the given message. Action is irreversible.

认证

需要 Connected Account

Tags

spaces
Create tagHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_TAG_REVCreate tag

Create tag

认证

需要 Connected Account

Tags

spaces
Upsert variableHUGGING_FACE_POST_API_SPACES_NAMESPACE_REPO_VARIABLESUpsert Spaces's variable

Upsert Spaces's variable

认证

需要 Connected Account

Tags

spaces
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)

Request access to a gated repository. The fields requested by repository card metadata (https://huggingface.co/docs/hub/en/models-gated#customize-requested-information)

认证

需要 Connected Account

Tags

datasets
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)

Request access to a gated repository. The fields requested by repository card metadata (https://huggingface.co/docs/hub/en/models-gated#customize-requested-information)

认证

需要 Connected Account

Tags

models
Initiate device authorizationHUGGING_FACE_POST_OAUTH_DEVICEInitiate device authorization

Initiate device authorization

认证

需要 Connected Account

Tags

oauth
Register a new OAuth appHUGGING_FACE_POST_OAUTH_REGISTERRegister a new OAuth app

Register a new OAuth app

认证

需要 Connected Account

Tags

oauth
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.

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.

认证

需要 Connected Account

Tags

oauth
Update bucket settingsHUGGING_FACE_PUT_API_BUCKETS_NAMESPACE_REPO_SETTINGSUpdate bucket settings

Update bucket settings

认证

需要 Connected Account

Tags

buckets
Update repo settingsHUGGING_FACE_PUT_API_DATASETS_NAMESPACE_REPO_SETTINGSUpdate the settings of a repo

Update the settings of a repo

认证

需要 Connected Account

Tags

datasets
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.

Replace the exposed ports of a running job, applied live (no re-run). Ports listed in `portsPublic` are reachable without any authentication.

认证

需要 Connected Account

Tags

jobs
Update job labelsHUGGING_FACE_PUT_API_JOBS_NAMESPACE_JOB_ID_LABELSReplace user-provided labels on a job

Replace user-provided labels on a job

认证

需要 Connected Account

Tags

jobs
Update repo settingsHUGGING_FACE_PUT_API_MODELS_NAMESPACE_REPO_SETTINGSUpdate the settings of a repo

Update the settings of a repo

认证

需要 Connected Account

Tags

models
Change member roleHUGGING_FACE_PUT_API_ORGANIZATIONS_NAME_MEMBERS_USERNAME_ROLEChange the role of a member in the organization. Need a paid plan.

Change the role of a member in the organization. Need a paid plan.

认证

需要 Connected Account

Tags

orgs
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.

Updates a group by its ID. The group name must be unique within the organization.

认证

需要 Connected Account

Tags

scim
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.

Updates a provisioned user's invitation for non-managed organizations. User profile fields are not editable via SCIM for non-managed organizations.

认证

需要 Connected Account

Tags

scim
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.

Updates a group by its ID. The group name must be unique within the organization.

认证

需要 Connected Account

Tags

scim
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.

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.

认证

需要 Connected Account

Tags

scim
Update scheduled job labelsHUGGING_FACE_PUT_API_SCHEDULED_JOBS_NAMESPACE_JOB_ID_LABELSReplace user-provided labels on a scheduled job

Replace user-provided labels on a scheduled job

认证

需要 Connected Account

Tags

jobs
Update repo settingsHUGGING_FACE_PUT_API_SPACES_NAMESPACE_REPO_SETTINGSUpdate the settings of a repo

Update the settings of a repo

认证

需要 Connected Account

Tags

spaces
Set Space volumesHUGGING_FACE_PUT_API_SPACES_NAMESPACE_REPO_VOLUMESSet Space volumes

Set Space volumes

认证

需要 Connected Account

Tags

spaces

Provider 资源