Actions (40)
Collections · 8
- Add item to collectionPOST /api/collections/{namespace}/{slug}-{id}/item
Add an item (model/dataset/space/paper) to a collection.
documented - Create collectionPOST /api/collections
Create a new collection grouping models/datasets/spaces/papers.
documented - Delete collectionDELETE /api/collections/{namespace}/{slug}-{id}
Delete a collection (non-revertible).
documented - Delete collection itemDELETE /api/collections/{namespace}/{slug}-{id}/items/{item_id}
Remove an item from a collection.
documented - Get collectionGET /api/collections/{namespace}/{slug}-{id}
Return information about a specific collection.
documented - List collectionsGET /api/collections
List collections with optional filters.
documented - Update collection itemPATCH /api/collections/{namespace}/{slug}-{id}/items/{item_id}
Update an item in a collection (e.g., its note or position).
documented - Update collection metadataPATCH /api/collections/{namespace}/{slug}-{id}
Update collection metadata (title/description/private/position/theme).
documented
Inference Endpoints · 6
- Create endpointPOST /endpoints
Create/deploy a new Inference Endpoint.
documented - Delete endpointDELETE /endpoints/{endpointName}
Delete an Inference Endpoint.
documented - Get endpointGET /endpoints/{endpointName}
Get details about a specific Inference Endpoint.
documented - Invoke endpointPOST /endpoints/{endpointName}/invoke
Invoke an Inference Endpoint to run inference (payload format depends on the task).
documented - List endpointsGET /endpoints
List all Inference Endpoints in your namespace.
documented - Update endpointPATCH /endpoints/{endpointName}
Update an Inference Endpoint (e.g., min/max replicas, repo, hardware).
documented
Organizations · 6
- Create resource groupPOST /api/organizations/{name}/resource-groups
Create a new resource group in an organization.
documented - Delete resource groupDELETE /api/organizations/{name}/resource-groups/{resourceGroupId}
Delete a resource group.
documented - Get resource groupGET /api/organizations/{name}/resource-groups/{resourceGroupId}
Get details about a specific resource group.
documented - List resource groupsGET /api/organizations/{name}/resource-groups
Get all resource groups in an organization.
documented - List resource groupsGET /api/organizations/{name}/resource-groups
List resource groups in an organization.
documented - Update resource groupPATCH /api/organizations/{name}/resource-groups/{resourceGroupId}
Update metadata for a resource group.
documented
Buckets · 5
- Create bucketPOST /api/buckets
Create a new storage bucket.
documented - Delete bucketDELETE /api/buckets/{bucketId}
Delete a bucket.
documented - Get bucketGET /api/buckets/{bucketId}
Retrieve details about a specific bucket.
documented - List bucketsGET /api/buckets
List storage buckets (Xet-backed) on the Hub.
documented - Update bucketPATCH /api/buckets/{bucketId}
Update bucket metadata.
documented
Models · 4
- Get model infoGET /api/models/{repo_id}
Return all information for a specific model repository.
documented - Get model info (revision)GET /api/models/{repo_id}/revision/{revision}
Return information for a specific revision of a model repository.
documented - List model tags by typeGET /api/models-tags-by-type
Return the available model tags grouped by type.
documented - List modelsGET /api/models
List information about all models on the Hub with filtering/pagination parameters.
documented
Papers · 3
- Daily papersGET /api/daily_papers
Get the daily papers curated by the Hub (can filter by date with ?date=YYYY-MM-DD).
documented - Get paper pageGET /api/papers/{arxiv_id}
Get metadata for a given arXiv paper (authors, abstract, comments, etc.).
documented - Get paper reposGET /api/arxiv/{arxiv_id}/repos
List all models/datasets/Spaces that refer to a given arXiv paper.
documented