Whoami v2
documentedReturn information about the authenticated user (token-based).
GET /api/whoami-v2Usersno implementation yet0 runsNo 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/whoami-v2" \
-X GET \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json"