Skip to content

Example: Multi-Provider Routing ​

Route across multiple providers with fallback rules.

Example request ​

bash
curl https://app.veriprompt.tech/api/gateway/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input": "Draft a product description.",
    "routingPolicy": {
      "strategy": "balanced",
      "fallbackProviders": ["openai", "anthropic", "google"]
    }
  }'