跳转到主要内容
POST
创建 Anthropic Message
请求头必须包含 x-api-key: API_KEYanthropic-version: 2023-06-01Content-Type: application/json
响应包含 idtyperolecontent[]modelstop_reasonstop_sequenceusage。流式模式返回 message、content block 与 ping 等事件。