AI · DEVELOPER
Models, datasets, and Spaces reached with that person’s own token.
Each user connects their own account. Every call carries both identities — the agent and the person it is acting for — so the agent can never reach past what that individual can already do.
Tokens live in the vault and attach server-side at call time. The agent holds a session, not a secret, and revoking access does not mean rotating a key.
Who asked, which agent acted, which action ran, and the verdict that let it through — one audit trail across every integration, not one per vendor.
Each action is granted on its own. An agent allowed to read is not thereby allowed to write, and the scope beside each row is what the acting user must have connected for it to run at all.
huggingface_delete_api_buckets_by_namespace_by_repoWRITEDelete bucket via DELETE /api/buckets/{namespace}/{repo}
huggingface_delete_api_by_repotype_by_namespace_by_repo_discussions_by_numWRITEDelete a discussion via DELETE /api/{repoType}/{namespace}/{repo}/discussions/{num}
huggingface_delete_api_by_repotype_by_namespace_by_repo_discussions_by_num_refWRITEDelete PR ref -- 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. via DELETE /api/{repoType}/{namespace}/{repo}/discussions/{num}/ref
huggingface_delete_api_by_repotype_by_namespace_by_repo_sql_console_embed_by_idWRITEDelete embed -- Delete SQL Console embed via DELETE /api/{repoType}/{namespace}/{repo}/sql-console/embed/{id}
huggingface_delete_api_collections_by_namespace_by_slugWRITEDelete a collection via DELETE /api/collections/{namespace}/{slug}
huggingface_delete_api_collections_by_namespace_by_slug_items_by_slugWRITEDelete item -- Delete an item from a collection via DELETE /api/collections/{namespace}/{slug}/items/{slug}
huggingface_delete_api_datasets_by_namespace_by_repo_branch_by_revWRITEDelete a branch via DELETE /api/datasets/{namespace}/{repo}/branch/{rev}
huggingface_delete_api_datasets_by_namespace_by_repo_lfs_files_by_shaWRITEDelete Large file -- Delete a Xet/LFS file via DELETE /api/datasets/{namespace}/{repo}/lfs-files/{sha}
huggingface_delete_api_datasets_by_namespace_by_repo_tag_by_revWRITEDelete a tag via DELETE /api/datasets/{namespace}/{repo}/tag/{rev}
huggingface_delete_api_models_by_namespace_by_repo_branch_by_revWRITEDelete a branch via DELETE /api/models/{namespace}/{repo}/branch/{rev}
huggingface_delete_api_models_by_namespace_by_repo_lfs_files_by_shaWRITEDelete Large file -- Delete a Xet/LFS file via DELETE /api/models/{namespace}/{repo}/lfs-files/{sha}
huggingface_delete_api_models_by_namespace_by_repo_tag_by_revWRITEDelete a tag via DELETE /api/models/{namespace}/{repo}/tag/{rev}
huggingface_delete_api_notificationsWRITEDelete notifications -- Delete notifications, either by specifying discussionIds or by applying to all notifications with search parameters via DELETE /api/notifications
huggingface_delete_api_organizations_by_name_resource_groups_by_resourcegroupidWRITEDelete resource group -- Delete a resource group from the organization. Requires the org to have a Team plan or higher. via DELETE /api/organizations/{name}/resource-groups/{resourceGroupId}
huggingface_delete_api_organizations_by_name_resource_groups_by_resourcegroupid_users_by_usernameWRITERemove user -- Remove a user from a resource group, revoking the access granted through it. Requires the org to have a Team plan or higher. via DELETE /api/organizations/{name}/resource-groups/{resourceGroupId}/users/{username}
huggingface_delete_api_organizations_by_name_scim_provisioning_v2_groups_by_groupidWRITEDelete a SCIM group via DELETE /api/organizations/{name}/scim-provisioning/v2/Groups/{groupId}
huggingface_delete_api_organizations_by_name_scim_provisioning_v2_users_by_useridWRITEDelete SCIM user -- Removes a user from the organization and deletes any pending invitations for non-managed organizations. via DELETE /api/organizations/{name}/scim-provisioning/v2/Users/{userId}
huggingface_delete_api_organizations_by_name_scim_v2_groups_by_groupidWRITEDelete a SCIM group via DELETE /api/organizations/{name}/scim/v2/Groups/{groupId}
huggingface_delete_api_organizations_by_name_scim_v2_users_by_useridWRITEDelete a SCIM user via DELETE /api/organizations/{name}/scim/v2/Users/{userId}
huggingface_delete_api_organizations_by_name_service_accounts_by_serviceaccountidWRITEDelete service account -- Delete a service account and all its tokens. This action cannot be undone. via DELETE /api/organizations/{name}/service-accounts/{serviceAccountId}
huggingface_delete_api_organizations_by_name_service_accounts_by_serviceaccountid_tokens_by_tokenidWRITEDelete service-account token -- Delete an access token from a service account. This action cannot be undone. via DELETE /api/organizations/{name}/service-accounts/{serviceAccountId}/tokens/{tokenId}
huggingface_delete_api_posts_by_username_by_postslugWRITEDelete a discussion via DELETE /api/posts/{username}/{postSlug}
huggingface_delete_api_scheduled_jobs_by_namespace_by_jobidWRITEDelete a scheduled job via DELETE /api/scheduled-jobs/{namespace}/{jobId}
huggingface_delete_api_settings_webhooks_by_webhookidWRITEDelete webhook via DELETE /api/settings/webhooks/{webhookId}
huggingface_delete_api_spaces_by_namespace_by_repo_branch_by_revWRITEDelete a branch via DELETE /api/spaces/{namespace}/{repo}/branch/{rev}
huggingface_delete_api_spaces_by_namespace_by_repo_lfs_files_by_shaWRITEDelete Large file -- Delete a Xet/LFS file via DELETE /api/spaces/{namespace}/{repo}/lfs-files/{sha}
huggingface_delete_api_spaces_by_namespace_by_repo_secretsWRITEDelete secret -- Delete Spaces's secret via DELETE /api/spaces/{namespace}/{repo}/secrets
huggingface_delete_api_spaces_by_namespace_by_repo_tag_by_revWRITEDelete a tag via DELETE /api/spaces/{namespace}/{repo}/tag/{rev}
huggingface_delete_api_spaces_by_namespace_by_repo_variablesWRITEDelete variable -- Delete Spaces's variable via DELETE /api/spaces/{namespace}/{repo}/variables
huggingface_delete_api_spaces_by_namespace_by_repo_volumesWRITEDelete Space volumes via DELETE /api/spaces/{namespace}/{repo}/volumes
huggingface_get_api_agent_harnessesREADGet agent harnesses -- 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. via GET /api/agent-harnesses
huggingface_get_api_agentic_provisioning_healthREADGet health via GET /api/agentic/provisioning/health
huggingface_get_api_agentic_provisioning_resources_by_idREADGet a resource by ID via GET /api/agentic/provisioning/resources/{id}
huggingface_get_api_agentic_provisioning_servicesREADGet services via GET /api/agentic/provisioning/services
huggingface_get_api_avatars_by_namespaceREADGet avatar -- Display the avatar for any user or organization. This endpoint redirects to the avatar URL for either a user or an organization via GET /api/avatars/{namespace}
huggingface_get_api_buckets_by_namespaceREADList namespace buckets via GET /api/buckets/{namespace}
huggingface_get_api_buckets_by_namespace_by_repoREADGet bucket details via GET /api/buckets/{namespace}/{repo}
huggingface_get_api_buckets_by_namespace_by_repo_resource_groupREADGet resource group via GET /api/buckets/{namespace}/{repo}/resource-group
huggingface_get_api_buckets_by_namespace_by_repo_tree_by_pathREADList files via GET /api/buckets/{namespace}/{repo}/tree/{path}
huggingface_get_api_buckets_by_namespace_by_repo_xet_read_tokenREADXet read token -- Get a read short-lived access token for XET via GET /api/buckets/{namespace}/{repo}/xet-read-token
huggingface_get_api_buckets_by_namespace_by_repo_xet_write_tokenREADXet write token -- Get a write short-lived access token for XET upload via GET /api/buckets/{namespace}/{repo}/xet-write-token
huggingface_get_api_by_repotype_by_namespace_by_repo_discussionsREADList discussions -- Get discussions for a repo via GET /api/{repoType}/{namespace}/{repo}/discussions
huggingface_get_api_by_repotype_by_namespace_by_repo_discussions_by_numREADGet discussion details via GET /api/{repoType}/{namespace}/{repo}/discussions/{num}
huggingface_get_api_by_repotype_by_namespace_by_repo_discussions_by_num_storageREADPR storage estimate -- Estimates the LFS storage used by a PR that could be freed if the ref is deleted. via GET /api/{repoType}/{namespace}/{repo}/discussions/{num}/storage
huggingface_get_api_by_repotype_by_namespace_by_repo_duplicate_statusREADDuplication status via GET /api/{repoType}/{namespace}/{repo}/duplicate/status
huggingface_get_api_collectionsREADGet collections via GET /api/collections
huggingface_get_api_collections_by_namespace_by_slugREADGet a collection via GET /api/collections/{namespace}/{slug}
huggingface_get_api_collections_by_namespace_by_slug_resource_groupREADGet collection resource group via GET /api/collections/{namespace}/{slug}/resource-group
huggingface_get_api_daily_papersREADGet Daily Papers via GET /api/daily_papers
huggingface_get_api_datasets_by_namespace_by_repo_commits_by_revREADList commits via GET /api/datasets/{namespace}/{repo}/commits/{rev}
huggingface_get_api_datasets_by_namespace_by_repo_compare_by_compareREADGet a compare rev via GET /api/datasets/{namespace}/{repo}/compare/{compare}
huggingface_get_api_datasets_by_namespace_by_repo_jwtREADGenerate JWT -- Generate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption. via GET /api/datasets/{namespace}/{repo}/jwt
huggingface_get_api_datasets_by_namespace_by_repo_leaderboardREADGet dataset leaderboard -- Returns the evaluation results ranked by score for a dataset/task via GET /api/datasets/{namespace}/{repo}/leaderboard
huggingface_get_api_datasets_by_namespace_by_repo_lfs_filesREADList Large files -- List Xet/LFS files for a repo via GET /api/datasets/{namespace}/{repo}/lfs-files
huggingface_get_api_datasets_by_namespace_by_repo_notebook_by_rev_by_pathREADGet notebook URL -- Get a jupyter notebook URL for the requested file via GET /api/datasets/{namespace}/{repo}/notebook/{rev}/{path}
huggingface_get_api_datasets_by_namespace_by_repo_refsREADList references via GET /api/datasets/{namespace}/{repo}/refs
huggingface_get_api_datasets_by_namespace_by_repo_resource_groupREADGet resource group via GET /api/datasets/{namespace}/{repo}/resource-group
huggingface_get_api_datasets_by_namespace_by_repo_scanREADGet security status -- Get the security status of a repo via GET /api/datasets/{namespace}/{repo}/scan
huggingface_get_api_datasets_by_namespace_by_repo_tree_by_rev_by_pathREADList folder content -- List the content of a repository tree, with pagination support. via GET /api/datasets/{namespace}/{repo}/tree/{rev}/{path}
huggingface_get_api_datasets_by_namespace_by_repo_treesize_by_rev_by_pathREADGet folder size -- 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. via GET /api/datasets/{namespace}/{repo}/treesize/{rev}/{path}
huggingface_get_api_datasets_by_namespace_by_repo_user_access_request_by_statusREADList access requests -- List access requests for a gated repository via GET /api/datasets/{namespace}/{repo}/user-access-request/{status}
huggingface_get_api_datasets_by_namespace_by_repo_xet_read_token_by_revREADXet read token -- Get a read short-lived access token for XET via GET /api/datasets/{namespace}/{repo}/xet-read-token/{rev}
huggingface_get_api_datasets_by_namespace_by_repo_xet_write_token_by_revREADXet write token -- Get a write short-lived access token for XET upload via GET /api/datasets/{namespace}/{repo}/xet-write-token/{rev}
huggingface_get_api_datasets_tags_by_typeREADGet dataset tags -- Get all possible tags used for datasets, grouped by tag type. Optionally restrict to only one tag type via GET /api/datasets-tags-by-type
huggingface_get_api_docsREADList docs -- Get list of available documentation via GET /api/docs
huggingface_get_api_docs_searchREADSearch docs -- Search any Hugging Face documentation via GET /api/docs/search
huggingface_get_api_docs_search_full_textREADFull-text search docs -- Full-text search across Hugging Face documentation via GET /api/docs/search/full-text
huggingface_get_api_jobs_by_namespaceREADList jobs -- List of jobs for an entity via GET /api/jobs/{namespace}
huggingface_get_api_jobs_by_namespace_by_jobidREADGet a job via GET /api/jobs/{namespace}/{jobId}
huggingface_get_api_jobs_by_namespace_by_jobid_eventsREADStream job events -- Stream the events of a job, using SSE via GET /api/jobs/{namespace}/{jobId}/events
huggingface_get_api_jobs_by_namespace_by_jobid_logsREADStream job logs -- Stream the logs of a job, using SSE via GET /api/jobs/{namespace}/{jobId}/logs
huggingface_get_api_jobs_by_namespace_by_jobid_metricsREADStream job metrics -- Stream the metrics of a job, using SSE via GET /api/jobs/{namespace}/{jobId}/metrics
huggingface_get_api_jobs_by_namespace_countREADCount jobs -- Count the number of jobs for an entity with optional status stage filter via GET /api/jobs/{namespace}/count
huggingface_get_api_jobs_hardwareREADGet job hardware -- Get available job hardware via GET /api/jobs/hardware
huggingface_get_api_kernelsREADList kernels -- List kernels with optional filtering, sorting, and pagination via GET /api/kernels
huggingface_get_api_kernels_by_namespace_by_repoREADGet kernel via GET /api/kernels/{namespace}/{repo}
huggingface_get_api_kernels_by_namespace_by_repo_revision_by_revREADGet kernel via GET /api/kernels/{namespace}/{repo}/revision/{rev}
huggingface_get_api_models_by_namespace_by_repo_commits_by_revREADList commits via GET /api/models/{namespace}/{repo}/commits/{rev}
huggingface_get_api_models_by_namespace_by_repo_compare_by_compareREADGet a compare rev via GET /api/models/{namespace}/{repo}/compare/{compare}
huggingface_get_api_models_by_namespace_by_repo_jwtREADGenerate JWT -- Generate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption. via GET /api/models/{namespace}/{repo}/jwt
huggingface_get_api_models_by_namespace_by_repo_lfs_filesREADList Large files -- List Xet/LFS files for a repo via GET /api/models/{namespace}/{repo}/lfs-files
huggingface_get_api_models_by_namespace_by_repo_notebook_by_rev_by_pathREADGet notebook URL -- Get a jupyter notebook URL for the requested file via GET /api/models/{namespace}/{repo}/notebook/{rev}/{path}
huggingface_get_api_models_by_namespace_by_repo_refsREADList references via GET /api/models/{namespace}/{repo}/refs
huggingface_get_api_models_by_namespace_by_repo_resource_groupREADGet resource group via GET /api/models/{namespace}/{repo}/resource-group
huggingface_get_api_models_by_namespace_by_repo_scanREADGet security status -- Get the security status of a repo via GET /api/models/{namespace}/{repo}/scan
huggingface_get_api_models_by_namespace_by_repo_tree_by_rev_by_pathREADList folder content -- List the content of a repository tree, with pagination support. via GET /api/models/{namespace}/{repo}/tree/{rev}/{path}
huggingface_get_api_models_by_namespace_by_repo_treesize_by_rev_by_pathREADGet folder size -- 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. via GET /api/models/{namespace}/{repo}/treesize/{rev}/{path}
huggingface_get_api_models_by_namespace_by_repo_user_access_request_by_statusREADList access requests -- List access requests for a gated repository via GET /api/models/{namespace}/{repo}/user-access-request/{status}
huggingface_get_api_models_by_namespace_by_repo_xet_read_token_by_revREADXet read token -- Get a read short-lived access token for XET via GET /api/models/{namespace}/{repo}/xet-read-token/{rev}
huggingface_get_api_models_by_namespace_by_repo_xet_write_token_by_revREADXet write token -- Get a write short-lived access token for XET upload via GET /api/models/{namespace}/{repo}/xet-write-token/{rev}
huggingface_get_api_models_tags_by_typeREADGet model tags -- Get all possible tags used for models, grouped by tag type. Optionally restrict to only one tag type via GET /api/models-tags-by-type
huggingface_get_api_notificationsREADList notifications -- List notifications for the user via GET /api/notifications
huggingface_get_api_organizations_by_name_audit_log_exportREADExport the audit log -- Export the audit log events in JSON format for a Team or Enterprise organization. The export is limited to the last 100,000 events. via GET /api/organizations/{name}/audit-log/export
huggingface_get_api_organizations_by_name_avatarREADGet avatar -- 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 via GET /api/organizations/{name}/avatar
huggingface_get_api_organizations_by_name_billing_usageREADGet org usage -- Get org usage for a given period via GET /api/organizations/{name}/billing/usage
huggingface_get_api_organizations_by_name_billing_usage_by_inference_sessionREADGet session inference usage -- Get org inference-provider usage broken down per session id, as a time-series of monthly periods. via GET /api/organizations/{name}/billing/usage-by-inference-session
huggingface_get_api_organizations_by_name_billing_usage_by_resource_groupREADGet resource group usage -- 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. via GET /api/organizations/{name}/billing/usage-by-resource-group
huggingface_get_api_organizations_by_name_billing_usage_liveREADStream usage -- Get live usage for org via GET /api/organizations/{name}/billing/usage/live
huggingface_get_api_organizations_by_name_billing_usage_v2READGet org usage -- Get org usage for a given period via GET /api/organizations/{name}/billing/usage-v2
huggingface_get_api_organizations_by_name_membersREADGet organization members -- Get a list of members for the organization with optional search and pagination. via GET /api/organizations/{name}/members
huggingface_get_api_organizations_by_name_resource_groupsREADGet resource groups -- Retrieve accessible resource groups. Get all resource groups the user has access to. Requires the org to have a Team plan or higher. via GET /api/organizations/{name}/resource-groups
huggingface_get_api_organizations_by_name_resource_groups_by_resourcegroupidREADGet resource group -- Retrieve a single resource group by id. Requires the org to have a Team plan or higher. via GET /api/organizations/{name}/resource-groups/{resourceGroupId}
huggingface_get_api_organizations_by_name_scim_provisioning_v2_groupsREADList SCIM groups -- 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. via GET /api/organizations/{name}/scim-provisioning/v2/Groups
huggingface_get_api_organizations_by_name_scim_provisioning_v2_groups_by_groupidREADGet a SCIM group -- Retrieves a group by its ID. If you provide the `excludedAttributes` parameter, the `members` attribute is not returned. via GET /api/organizations/{name}/scim-provisioning/v2/Groups/{groupId}
huggingface_get_api_organizations_by_name_scim_provisioning_v2_usersREADList SCIM-managed users -- Retrieves a paginated list of organization members and pending invitations managed by SCIM for non-managed organizations. via GET /api/organizations/{name}/scim-provisioning/v2/Users
huggingface_get_api_organizations_by_name_scim_provisioning_v2_users_by_useridREADGet a SCIM provisioning user -- Retrieves a SCIM user by their ID for non-managed organizations. via GET /api/organizations/{name}/scim-provisioning/v2/Users/{userId}
huggingface_get_api_organizations_by_name_scim_v2_groupsREADList SCIM groups -- 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. via GET /api/organizations/{name}/scim/v2/Groups
huggingface_get_api_organizations_by_name_scim_v2_groups_by_groupidREADGet a SCIM group -- Retrieves a group by its ID. If you provide the `excludedAttributes` parameter, the `members` attribute is not returned. via GET /api/organizations/{name}/scim/v2/Groups/{groupId}
huggingface_get_api_organizations_by_name_scim_v2_resourcetypesREADGet SCIM Resource Types -- Returns the list of SCIM 2.0 resource types supported by this server (User and Group). via GET /api/organizations/{name}/scim/v2/ResourceTypes
huggingface_get_api_organizations_by_name_scim_v2_schemasREADGet SCIM Schemas -- Returns the SCIM 2.0 schema definitions for User and Group resources. via GET /api/organizations/{name}/scim/v2/Schemas
huggingface_get_api_organizations_by_name_scim_v2_schemas_by_schemaidREADGet SCIM Schema by ID -- Returns a single SCIM 2.0 schema definition by its schema URI. via GET /api/organizations/{name}/scim/v2/Schemas/{schemaId}
huggingface_get_api_organizations_by_name_scim_v2_serviceproviderconfigREADGet SCIM Configuration -- Returns the SCIM 2.0 Service Provider configuration, describing the server's capabilities and supported authentication schemes. via GET /api/organizations/{name}/scim/v2/ServiceProviderConfig
huggingface_get_api_organizations_by_name_scim_v2_usersREADList SCIM users -- 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. via GET /api/organizations/{name}/scim/v2/Users
huggingface_get_api_organizations_by_name_scim_v2_users_by_useridREADGet a SCIM user -- Retrieves a SCIM user by their ID. via GET /api/organizations/{name}/scim/v2/Users/{userId}
huggingface_get_api_organizations_by_name_service_accountsREADList service accounts -- List all service accounts for the organization. via GET /api/organizations/{name}/service-accounts
huggingface_get_api_organizations_by_name_service_accounts_by_serviceaccountidREADGet service account -- Retrieve a single service account and its access token metadata. Token secrets are never returned. via GET /api/organizations/{name}/service-accounts/{serviceAccountId}
huggingface_get_api_organizations_by_name_settings_network_securityREADGet network security settings -- Get the network security settings for an organization. via GET /api/organizations/{name}/settings/network-security
huggingface_get_api_organizations_by_name_settings_repositoriesREADList organization repositories via GET /api/organizations/{name}/settings/repositories
huggingface_get_api_organizations_by_name_settings_tokensREADList member access tokens -- List the access tokens of the organization's members. Team or Enterprise only. via GET /api/organizations/{name}/settings/tokens
huggingface_get_api_organizations_by_name_socialsREADGet social handles -- Get an organization's social media handles via GET /api/organizations/{name}/socials
huggingface_get_api_papersREADList papers -- List arXiv papers sorted by published date via GET /api/papers
huggingface_get_api_papers_by_paperidREADGet a paper via GET /api/papers/{paperId}
huggingface_get_api_papers_searchREADSearch papers -- Perform a hybrid semantic / full-text-search on papers via GET /api/papers/search
huggingface_get_api_quicksearchREADQuick search -- Quick search for models, datasets, spaces, orgs, users, papers, collections, and buckets via GET /api/quicksearch
huggingface_get_api_registry_tokenREADRegistry token -- Mints a short-lived EdDSA JWT for the HuggingFace container registry, verifiable via the JWK at `/api/keys/jwt`. via GET /api/registry/token
huggingface_get_api_resolve_cache_datasets_by_namespace_by_repo_by_rev_by_pathREADResolve a file -- This endpoint requires to follow redirection via GET /api/resolve-cache/datasets/{namespace}/{repo}/{rev}/{path}
huggingface_get_api_resolve_cache_models_by_namespace_by_repo_by_rev_by_pathREADResolve a file -- This endpoint requires to follow redirection via GET /api/resolve-cache/models/{namespace}/{repo}/{rev}/{path}
huggingface_get_api_resolve_cache_spaces_by_namespace_by_repo_by_rev_by_pathREADResolve a file -- This endpoint requires to follow redirection via GET /api/resolve-cache/spaces/{namespace}/{repo}/{rev}/{path}
huggingface_get_api_scheduled_jobs_by_namespaceREADList scheduled jobs -- List scheduled jobs for an entity via GET /api/scheduled-jobs/{namespace}
huggingface_get_api_scheduled_jobs_by_namespace_by_jobidREADGet a scheduled job via GET /api/scheduled-jobs/{namespace}/{jobId}
huggingface_get_api_settings_billing_usageREADGet user usage -- Get user usage for a given period via GET /api/settings/billing/usage
huggingface_get_api_settings_billing_usage_by_inference_sessionREADGet session inference usage -- Get user inference-provider usage broken down per session id via GET /api/settings/billing/usage-by-inference-session
huggingface_get_api_settings_billing_usage_jobsREADGet jobs usage -- Get user Jobs usage for current subscription period via GET /api/settings/billing/usage/jobs
huggingface_get_api_settings_billing_usage_liveREADStream usage -- Get live usage for user via GET /api/settings/billing/usage/live
huggingface_get_api_settings_billing_usage_v2READGet user usage -- Get user usage for a given period via GET /api/settings/billing/usage-v2
huggingface_get_api_settings_mcpREADGet MCP tools -- Get the MCP tools for the current user via GET /api/settings/mcp
huggingface_get_api_settings_metrics_liveREADStream metrics -- Get live usage and running jobs count for the logged-in user, over a single SSE connection via GET /api/settings/metrics/live
huggingface_get_api_settings_repositoriesREADList user repositories via GET /api/settings/repositories
huggingface_get_api_settings_webhooksREADList webhooks via GET /api/settings/webhooks
huggingface_get_api_settings_webhooks_by_webhookidREADGet webhook via GET /api/settings/webhooks/{webhookId}
huggingface_get_api_spaces_by_namespace_by_repo_commits_by_revREADList commits via GET /api/spaces/{namespace}/{repo}/commits/{rev}
huggingface_get_api_spaces_by_namespace_by_repo_compare_by_compareREADGet a compare rev via GET /api/spaces/{namespace}/{repo}/compare/{compare}
huggingface_get_api_spaces_by_namespace_by_repo_eventsREADStream events -- Get status updates for a specific Space in a streaming fashion, with SSE protocol via GET /api/spaces/{namespace}/{repo}/events
huggingface_get_api_spaces_by_namespace_by_repo_jwtREADGenerate JWT -- Generate a JWT token for accessing a repository. Supports optional write access for spaces in dev mode, custom expiration, and encryption. via GET /api/spaces/{namespace}/{repo}/jwt
huggingface_get_api_spaces_by_namespace_by_repo_lfs_filesREADList Large files -- List Xet/LFS files for a repo via GET /api/spaces/{namespace}/{repo}/lfs-files
huggingface_get_api_spaces_by_namespace_by_repo_logs_by_logtypeREADStream logs -- Get logs for a specific Space in a streaming fashion, with SSE protocol via GET /api/spaces/{namespace}/{repo}/logs/{logType}
huggingface_get_api_spaces_by_namespace_by_repo_metricsREADStream metrics -- Get live metrics for a specific Space in a streaming fashion, with SSE protocol, such as current Zero-GPU usage via GET /api/spaces/{namespace}/{repo}/metrics
huggingface_get_api_spaces_by_namespace_by_repo_notebook_by_rev_by_pathREADGet notebook URL -- Get a jupyter notebook URL for the requested file via GET /api/spaces/{namespace}/{repo}/notebook/{rev}/{path}
huggingface_get_api_spaces_by_namespace_by_repo_refsREADList references via GET /api/spaces/{namespace}/{repo}/refs
huggingface_get_api_spaces_by_namespace_by_repo_resource_groupREADGet resource group via GET /api/spaces/{namespace}/{repo}/resource-group
huggingface_get_api_spaces_by_namespace_by_repo_scanREADGet security status -- Get the security status of a repo via GET /api/spaces/{namespace}/{repo}/scan
huggingface_get_api_spaces_by_namespace_by_repo_secretsREADList secrets -- List a Space's secret keys. Values are never returned. via GET /api/spaces/{namespace}/{repo}/secrets
huggingface_get_api_spaces_by_namespace_by_repo_tree_by_rev_by_pathREADList folder content -- List the content of a repository tree, with pagination support. via GET /api/spaces/{namespace}/{repo}/tree/{rev}/{path}
huggingface_get_api_spaces_by_namespace_by_repo_treesize_by_rev_by_pathREADGet folder size -- 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. via GET /api/spaces/{namespace}/{repo}/treesize/{rev}/{path}
huggingface_get_api_spaces_by_namespace_by_repo_variablesREADList variables -- List a Space's variables with their values. via GET /api/spaces/{namespace}/{repo}/variables
huggingface_get_api_spaces_by_namespace_by_repo_xet_read_token_by_revREADXet read token -- Get a read short-lived access token for XET via GET /api/spaces/{namespace}/{repo}/xet-read-token/{rev}
huggingface_get_api_spaces_by_namespace_by_repo_xet_write_token_by_revREADXet write token -- Get a write short-lived access token for XET upload via GET /api/spaces/{namespace}/{repo}/xet-write-token/{rev}
huggingface_get_api_spaces_hardwareREADList space hardware -- Get available space hardware via GET /api/spaces/hardware
huggingface_get_api_spaces_templatesREADList Space templates -- 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. via GET /api/spaces/templates
huggingface_get_api_spaces_zero_gpu_quotaREADGet ZeroGPU quota -- Get the authenticated user's current ZeroGPU quota usage and limits via GET /api/spaces/zero-gpu/quota
huggingface_get_api_trendingREADGet trending -- Get the trending repositories via GET /api/trending
huggingface_get_api_users_by_username_avatarREADRetrieve user avatar -- 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 via GET /api/users/{username}/avatar
huggingface_get_api_users_by_username_billing_usage_liveREADStream usage -- Get live usage for user via GET /api/users/{username}/billing/usage/live
huggingface_get_api_users_by_username_followersREADList user followers via GET /api/users/{username}/followers
huggingface_get_api_users_by_username_followingREADList followed users via GET /api/users/{username}/following
huggingface_get_api_users_by_username_following_orgsREADList followed organizations via GET /api/users/{username}/following/orgs
huggingface_get_api_users_by_username_likesREADList user likes -- List public repos liked by a user via GET /api/users/{username}/likes
huggingface_get_api_users_by_username_overviewREADUser overview via GET /api/users/{username}/overview
huggingface_get_api_users_by_username_socialsREADGet social handles -- Get a user's social media handles via GET /api/users/{username}/socials
huggingface_get_api_whoami_v2READGet user info -- Get information about the user and auth method used via GET /api/whoami-v2
huggingface_get_buckets_by_namespace_by_repo_resolve_by_pathREADGet file metadata -- Returns file metadata including size, hash, and links to XET authentication via GET /buckets/{namespace}/{repo}/resolve/{path}
huggingface_get_by_namespace_by_repo_resolve_by_rev_by_pathREADResolve a file -- This endpoint requires to follow redirection via GET /{namespace}/{repo}/resolve/{rev}/{path}
huggingface_get_by_namespace_by_repo_user_access_reportREADExport access report -- Export a report of all access requests for a gated repository via GET /{namespace}/{repo}/user-access-report
huggingface_get_datasets_by_namespace_by_repo_resolve_by_rev_by_pathREADResolve a file -- This endpoint requires to follow redirection via GET /datasets/{namespace}/{repo}/resolve/{rev}/{path}
huggingface_get_datasets_by_namespace_by_repo_user_access_reportREADExport access report -- Export a report of all access requests for a gated repository via GET /datasets/{namespace}/{repo}/user-access-report
huggingface_get_oauth_userinfoREADGet user info -- 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. via GET /oauth/userinfo
huggingface_get_spaces_by_namespace_by_repo_resolve_by_rev_by_pathREADResolve a file -- This endpoint requires to follow redirection via GET /spaces/{namespace}/{repo}/resolve/{rev}/{path}
huggingface_patch_api_by_repotype_by_namespace_by_repo_sql_console_embed_by_idWRITEUpdate embed -- Update SQL Console embed via PATCH /api/{repoType}/{namespace}/{repo}/sql-console/embed/{id}
huggingface_patch_api_collections_by_namespace_by_slugWRITEUpdate a collection via PATCH /api/collections/{namespace}/{slug}
huggingface_patch_api_collections_by_namespace_by_slug_items_by_slugWRITEUpdate item -- Update an item in a collection via PATCH /api/collections/{namespace}/{slug}/items/{slug}
huggingface_patch_api_organizations_by_name_resource_groups_by_resourcegroupidWRITEUpdate resource group -- Update the name, description and/or monthly spend limits (in cents, `null` to remove) of a resource group. `spendLimits.total` caps the group's combined spend across every product; the per-product limits cap each product on top of it. Requires the org to have a Team plan or higher. via PATCH /api/organizations/{name}/resource-groups/{resourceGroupId}
huggingface_patch_api_organizations_by_name_resource_groups_by_resourcegroupid_users_by_usernameWRITEChange user role -- Change the role of a user in a resource group. Requires the org to have a Team plan or higher. via PATCH /api/organizations/{name}/resource-groups/{resourceGroupId}/users/{username}
huggingface_patch_api_organizations_by_name_scim_provisioning_v2_groups_by_groupidWRITEUpdate SCIM group -- 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. via PATCH /api/organizations/{name}/scim-provisioning/v2/Groups/{groupId}
huggingface_patch_api_organizations_by_name_scim_provisioning_v2_users_by_useridWRITEUpdate SCIM user -- Modify individual attributes for non-managed organizations. Only the `active` field can be modified. User profile fields are not editable via SCIM. via PATCH /api/organizations/{name}/scim-provisioning/v2/Users/{userId}
huggingface_patch_api_organizations_by_name_scim_v2_groups_by_groupidWRITEUpdate SCIM group -- 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. via PATCH /api/organizations/{name}/scim/v2/Groups/{groupId}
huggingface_patch_api_organizations_by_name_scim_v2_users_by_useridWRITEUpdate SCIM user -- 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`. via PATCH /api/organizations/{name}/scim/v2/Users/{userId}
huggingface_patch_api_organizations_by_name_service_accounts_by_serviceaccountid_tokens_by_tokenidWRITEUpdate service-account token -- Update the name and/or permissions of an existing service account token. via PATCH /api/organizations/{name}/service-accounts/{serviceAccountId}/tokens/{tokenId}
huggingface_patch_api_organizations_by_name_settings_network_securityWRITEUpdate network security -- Update the network security settings for an organization. via PATCH /api/organizations/{name}/settings/network-security
huggingface_patch_api_settings_notificationsWRITEUpdate notification settings -- Update notification settings for the user via PATCH /api/settings/notifications
huggingface_patch_api_settings_watchWRITEUpdate watch settings -- Update watch settings for the user. Get notified when discussions happen on your watched items. via PATCH /api/settings/watch
huggingface_post_api_agentic_provisioning_account_requestsWRITECreate account request via POST /api/agentic/provisioning/account_requests
huggingface_post_api_agentic_provisioning_deep_linksWRITECreate deep link via POST /api/agentic/provisioning/deep_links
huggingface_post_api_agentic_provisioning_resourcesWRITEProvision a resource via POST /api/agentic/provisioning/resources
huggingface_post_api_agentic_provisioning_resources_by_id_removeWRITERemove resource via POST /api/agentic/provisioning/resources/{id}/remove
huggingface_post_api_agentic_provisioning_resources_by_id_rotate_credentialsWRITERotate resource credentials via POST /api/agentic/provisioning/resources/{id}/rotate_credentials
huggingface_post_api_agentic_provisioning_resources_by_id_update_serviceWRITEUpdate resource service via POST /api/agentic/provisioning/resources/{id}/update_service
huggingface_post_api_blog_by_namespace_by_slug_commentWRITECreate a new comment via POST /api/blog/{namespace}/{slug}/comment
huggingface_post_api_blog_by_namespace_by_slug_comment_by_commentid_replyWRITECreate a new comment via POST /api/blog/{namespace}/{slug}/comment/{commentId}/reply
huggingface_post_api_blog_by_slug_commentWRITECreate a new comment via POST /api/blog/{slug}/comment
huggingface_post_api_blog_by_slug_comment_by_commentid_replyWRITECreate a new comment via POST /api/blog/{slug}/comment/{commentId}/reply
huggingface_post_api_buckets_by_namespace_by_repoWRITECreate bucket via POST /api/buckets/{namespace}/{repo}
huggingface_post_api_buckets_by_namespace_by_repo_batchWRITEBatch file operations -- 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":"..."}' ``` via POST /api/buckets/{namespace}/{repo}/batch
huggingface_post_api_buckets_by_namespace_by_repo_lfs_files_duplicateWRITEDuplicate xet files -- 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. via POST /api/buckets/{namespace}/{repo}/lfs-files/duplicate
huggingface_post_api_buckets_by_namespace_by_repo_paths_infoWRITEList paths info via POST /api/buckets/{namespace}/{repo}/paths-info
huggingface_post_api_buckets_by_namespace_by_repo_resource_groupWRITEAdd resource group -- Add the repository to a resource group via POST /api/buckets/{namespace}/{repo}/resource-group
huggingface_post_api_by_repotype_by_namespace_by_repo_discussionsWRITECreate a new discussion via POST /api/{repoType}/{namespace}/{repo}/discussions
huggingface_post_api_by_repotype_by_namespace_by_repo_discussions_by_num_commentWRITECreate a new comment via POST /api/{repoType}/{namespace}/{repo}/discussions/{num}/comment
huggingface_post_api_by_repotype_by_namespace_by_repo_discussions_by_num_mergeWRITEMerge a pull request via POST /api/{repoType}/{namespace}/{repo}/discussions/{num}/merge
huggingface_post_api_by_repotype_by_namespace_by_repo_discussions_by_num_pinWRITEPin a discussion via POST /api/{repoType}/{namespace}/{repo}/discussions/{num}/pin
huggingface_post_api_by_repotype_by_namespace_by_repo_discussions_by_num_statusWRITEChange status -- Change the status of a discussion via POST /api/{repoType}/{namespace}/{repo}/discussions/{num}/status
huggingface_post_api_by_repotype_by_namespace_by_repo_discussions_by_num_titleWRITEChange title -- Change the title of a discussion via POST /api/{repoType}/{namespace}/{repo}/discussions/{num}/title
huggingface_post_api_by_repotype_by_namespace_by_repo_duplicateWRITEDuplicate a repository via POST /api/{repoType}/{namespace}/{repo}/duplicate
huggingface_post_api_by_repotype_by_namespace_by_repo_sql_console_embedWRITECreate embed -- Create SQL Console embed via POST /api/{repoType}/{namespace}/{repo}/sql-console/embed
huggingface_post_api_collectionsWRITECreate a collection via POST /api/collections
huggingface_post_api_collections_by_namespace_by_slug_itemsWRITEAdd item -- Add an item to a collection via POST /api/collections/{namespace}/{slug}/items
huggingface_post_api_collections_by_namespace_by_slug_items_batchWRITEBatch update items -- Batch update items in a collection via POST /api/collections/{namespace}/{slug}/items/batch
huggingface_post_api_collections_by_namespace_by_slug_resource_groupWRITESet collection resource group -- Assign, move, or unassign an organization-owned collection to a resource group. Pass null to unassign. User-owned collections are not eligible. via POST /api/collections/{namespace}/{slug}/resource-group
huggingface_post_api_credentials_revokeWRITERevoke leaked tokens -- 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. via POST /api/credentials/revoke
huggingface_post_api_datasets_by_namespace_by_repo_branch_by_revWRITECreate branch via POST /api/datasets/{namespace}/{repo}/branch/{rev}
huggingface_post_api_datasets_by_namespace_by_repo_commit_by_revWRITECommit -- 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)" } ] } ``` via POST /api/datasets/{namespace}/{repo}/commit/{rev}
huggingface_post_api_datasets_by_namespace_by_repo_lfs_files_batchWRITEDelete Large files -- Delete Xet/LFS files in batch via POST /api/datasets/{namespace}/{repo}/lfs-files/batch
huggingface_post_api_datasets_by_namespace_by_repo_lfs_files_duplicateWRITEDuplicate xet files -- 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. via POST /api/datasets/{namespace}/{repo}/lfs-files/duplicate
huggingface_post_api_datasets_by_namespace_by_repo_paths_info_by_revWRITEList paths info via POST /api/datasets/{namespace}/{repo}/paths-info/{rev}
huggingface_post_api_datasets_by_namespace_by_repo_preupload_by_revWRITECheck upload method -- Check if a file should be uploaded through the Large File mechanism or directly. via POST /api/datasets/{namespace}/{repo}/preupload/{rev}
huggingface_post_api_datasets_by_namespace_by_repo_resource_groupWRITEAdd resource group -- Add the repository to a resource group via POST /api/datasets/{namespace}/{repo}/resource-group
huggingface_post_api_datasets_by_namespace_by_repo_super_squash_by_revWRITESquash ref -- Squash all commits in the current ref into a single commit with the given message. Action is irreversible. via POST /api/datasets/{namespace}/{repo}/super-squash/{rev}
huggingface_post_api_datasets_by_namespace_by_repo_tag_by_revWRITECreate tag via POST /api/datasets/{namespace}/{repo}/tag/{rev}
huggingface_post_api_datasets_by_namespace_by_repo_user_access_request_batchWRITEBatch handle access requests -- 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. via POST /api/datasets/{namespace}/{repo}/user-access-request/batch
huggingface_post_api_datasets_by_namespace_by_repo_user_access_request_cancelWRITECancel access request -- Cancel the current user's access request to a gated repository via POST /api/datasets/{namespace}/{repo}/user-access-request/cancel
huggingface_post_api_datasets_by_namespace_by_repo_user_access_request_grantWRITEGrant access -- Grant access to a user for a gated repository via POST /api/datasets/{namespace}/{repo}/user-access-request/grant
huggingface_post_api_datasets_by_namespace_by_repo_user_access_request_handleWRITEHandle access request -- Handle a user's access request to a gated repository via POST /api/datasets/{namespace}/{repo}/user-access-request/handle
huggingface_post_api_inference_endpoints_by_namespace_auth_check_by_permsWRITECheck access -- Check if the user has access to the inference endpoint via POST /api/inference-endpoints/{namespace}/auth-check/{perms}
huggingface_post_api_inference_endpoints_by_namespace_by_endpoint_auth_check_by_permsWRITECheck access -- Check if the user has access to the inference endpoint via POST /api/inference-endpoints/{namespace}/{endpoint}/auth-check/{perms}
huggingface_post_api_jobs_by_namespaceWRITEStart a job via POST /api/jobs/{namespace}
huggingface_post_api_jobs_by_namespace_auth_check_by_permsWRITECheck access -- Check if the user has access to jobs in the namespace via POST /api/jobs/{namespace}/auth-check/{perms}
huggingface_post_api_jobs_by_namespace_by_jobid_auth_check_by_permsWRITECheck access -- Check if the user has access to jobs in the namespace via POST /api/jobs/{namespace}/{jobId}/auth-check/{perms}
huggingface_post_api_jobs_by_namespace_by_jobid_cancelWRITECancel a job via POST /api/jobs/{namespace}/{jobId}/cancel
huggingface_post_api_jobs_by_namespace_by_jobid_duplicateWRITEDuplicate a job -- Duplicate an existing job, re-using its spec via POST /api/jobs/{namespace}/{jobId}/duplicate
huggingface_post_api_kernels_by_namespace_by_repo_lfs_files_duplicateWRITEDuplicate xet files -- 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. via POST /api/kernels/{namespace}/{repo}/lfs-files/duplicate
huggingface_post_api_models_by_namespace_by_repo_branch_by_revWRITECreate branch via POST /api/models/{namespace}/{repo}/branch/{rev}
huggingface_post_api_models_by_namespace_by_repo_commit_by_revWRITECommit -- 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)" } ] } ``` via POST /api/models/{namespace}/{repo}/commit/{rev}
huggingface_post_api_models_by_namespace_by_repo_lfs_files_batchWRITEDelete Large files -- Delete Xet/LFS files in batch via POST /api/models/{namespace}/{repo}/lfs-files/batch
huggingface_post_api_models_by_namespace_by_repo_lfs_files_duplicateWRITEDuplicate xet files -- 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. via POST /api/models/{namespace}/{repo}/lfs-files/duplicate
huggingface_post_api_models_by_namespace_by_repo_paths_info_by_revWRITEList paths info via POST /api/models/{namespace}/{repo}/paths-info/{rev}
huggingface_post_api_models_by_namespace_by_repo_preupload_by_revWRITECheck upload method -- Check if a file should be uploaded through the Large File mechanism or directly. via POST /api/models/{namespace}/{repo}/preupload/{rev}
huggingface_post_api_models_by_namespace_by_repo_resource_groupWRITEAdd resource group -- Add the repository to a resource group via POST /api/models/{namespace}/{repo}/resource-group
huggingface_post_api_models_by_namespace_by_repo_super_squash_by_revWRITESquash ref -- Squash all commits in the current ref into a single commit with the given message. Action is irreversible. via POST /api/models/{namespace}/{repo}/super-squash/{rev}
huggingface_post_api_models_by_namespace_by_repo_tag_by_revWRITECreate tag via POST /api/models/{namespace}/{repo}/tag/{rev}
huggingface_post_api_models_by_namespace_by_repo_user_access_request_batchWRITEBatch handle access requests -- 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. via POST /api/models/{namespace}/{repo}/user-access-request/batch
huggingface_post_api_models_by_namespace_by_repo_user_access_request_cancelWRITECancel access request -- Cancel the current user's access request to a gated repository via POST /api/models/{namespace}/{repo}/user-access-request/cancel
huggingface_post_api_models_by_namespace_by_repo_user_access_request_grantWRITEGrant access -- Grant access to a user for a gated repository via POST /api/models/{namespace}/{repo}/user-access-request/grant
huggingface_post_api_models_by_namespace_by_repo_user_access_request_handleWRITEHandle access request -- Handle a user's access request to a gated repository via POST /api/models/{namespace}/{repo}/user-access-request/handle
huggingface_post_api_notifications_mark_as_readWRITEChange read status -- 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. via POST /api/notifications/mark-as-read
huggingface_post_api_organizations_by_name_resource_groupsWRITECreate resource group -- Create a new resource group in the organization. Requires the org to have a Team plan or higher. via POST /api/organizations/{name}/resource-groups
huggingface_post_api_organizations_by_name_resource_groups_by_resourcegroupid_settingsWRITEConfigure auto-join -- Configure the auto-join settings of a resource group. Requires the org to have a Team plan or higher. via POST /api/organizations/{name}/resource-groups/{resourceGroupId}/settings
huggingface_post_api_organizations_by_name_resource_groups_by_resourcegroupid_usersWRITEAdd users -- Add one or more organization members to a resource group. Requires the org to have a Team plan or higher. via POST /api/organizations/{name}/resource-groups/{resourceGroupId}/users
huggingface_post_api_organizations_by_name_scim_provisioning_v2_groupsWRITECreate a SCIM group -- Creates a new group in the organization. The group name must be unique within the organization. via POST /api/organizations/{name}/scim-provisioning/v2/Groups
huggingface_post_api_organizations_by_name_scim_provisioning_v2_usersWRITECreate SCIM invitation -- Creates an invitation for a user to join the organization. The user must have an existing Hugging Face account. via POST /api/organizations/{name}/scim-provisioning/v2/Users
huggingface_post_api_organizations_by_name_scim_v2_groupsWRITECreate a SCIM group -- Creates a new group in the organization. The group name must be unique within the organization. via POST /api/organizations/{name}/scim/v2/Groups
huggingface_post_api_organizations_by_name_scim_v2_usersWRITECreate a SCIM user -- Creates a new user in the organization. If the user already exists, only `active` field will be updated to provision the user. via POST /api/organizations/{name}/scim/v2/Users
huggingface_post_api_organizations_by_name_service_accountsWRITECreate service account -- Create a new service account for the organization. via POST /api/organizations/{name}/service-accounts
huggingface_post_api_organizations_by_name_service_accounts_by_serviceaccountid_tokensWRITECreate service-account token -- Create a new access token for a service account. Store the token securely - it cannot be retrieved later. via POST /api/organizations/{name}/service-accounts/{serviceAccountId}/tokens
huggingface_post_api_organizations_by_name_service_accounts_by_serviceaccountid_tokens_by_tokenid_rotateWRITERotate service-account token -- Invalidate an existing token and generate a new one with the same permissions. The old token will stop working immediately. via POST /api/organizations/{name}/service-accounts/{serviceAccountId}/tokens/{tokenId}/rotate
huggingface_post_api_organizations_by_name_settings_tokens_by_tokenid_revokeWRITERevoke member token -- An org admin can revoke a token's access to the org. The token itself isn't deleted, it still works outside the org. The token id is the one displayed in the org token settings page or through the tokens listing API endpoint. Enterprise only. via POST /api/organizations/{name}/settings/tokens/{tokenId}/revoke
huggingface_post_api_papers_by_paperid_commentWRITECreate a new comment via POST /api/papers/{paperId}/comment
huggingface_post_api_papers_by_paperid_comment_by_commentid_replyWRITECreate a new comment via POST /api/papers/{paperId}/comment/{commentId}/reply
huggingface_post_api_papers_by_paperid_linksWRITEUpdate paper links -- 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. via POST /api/papers/{paperId}/links
huggingface_post_api_papers_indexWRITEIndex a paper -- Index a paper from arXiv by its ID. If the paper is already indexed, only its authors can re-index it. via POST /api/papers/index
huggingface_post_api_posts_by_username_by_postslug_commentWRITECreate a new comment via POST /api/posts/{username}/{postSlug}/comment
huggingface_post_api_posts_by_username_by_postslug_comment_by_commentid_replyWRITECreate a new comment via POST /api/posts/{username}/{postSlug}/comment/{commentId}/reply
huggingface_post_api_quicksearchWRITEQuick search -- Quick search for models, datasets, spaces, orgs, users, papers, collections, and buckets via POST /api/quicksearch
huggingface_post_api_repos_createWRITECreate a new repository via POST /api/repos/create
huggingface_post_api_repos_moveWRITEMove repo -- Move or rename a repo via POST /api/repos/move
huggingface_post_api_scheduled_jobs_by_namespaceWRITECreate a scheduled job via POST /api/scheduled-jobs/{namespace}
huggingface_post_api_scheduled_jobs_by_namespace_by_jobid_resumeWRITEResume a scheduled job via POST /api/scheduled-jobs/{namespace}/{jobId}/resume
huggingface_post_api_scheduled_jobs_by_namespace_by_jobid_runWRITERun job -- 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. via POST /api/scheduled-jobs/{namespace}/{jobId}/run
huggingface_post_api_scheduled_jobs_by_namespace_by_jobid_scheduleWRITEUpdate job schedule via POST /api/scheduled-jobs/{namespace}/{jobId}/schedule
huggingface_post_api_scheduled_jobs_by_namespace_by_jobid_suspendWRITESuspend a scheduled job via POST /api/scheduled-jobs/{namespace}/{jobId}/suspend
huggingface_post_api_settings_papers_claimWRITEClaim paper authorship via POST /api/settings/papers/claim
huggingface_post_api_settings_webhooksWRITECreate webhook via POST /api/settings/webhooks
huggingface_post_api_settings_webhooks_by_webhookidWRITEUpdate webhook via POST /api/settings/webhooks/{webhookId}
huggingface_post_api_settings_webhooks_by_webhookid_by_actionWRITEEnable/disable webhook via POST /api/settings/webhooks/{webhookId}/{action}
huggingface_post_api_settings_webhooks_by_webhookid_replay_by_logidWRITEReplay webhook log via POST /api/settings/webhooks/{webhookId}/replay/{logId}
huggingface_post_api_spaces_by_namespace_by_repo_branch_by_revWRITECreate branch via POST /api/spaces/{namespace}/{repo}/branch/{rev}
huggingface_post_api_spaces_by_namespace_by_repo_commit_by_revWRITECommit -- 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)" } ] } ``` via POST /api/spaces/{namespace}/{repo}/commit/{rev}
huggingface_post_api_spaces_by_namespace_by_repo_lfs_files_batchWRITEDelete Large files -- Delete Xet/LFS files in batch via POST /api/spaces/{namespace}/{repo}/lfs-files/batch
huggingface_post_api_spaces_by_namespace_by_repo_lfs_files_duplicateWRITEDuplicate xet files -- 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. via POST /api/spaces/{namespace}/{repo}/lfs-files/duplicate
huggingface_post_api_spaces_by_namespace_by_repo_paths_info_by_revWRITEList paths info via POST /api/spaces/{namespace}/{repo}/paths-info/{rev}
huggingface_post_api_spaces_by_namespace_by_repo_preupload_by_revWRITECheck upload method -- Check if a file should be uploaded through the Large File mechanism or directly. via POST /api/spaces/{namespace}/{repo}/preupload/{rev}
huggingface_post_api_spaces_by_namespace_by_repo_resource_groupWRITEAdd resource group -- Add the repository to a resource group via POST /api/spaces/{namespace}/{repo}/resource-group
huggingface_post_api_spaces_by_namespace_by_repo_secretsWRITEUpsert secret -- Upsert Spaces's secret via POST /api/spaces/{namespace}/{repo}/secrets
huggingface_post_api_spaces_by_namespace_by_repo_super_squash_by_revWRITESquash ref -- Squash all commits in the current ref into a single commit with the given message. Action is irreversible. via POST /api/spaces/{namespace}/{repo}/super-squash/{rev}
huggingface_post_api_spaces_by_namespace_by_repo_tag_by_revWRITECreate tag via POST /api/spaces/{namespace}/{repo}/tag/{rev}
huggingface_post_api_spaces_by_namespace_by_repo_variablesWRITEUpsert variable -- Upsert Spaces's variable via POST /api/spaces/{namespace}/{repo}/variables
huggingface_post_by_namespace_by_repo_ask_accessWRITERequest access -- Request access to a gated repository. The fields requested by repository card metadata (https://huggingface.co/docs/hub/en/models-gated#customize-requested-information) via POST /{namespace}/{repo}/ask-access
huggingface_post_datasets_by_namespace_by_repo_ask_accessWRITERequest access -- Request access to a gated repository. The fields requested by repository card metadata (https://huggingface.co/docs/hub/en/models-gated#customize-requested-information) via POST /datasets/{namespace}/{repo}/ask-access
huggingface_post_oauth_deviceWRITEInitiate device authorization via POST /oauth/device
huggingface_post_oauth_registerWRITERegister a new OAuth app via POST /oauth/register
huggingface_post_oauth_userinfoWRITEGet user info -- 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. via POST /oauth/userinfo
huggingface_put_api_buckets_by_namespace_by_repo_settingsWRITEUpdate bucket settings via PUT /api/buckets/{namespace}/{repo}/settings
huggingface_put_api_datasets_by_namespace_by_repo_settingsWRITEUpdate repo settings -- Update the settings of a repo via PUT /api/datasets/{namespace}/{repo}/settings
huggingface_put_api_jobs_by_namespace_by_jobid_exposeWRITEUpdate job exposed ports -- Replace the exposed ports of a running job, applied live (no re-run). Ports listed in `portsPublic` are reachable without any authentication. via PUT /api/jobs/{namespace}/{jobId}/expose
huggingface_put_api_jobs_by_namespace_by_jobid_labelsWRITEUpdate job labels -- Replace user-provided labels on a job via PUT /api/jobs/{namespace}/{jobId}/labels
huggingface_put_api_models_by_namespace_by_repo_settingsWRITEUpdate repo settings -- Update the settings of a repo via PUT /api/models/{namespace}/{repo}/settings
huggingface_put_api_organizations_by_name_members_by_username_roleWRITEChange member role -- Change the role of a member in the organization. Need a paid plan. via PUT /api/organizations/{name}/members/{username}/role
huggingface_put_api_organizations_by_name_scim_provisioning_v2_groups_by_groupidWRITEUpdate a SCIM group -- Updates a group by its ID. The group name must be unique within the organization. via PUT /api/organizations/{name}/scim-provisioning/v2/Groups/{groupId}
huggingface_put_api_organizations_by_name_scim_provisioning_v2_users_by_useridWRITEUpdate a SCIM user -- Updates a provisioned user's invitation for non-managed organizations. User profile fields are not editable via SCIM for non-managed organizations. via PUT /api/organizations/{name}/scim-provisioning/v2/Users/{userId}
huggingface_put_api_organizations_by_name_scim_v2_groups_by_groupidWRITEUpdate a SCIM group -- Updates a group by its ID. The group name must be unique within the organization. via PUT /api/organizations/{name}/scim/v2/Groups/{groupId}
huggingface_put_api_organizations_by_name_scim_v2_users_by_useridWRITEUpdate a SCIM user -- 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. via PUT /api/organizations/{name}/scim/v2/Users/{userId}
huggingface_put_api_organizations_by_name_settings_sso_credentialsWRITERotate SSO credentials -- Update SSO credentials of the organization's SSO configuration. SSO stays enabled and does not need to be re-tested, so rotation causes no downtime. Requires a paid plan. via PUT /api/organizations/{name}/settings/sso/credentials
huggingface_put_api_scheduled_jobs_by_namespace_by_jobid_labelsWRITEUpdate scheduled job labels -- Replace user-provided labels on a scheduled job via PUT /api/scheduled-jobs/{namespace}/{jobId}/labels
huggingface_put_api_spaces_by_namespace_by_repo_settingsWRITEUpdate repo settings -- Update the settings of a repo via PUT /api/spaces/{namespace}/{repo}/settings
huggingface_put_api_spaces_by_namespace_by_repo_volumesWRITESet Space volumes via PUT /api/spaces/{namespace}/{repo}/volumes
Put Hugging Face behind one governed endpoint.
Same permissions, same audit trail, whatever else you connect next.