Governance
Create routing rule
Creates a new CEL-based routing rule for intelligent request routing. Provider and model can be left empty to use the incoming request values.
post/api/governance/routing-rules
Request body
Example request
{
"targets": [
{
"weight": 0.5
}
]
}Response
Routing rule created successfully
Example response
{
"rule": {
"targets": [
{
"weight": 0.5
}
]
}
}