/
HU
huggingface
/
Hub API Endpoints
Search skmtc…
⌘K
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
v13
OpenAPI 3.1.0
2026-08-03
312
2
950.3 KB
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