Router
A router, as the API returns it. Provider keys are never returned.
The router's unique identifier. The API addresses routers by name.
gwcfg-4mvkcxd2g8znkdt8emswb8Unique within your account (or organization). Proposal Mode's router field and the gateway's model field name the router by it.
Possible values: <= 100 characters
prodHow your app calls the router, fixed when it's created. proposal for POST /v1/route, gateway for the gateway.
Possible values: [proposal, gateway]
proposalThe router model that scores each request
emissary-model-router-shared-v3The name of the model the router falls back to when no other model is confident enough; the anchor of every decision. One of the enabled target_models.
claude-haiku-4.5Minimum score a model needs before it can be picked instead of the default. Higher is more conservative.
Possible values: >= 0 and <= 1
0.65Zero data retention. When false, request and response payloads are kept for session replay on the dashboard.
truetarget_models object[]
The models the router can pick
The model's catalog name, which is also the router model's label for it. Proposal Mode returns it as a candidate's model.
deepseek-v4-flashWhere the gateway serves the model. Null on a Proposal Mode router.
Possible values: [anthropic, openrouter, openai, litellm, baseten, null]
openrouterThe id the model is called by. On a gateway router, what Emissary sends the provider; on a Proposal Mode router, what POST /v1/route returns as a candidate's model_id, for your app to send.
deepseek/deepseek-v4-flashA disabled model stays on the router but is never picked
trueUSD per million input tokens
0.14USD per million output tokens
0.28USD per million cache-read tokens. Null prices them as input tokens.
0.028USD per million cache-write tokens. Null prices them as input tokens.
0.14The model's context window, in tokens
1000000Whether the model accepts images
falseLets the router pick the model's reasoning effort. Only on models the router model has efforts for (efforts in GET /v1/router-models); it's stored off on any other.
falsePer-model overrides, such as always_on_reasoning set to true for a model that can't turn reasoning off
nullproviders object[]
The router's provider credentials, without their keys. Empty on a Proposal Mode router.
openrouterThe endpoint used instead of the provider's default
nulltrueUnix timestamp (seconds) of when the router was created
1795551249Unix timestamp (seconds) of the router's last change
1795551257{
"id": "gwcfg-4mvkcxd2g8znkdt8emswb8",
"name": "prod",
"mode": "proposal",
"router_model": "emissary-model-router-shared-v3",
"default": "claude-haiku-4.5",
"confidence": 0.65,
"is_zdr": true,
"target_models": [
{
"name": "deepseek-v4-flash",
"provider": "openrouter",
"model_id": "deepseek/deepseek-v4-flash",
"enabled": true,
"input_per_mtok": 0.14,
"output_per_mtok": 0.28,
"cache_read_per_mtok": 0.028,
"cache_write_per_mtok": 0.14,
"context_window": 1000000,
"supports_vision": false,
"effort_routing_enabled": false,
"extra_fields": null
}
],
"providers": [
{
"name": "openrouter",
"api_base_url": null,
"has_api_key": true
}
],
"created_at": 1795551249,
"updated_at": 1795551257
}