Merge · Schema
RoutingMetadata
Metadata about how the request was routed.
IntegrationPlatformUnified-APIAgent HandlerLLM Gateway
Properties
| Name | Type | Description |
|---|---|---|
| policy_id | stringnull | |
| policy_name | stringnull | |
| strategy | stringnull | |
| intelligent_routing_used | boolean | |
| complexity_score | numbernull | ML-computed prompt complexity score (0-1) |
| adjusted_score | numbernull | Strategy-adjusted complexity score |
| selected_tier | integernull | |
| total_tiers | integernull | |
| routing_reason | stringnull | Human-readable explanation of the routing decision |
| model_requested | stringnull | |
| model_used | stringnull | The actual model selected by routing |
| cost_usd | numbernull | Estimated cost in USD computed from token usage and pricing data |
| latency | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/RoutingMetadata",
"title": "RoutingMetadata",
"type": "object",
"properties": {
"policy_id": {
"type": [
"string",
"null"
]
},
"policy_name": {
"type": [
"string",
"null"
]
},
"strategy": {
"type": [
"string",
"null"
]
},
"intelligent_routing_used": {
"type": "boolean",
"default": false
},
"complexity_score": {
"type": [
"number",
"null"
],
"format": "double",
"description": "ML-computed prompt complexity score (0-1)"
},
"adjusted_score": {
"type": [
"number",
"null"
],
"format": "double",
"description": "Strategy-adjusted complexity score"
},
"selected_tier": {
"type": [
"integer",
"null"
]
},
"total_tiers": {
"type": [
"integer",
"null"
]
},
"routing_reason": {
"type": [
"string",
"null"
],
"description": "Human-readable explanation of the routing decision"
},
"model_requested": {
"type": [
"string",
"null"
]
},
"model_used": {
"type": [
"string",
"null"
],
"description": "The actual model selected by routing"
},
"cost_usd": {
"type": [
"number",
"null"
],
"format": "double",
"description": "Estimated cost in USD computed from token usage and pricing data"
},
"latency": {
"oneOf": [
{
"$ref": "#/components/schemas/RoutingLatency"
},
{
"type": "null"
}
]
}
},
"description": "Metadata about how the request was routed."
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/merge-routingmetadata"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.