RouteRequest
routerstringrequired
The name of one of your Proposal Mode routers
Example:
prodbody objectrequired
The request as your app will send it to the provider, in OpenAI Chat Completions, OpenAI Responses or Anthropic Messages format. Its model is your own and is only logged.
property name*any
The request as your app will send it to the provider, in OpenAI Chat Completions, OpenAI Responses or Anthropic Messages format. Its model is your own and is only logged.
session_idstring
The conversation the request belongs to. Left out, it's read from headers when a known client sent one.
Example:
conv-8f2cheaders object
The end client's request headers, used to recognize the client (Claude Code, Codex and others) and its session
property name*string
request_idstring
Your own id for the request, returned as is
Example:
my-req-001RouteRequest
{
"router": "prod",
"body": {},
"session_id": "conv-8f2c",
"headers": {},
"request_id": "my-req-001"
}