Skip to main content
POST
创建 Anthropic Message
请求头必须包含 x-api-key: API_KEY、anthropic-version: 2023-06-01 和 Content-Type: application/json。
响应包含 id、type、role、content[]、model、stop_reason、stop_sequence 与 usage。流式模式返回 message、content block 与 ping 等事件。