Basic Information

appmixer.ai.huggingface.MakeApiCall

Make API Call

1.0.0

Public

Perform an arbitrary authorized API call to Hugging Face. Choose the Hub API or the Inference Providers router, then provide a path (or full URL), method, headers, query parameters and body. The access token is added automatically.

Input Ports

in

FieldTypeDescription
API Host select Which Hugging Face host a relative path is resolved against. Ignored when a full URL is given.
API Endpoint Path text A path relative to the selected API, for example /api/models or /v1/chat/completions. A full URL is accepted only when it points at https://huggingface.co or https://router.huggingface.co; any other host is rejected so your token is never sent elsewhere.
HTTP Method select The HTTP method for the API call. Hub read endpoints are GET, inference endpoints are POST.
Query Parameters key-value Optional query parameters.
Request Body textarea Optional JSON request body.
Request Headers key-value Optional additional headers. The Authorization header is set automatically.

Output Ports

out

FieldTypeDescription
Status Code integer -
Response Headers object -
Response Body object -

Full Metadata