Hugging Face · Arazzo Workflow
Hugging Face Create Repository and Configure
Version 1.0.0
Identify the authenticated user, create a new repository, then set its visibility and gating.
Provider
Workflows
create-repo-and-configure
Create a Hub repository and apply visibility and gating settings.
Resolves the authenticated user, creates a new repository under that namespace, and updates the repository's visibility and gating settings.
1
whoami
whoami
Confirm the authenticated user and capture their name to use as the default owning namespace.
2
createRepo
createRepo
Create the new repository. A 200 returns the repository URL; a 409 means a repository with this name already exists.
3
applySettings
updateRepoSettings
Apply the visibility and access gating settings to the newly created repository using its owning namespace and name.