Skip to main content
GET
/
api
/
governance
/
routing-rules
/
{rule_id}
Get routing rule
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"
  }
}

Path Parameters

rule_id
string
required

Routing rule ID

Response

Successful response

rule
object

CEL-based routing rule for intelligent request routing