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

Response

Successful Response

{"stackTrail":"paths:/v1/messages:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

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