Sign in

Create collection

documented

Create a new collection grouping models/datasets/spaces/papers.

POST /api/collectionsCollectionsno 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/collections" \
  -X POST \
  -H "Authorization: Bearer {{HUGGINGFACE_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"title": "{{$title}}", "namespace": "{{$namespace}}", "description": "{{$description}}", "item": {"type": "{{$item_type}}", "id": "{{$item_id}}"}, "private": {{$private}} }'