Openai Chat Completions

OpenAI Chat Completions API — used by Cursor. Thin dispatcher: wraps non-stream requests in keepalive streaming to bypass Cloudflare's 100s edge timeout (524) for slow MiniMax compression calls. Pre-validates the API key so request.state.api_plan is populated BEFORE the keepalive wrapper returns (fixes admin status-matrix UNKNOWN bucket).

post/v1/chat/completions

Request

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.