Request body
Any OpenAI field not listed above is passed through to the provider
untouched.
Response body (non-streaming)
cost object is an OpenTracy extra; the rest matches OpenAI exactly.
Response headers
Curl
TypeScript / Node (openai SDK)
Go (net/http)
Semantic auto-routing
Pass"model": "auto" and the engine picks per-prompt based on its learned
cluster/error profiles:
/v1/route if you want the decision
without generating a completion.
Streaming
Set"stream": true. Responses come back as Server-Sent Events:
Tool calls
Pass OpenAI-formattools. The engine maps them to provider-native
shapes (Anthropic tools, Gemini function declarations, etc.):
tool_calls in the assistant message.

