Hugging Face integration (AI, Developer Tools). Imported from open-connector.
https://huggingface.co/api/whoami-v2
/api/models
| Param | Type | Required | Description |
|---|---|---|---|
| search | string | optional | A keyword used to search model names and owners. |
| author | string | optional | Filter models by author or organization. |
| task | string | optional | Filter models by pipeline task. |
| limit | integer | optional | The maximum number of models to return. |
/api/models/{modelId}
| Param | Type | Required | Description |
|---|---|---|---|
| modelId | string | required | The full model identifier, such as owner/model. |
/api/datasets
| Param | Type | Required | Description |
|---|---|---|---|
| search | string | optional | A keyword used to search dataset names and owners. |
| author | string | optional | Filter datasets by author or organization. |
| filter | string | optional | Filter datasets by a Hub tag expression. |
| sort | string | optional | The property used to sort results. |
| direction | string | optional | The direction in which to sort results. |
| limit | integer | optional | The maximum number of datasets to return. |
/api/spaces
| Param | Type | Required | Description |
|---|---|---|---|
| search | string | optional | A keyword used to search Space names and owners. |
| author | string | optional | Filter Spaces by author or organization. |
| filter | string | optional | Filter Spaces by a Hub tag expression. |
| sort | string | optional | The property used to sort results. |
| direction | string | optional | The sort direction used by the Space listing API. |
| limit | integer | optional | The maximum number of Spaces to return. |
/api/spaces/{repoId}
| Param | Type | Required | Description |
|---|---|---|---|
| repoId | string | required | The full Space identifier, such as owner/space. |
| revision | string | optional | The optional git revision to inspect. |
/{repoId}/tree/{revision}
| Param | Type | Required | Description |
|---|---|---|---|
| repoType | string | required | The Hugging Face repository type. |
| repoId | string | required | The full repository identifier, such as owner/repo. |
| path | string | optional | The optional repository-relative path to list. |
| revision | string | required | The optional git revision to inspect. |
| recursive | boolean | optional | Whether to recursively return all nested entries. |
| expand | boolean | optional | Whether to request expanded commit and security metadata. |
| limit | integer | optional | The maximum number of items to return. |
| cursor | string | optional | The pagination cursor from a previous response. |
/api/trending
| Param | Type | Required | Description |
|---|---|---|---|
| type | string | optional | The repository type filter. |
| limit | integer | optional | The maximum number of trending items to return. |
/v2/endpoints
| Param | Type | Required | Description |
|---|---|---|---|
| namespace | string | required | The user or organization namespace. |
| search | string | optional | Filter endpoints by a name substring. |
| tags | string | optional | Filter endpoints by a comma-separated tag list. |
| limit | integer | optional | The maximum number of endpoints to return. |
| cursor | string | optional | The pagination cursor from a previous response. |
/v1/chat/completions
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | required | A non-empty string. |
| messages | array | required | The ordered conversation messages. |
| max_tokens | integer | optional | The maximum number of output tokens to generate. |
| temperature | number | optional | The sampling temperature. |
| top_p | number | optional | The nucleus sampling threshold. |
| stop | array | optional | Up to 4 stop sequences. |
| seed | integer | optional | A random seed for deterministic generation. |
| stream | boolean | optional | Whether to request a streaming response. This connector only accepts false or a… |
| tools | array | optional | The function tools available to the model. |
/hf-inference/models/{model}
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | required | The embedding model identifier. |
| inputs | array | required | The list of texts to embed. |