Create Message
Creates the next message in an Anthropic conversation.
POST
Query
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.
Body
Arguments
stringrequired
The model that will complete your prompt.
numberrequired
The maximum number of tokens to generate before stopping.
array of objectrequired
Input conversation messages.
Uncommon arguments
number
Amount of randomness injected into responses.
number
Nucleus sampling parameter.
number
Only sample from the top K options.
boolean
Whether to stream response chunks.
array of string
Custom sequences that stop generation.