Try Bifrost Enterprise free for 14 days. Explore now
cURL
curl --request GET \ --url http://localhost:8080/api/governance/routing-rules
{ "rules": [ { "scope": "global", "id": "<string>", "name": "<string>", "description": "<string>", "enabled": true, "cel_expression": "<string>", "provider": "<string>", "model": "<string>", "fallbacks": [ "<string>" ], "scope_id": "<string>", "priority": 123, "query": {}, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "count": 123 }
Returns a list of all routing rules configured for intelligent request routing across providers.
Filter routing rules by scope (global, team, customer, virtual_key)
Filter routing rules by scope ID
Successful response
Response containing list of routing rules
CEL-based routing rule for intelligent request routing
Show child attributes
Number of routing rules returned
Was this page helpful?