Anthropic Messages
Anthropic Messages API — used by Claude Code, Cline, Roo Code. Thin dispatcher: wraps non-stream requests in keepalive streaming to bypass Cloudflare's 100s edge timeout (524) for slow MiniMax compression calls. Stream requests go through unwrapped (they already emit bytes continuously). 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/messages
Request
- Base URLhttps://api.nkq.vn (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.