POST
This is the core chat protocol for Claude (Anthropic), supporting text, multimodal input, tool calling, and SSE streaming output.
On this path, the system aligns with Anthropic’s field and event stream formats, so you can reuse existing Claude SDKs or request structures directly.
https://api.poixe.com/v1/messagesAuthentication and request headers
Every request must carry an API key. We also recommend always sendinganthropic-version to keep behavior stable.
Core request parameters
The following are the most commonly used and most general fields (enough to cover regular chat, tool calling, and streaming).Whether to enable SSE streaming output. When
true, the response is text/event-stream.Optional: sampling temperature. Lower values are more stable; higher values are more divergent (if omitted, the model default is used).
Response structure and streaming events
For non-streaming requests, amessage object is returned. For streaming requests, a series of SSE events is returned (message_start → content block events → message_delta → message_stop), and ping events may be interspersed.
The reason generation stopped. Common values:
end_turn / max_tokens / stop_sequence / tool_use (and, in rare cases, pause_turn / refusal / model_context_window_exceeded, and so on).Official docs: Create a Message
View the complete parameters and examples for the Claude Messages API (including tools, multimodal input, and streaming events).