/
HU
huggingface
/
Hub API Endpoints
Search skmtc…
⌘K
Changes
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Updated on 2026-09-27
Details
Filter operations
agents
1
auth
1
blogs
3
buckets
15
collections
20
get
Get a collection
delete
Delete a collection
patch
Update a collection
get
Get a collection
delete
Delete a collection
patch
Update a collection
post
Add item
post
Add item
post
Batch update items
post
Batch update items
delete
Delete item
patch
Update item
delete
Delete item
patch
Update item
get
Get collections
post
Create a collection
get
Collection resource group
post
Collection resource group
get
Collection resource group
post
Collection resource group
containers
12
datasets
37
discussions
36
docs
3
inference-endpoints
2
inference-providers
7
jobs
23
kernels
6
models
37
notifications
5
oauth
4
orgs
15
papers
7
repo-search
3
repos
4
resource-groups
9
scim
28
service-accounts
8
spaces
48
sql-console
3
tokens
1
users
16
webhooks
7
collections
Get a collection
get
/api/collections/{namespace}/{slug}-{id}
Path parameters
namespace
string
required
slug
string
required
id
string
required
Response
The collection data
object
required
slug
string
required
title
string
required
description
string
lastUpdated
string
date-time
required
gating
union
required
owner
union
required
position
number
required
theme
'orange'
|
'blue'
|
'green'
|
'purple'
|
'pink'
|
'indigo'
required
private
boolean
required
upvotes
number
required
shareUrl
string
required
isUpvotedByUser
boolean
required
resourceGroup
object
items
union[]
required
Changes