Governance
List routing rules
Returns a list of all routing rules configured for intelligent request routing across providers.
get/api/governance/routing-rules
Request
- Base URLhttp://localhost:8080
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
scopestring
Filter routing rules by scope (global, team, customer, virtual_key)
scope_idstring
Filter routing rules by scope ID
Response
Successful response
Example response
{
"rules": [
{
"targets": [
{
"weight": 0.5
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.