/
EN
enterpilot
/
GoModel API
Search skmtc…
⌘K
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
v40
latest
OpenAPI 3.0.0
raw.githubusercontent.com
2026-08-01
108
178
385.8 KB
messages
Create a message (Anthropic Messages API)
post
/v1/messages
Request body
AnthropicapiMessagesRequest
required
max_tokens
integer
messages
AnthropicapiMessage[]
metadata
AnthropicapiMetadata
model
string
stop_sequences
string[]
stream
boolean
system
union
temperature
number
thinking
AnthropicapiThinking
tool_choice
AnthropicapiToolChoice
tools
AnthropicapiTool[]
top_k
integer
top_p
number
Response
JSON response or SSE stream when stream=true
AnthropicapiMessagesResponse
required
content
AnthropicapiResponseContentBlock[]
id
string
model
string
role
string
stop_reason
string
stop_sequence
string
type
string
usage
AnthropicapiUsage