v47

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2024-10-01163166522.3 KB
Proxy

Proxy any OpenAI request (fallback)

Any requests which do not match the above paths will be proxied directly to the OpenAI API.

post/v1/proxy/{path+}

Path parameters

path+string[] required

The path to proxy

Request body

{"stackTrail":"paths:/v1/proxy/{path+}:post:requestBody:content:application/json:schema","oasType":"schema","type":"unknown","nullable":true}

Response

Proxy response (supports both streaming and non-streaming formats)

{"stackTrail":"paths:/v1/proxy/{path+}:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown","nullable":true}