原生 Claude 格式
Claude Messages
- Anthropic Claude Messages API 格式的请求。
- 需要在请求头中包含
anthropic-version。
POST
Documentation Index
Fetch the complete documentation index at: https://docs.elkapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
所有接口均需要使用 Bearer Token 进行认证。在请求头中添加:
Body
示例:
claude-sonnet-4-6Response
示例:
message示例:
assistant示例:
claude-sonnet-4-6可选值:
end_turn、max_tokens、stop_sequence、tool_use