Built by Metorial, the integration platform for agentic AI.
Control a Space's lifecycle: pause, restart, or change hardware. Use this to manage running Spaces.
Run generic inference on any Hugging Face model. Supports a wide range of tasks: summarization, classification, NER, translation, embeddings, image classification, and more. Pass task-specific inputs and parameters.
Create a new discussion or pull request on a Hugging Face repository. Use this for opening conversations, requesting changes, or proposing contributions.
Search for datasets on Hugging Face Hub. Filter by keyword, author, and tags. Results include dataset metadata such as downloads and likes.
Create a new collection to curate related models, datasets, and Spaces.
Add or delete secrets on a Space. Secrets are encrypted environment variables available at runtime.
Get detailed information about a specific discussion or pull request, including all comments and events.
List discussions and pull requests on a Hugging Face repository. Returns summaries including title, status, and whether each item is a PR.
Get information about the authenticated user, including username, email, organizations, and account details.
Create a new model, dataset, or Space repository on Hugging Face Hub. Supports setting visibility, SDK type (for Spaces), and license.
Permanently delete a model, dataset, or Space repository from Hugging Face Hub. This action is irreversible.
Upload or update a text file in a Hugging Face repository. Creates a commit with the file content.
Remove an item from a collection.
Change a repository's visibility between public and private.
List files and directories in a Hugging Face repository at a given path and revision. Returns file metadata including type, size, and OID.
Retrieve a Hugging Face collection by its slug. Returns the collection's title, description, and all items (models, datasets, spaces) it contains.
Search for Spaces (ML application demos) on Hugging Face Hub. Filter by keyword, author, and tags. Results include Space metadata such as SDK type and likes.
Add or delete environment variables on a Space. Variables are public configuration values available at runtime.
Add a model, dataset, or space to an existing collection with an optional note.
Get runtime information for a Space, including hardware, stage, SDK, and storage details.
Read the text content of a file in a Hugging Face repository. Best suited for text files such as config files, model cards, and code.
Generate text using a model on the Hugging Face Inference API. Provide a prompt and receive generated text continuation.
Run a chat completion using a model on the Hugging Face Inference API. Follows the OpenAI-compatible chat completions format. Supports conversation history with system, user, and assistant messages.
Delete a file from a Hugging Face repository. Creates a commit that removes the specified file.
Open or close a discussion or pull request. Optionally merge a pull request instead of just closing it.
Post a comment on an existing discussion or pull request.
Get detailed information about a model, dataset, or Space repository on Hugging Face Hub. Returns metadata including tags, downloads, likes, pipeline task, and configuration.
Delete a collection. This does not delete the items within the collection, only the collection grouping itself.
Search for machine learning models on Hugging Face Hub. Filter by keyword, author, library framework, pipeline task, and tags. Results include model metadata such as downloads, likes, and pipeline task.