Sign in

Create repository

documented

Create a new repository on the Hub (model/dataset/space/bucket).

POST /api/repos/createRepositoriesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://huggingface.co/api/repos/create" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"type":"{{$type}}","name":"{{$name}}","organization":"{{$organization}}","private":{{$private}},"sdk":"{{$sdk}}"}'
Create repository · Hugging Face · OpenIntegrations