/v1/routing/{policy_id}Get a routing policy
Read one routing policy.
Authentication: Bearer API key in the Authorization header
Path parameters
policy_idstringrequiredThe routing policy id.
Responses
200The routing policy.
Response
idstringrequiredaliasstringrequiredThe model name callers send to use the policy.
descriptionstring | nullA note for people.
rulesarray<object>requiredTried in order. The first rule that matches picks the model.
rules
tagstringrequiredA tag id from
GET /v1/tags.thresholdnumberThe rule matches when the tag's probability for any message in the request is at or above this value.
modelstringrequiredThe model slug that serves the request when the rule matches.
default_modelstringrequiredThe model slug that serves a request when the whole request was read and no rule matched.
fallback_modelstring | nullrequiredThe model slug that serves a request when the check does not finish in time, or the request carries content it cannot read.
nullrefuses the request instead:503 gateway_unavailablewhen the check did not finish,400 content_filterfor content it cannot read.max_wait_msintegerrequiredThe longest a request waits for the check, in milliseconds.
created_atstringupdated_atstring
401Missing, unknown or revoked API key.
403The key is not a provisioning key, or the resource is read-only (
tag_read_only,guardrail_read_only).Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one.
404The resource does not exist or belongs to another organization. An organization without access gets this answer on every route.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one.
Request
curl 'https://api.experientiallabs.ai/v1/routing/00000000-0000-4000-8000-000000000012' \
-H "Authorization: Bearer <YOUR_API_KEY>"Response
{
"id": "00000000-0000-4000-8000-000000000012",
"alias": "acme-auto",
"description": "Keep confidential requests on our own model",
"rules": [
{
"tag": "internalConfidential",
"threshold": 0.5,
"model": "my-local-model"
},
{
"tag": "personalData",
"threshold": 0.7,
"model": "my-local-model"
}
],
"default_model": "gpt-6-luna",
"fallback_model": "my-local-model",
"max_wait_ms": 2000,
"created_at": "2026-11-20T00:00:00Z",
"updated_at": "2026-11-20T00:00:00Z"
}https://api.experientiallabs.ai/v1/routing/00000000-0000-4000-8000-000000000012