/
HU
huggingface
/
Hub API Endpoints
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Checked 7h ago · Updated 7h ago
Details
agentic-provisioning
9
agents
1
auth
1
buckets
14
collections
18
container
1
datasets
36
discussions
20
docs
3
inference-endpoints
2
jobs
23
kernels
4
models
36
get
Get folder size
get
List Large files
post
Delete Large files
delete
Delete Large file
post
Duplicate xet files
get
List commits
get
List references
get
Get a compare rev
post
List paths info
post
Check upload method
get
Xet write token
get
Xet read token
post
Commit
post
Create tag
delete
Delete a tag
post
Create branch
delete
Delete a branch
get
Get resource group
post
Add resource group
post
Squash ref
put
Update repo settings
get
List folder content
get
Get notebook URL
get
Get security status
get
Generate JWT
get
Get model tags
get
Get trending
get
Resolve a file
get
Resolve a file
post
Request access
get
Export access report
post
Cancel access request
get
List access requests
post
Handle access request
post
Batch handle access requests
post
Grant access
notifications
5
oauth
4
orgs
16
papers
7
repo-search
2
repos
3
resource-groups
9
scim
28
service-accounts
8
spaces
41
sql-console
3
tokens
1
users
14
webhooks
7
models
List paths info
post
/api/models/{namespace}/{repo}/paths-info/{rev}
Path parameters
namespace
string
required
repo
string
required
rev
string
required
Request body
object
required
paths
union
required
expand
union
required
Expand the response with the last commit and security file status
Response
List of paths in the repository
object[]
required
type
'file'
|
'directory'
|
'unknown'
required
oid
string
required
size
number
required
lfs
object
xetHash
string
path
string
required
lastCommit
object
securityFileStatus
object