Proxy OpenAI Chat Completions request
POST/api/auth/sub2api/llm-proxy/v1/chat/completions
Forward only to the fixed Sub2API /v1/chat/completions path, supports JSON and SSE; does not accept the client to specify any upstream URL.
Request
Responses
- 200
- 401
- 403
- 413
- 502
The state of Sub2API, JSON, or SSE stream is forwarded as is; authentication and hop-by-hop response headers are removed.
workflow-code standard error response.
workflow-code standard error response.
workflow-code standard error response.
workflow-code standard error response.