Try Bifrost Enterprise free for 14 days. Explore now
curl --request GET \
--url http://localhost:8080/api/governance/routing-rules/{rule_id}{
"rule": {
"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"
}
}Returns a specific routing rule by ID.
curl --request GET \
--url http://localhost:8080/api/governance/routing-rules/{rule_id}{
"rule": {
"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"
}
}Was this page helpful?