/
ON
oneloop-hq
/
Feather API
Search skmtc…
⌘K
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
v1
latest
OpenAPI 3.1.0
raw.githubusercontent.com
2026-06-30
491
704
2.1 MB
model-router
Invoke a model with routing
post
/v1/model-router/invoke
Request body
InvokeRequest
required
messages
MessageInput[]
required
router_config_id
string
uuid
nullable
config_overrides
object
nullable
session_id
string
uuid
nullable
smart_routing
boolean
Response
Successful Response
ModelResponse
required
content
string
required
model_identifier
string
required
provider
string
required
input_tokens
integer
required
output_tokens
integer
required
total_tokens
integer
required
input_cost_usd
number
required
output_cost_usd
number
required
total_cost_usd
number
required
latency_ms
integer
required
tool_calls
object[]
nullable
routing_metadata
SmartRoutingMetadata
parsed_output
object
nullable
execution_engine
'pydantic_text'
|
'pydantic_tools'
|
'pydantic_structured'
cache_read_input_tokens
integer
cache_creation_input_tokens
integer
cache_hit
boolean
route_decision_id
string
nullable