Skip to content

docs(hub-api): Add organization overview and followers endpoints to API documentation - #2016

Merged
julien-c merged 3 commits into
huggingface:mainfrom
BastienGimbert:main
Oct 24, 2025
Merged

docs(hub-api): Add organization overview and followers endpoints to API documentation#2016
julien-c merged 3 commits into
huggingface:mainfrom
BastienGimbert:main

Conversation

@BastienGimbert

@BastienGimbert BastienGimbert commented Oct 24, 2025

Copy link
Copy Markdown
Contributor

Hello,

Add two organization endpoints to the API docs.
GET /api/organizations/{organization_name}/overview (equivalent to huggingface_hub.get_organization_overview()) returns the org overview,

and

GET /api/organizations/{organization_name}/followers returns the org followers list.

I did not include the new “list_organization_followers” method that I developed because it is not yet available. (huggingface/huggingface_hub#3467)

EDIT : added list_organization_followers

@julien-c julien-c left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not, but to be fair we plan on probably just removing this page in favor of just maintaining https://huggingface.co/spaces/huggingface/openapi (and adding the missing methods there)

Comment thread docs/hub/api.md Outdated
@BastienGimbert

Copy link
Copy Markdown
Contributor Author

why not, but to be fair we plan on probably just removing this page in favor of just maintaining https://huggingface.co/spaces/huggingface/openapi (and adding the missing methods there)

I couldn't find the repo to modify the OpenAPI specification. I think it's not public.

@julien-c

Copy link
Copy Markdown
Member

I couldn't find the repo to modify the OpenAPI specification. I think it's not public.

yes it's auto-generated from our codebase directly

@julien-c
julien-c merged commit 08c584c into huggingface:main Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants