OpenAI

Transparent proxy to the OpenAI API. Your request is forwarded unmodified — the gateway only swaps your proxy key for the real OpenAI API key. Use exactly the same request body you would send to api.openai.com/v1/chat/completions.

Authentication

AuthorizationBearer

Your proxy key (starts with sk-proxy-…). Create one in the dashboard at app.enterpriserouter.com.

Request

This endpoint expects an object.
modelstringRequired
OpenAI model identifier
messageslist of objectsRequired
streambooleanOptionalDefaults to false
max_tokensintegerOptional
temperaturedoubleOptional

Response

OpenAI chat completion response (returned unmodified from OpenAI)