latestOpenAPI 3.1.02026-08-197104501.1 MB
8fbaab4fc7c5
OpenAI Pass-through
pass-through
Openai Proxy Route
Pass-through endpoint for OpenAI API calls.
Available on both routes:
- /openai/{endpoint:path} - Standard OpenAI passthrough route
- /openai_passthrough/{endpoint:path} - Dedicated passthrough route (recommended for Responses API)
Use /openai_passthrough/* when you need guaranteed passthrough to OpenAI without conflicts with LiteLLM's native implementations (e.g., for the Responses API at /v1/responses).
Examples: Standard route: - /openai/v1/chat/completions - /openai/v1/assistants - /openai/v1/threads
Dedicated passthrough (for Responses API):
- /openai_passthrough/v1/responses
- /openai_passthrough/v1/responses/{response_id}
- /openai_passthrough/v1/responses/{response_id}/input_items
put/openai/{endpoint}
Path parameters
endpointstring required
Response
Successful Response
{"stackTrail":"paths:/openai/{endpoint}:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}