UniCraft Models

UniCraft AI Model Router - List models, providers, and smart routing strategies

List Smart Routing Strategies

AI-generated

Summary

Retrieve a list of all available smart routing strategies from the UniCraft AI Model Router API.

Inputs

None.

Output shape

a single JSON object containing the retrieved smart routing strategies data

The output JSON includes the 'operation' name ('listStrategies'), a 'strategies' object mapping strategy identifiers to their details, and a 'totalStrategies' count. No input parameters are required. Requires valid UniCraft API credentials (baseUrl and apiKey). Errors return a node operation error.

Examples

Example 1: User wants to fetch and utilize smart routing strategies in their workflow

Set resource to 'Default' and operation to 'List Smart Routing Strategies'. Execute the node to receive the list of strategies available for AI model routing.

Discussion