List Models
AI-generatedSummary
Fetches the list of available AI models from the Fusion API.
Inputs
- credential_fusionApi (required) — Fusion API credential providing baseUrl and apiKey for authentication.
- ui_parameters — UI declares model, message, systemPrompt, and additionalFields, but none are consumed at runtime for this operation.
Output shape
JSON array of model objects as returned by the Fusion API /api/models endpoint.
The execute function assigns the HTTP response directly to the output item's json field.
Examples
Example 1: A workflow author adds the Fusion AI node, sets operation to List Models, and provides a valid fusionApi credential. The node performs a GET request and outputs the model list for use in subsequent nodes.
Operation: List Models; no message, model, or additionalFields need configuration for the API call to succeed.
Example 2: Running the operation without the fusionApi credential triggers an authentication error from the API.
Ensure the fusionApi credential is bound and valid.