Skip to main content

ConversationSendMessageRequestSchema

messagestringrequired

The user's message text to send to the model.

Example: What can you help me with today?
modelstringrequired

Model to use for this message. Use the model_name from List base models for base models, or the model_name from List owned models for a deployed fine-tuned model.

Example: Llama-3.3-70B-Instruct
conversation_idinteger

ID of an existing conversation thread to continue. If null or omitted, a new conversation thread is created and its ID is returned in the response.

Default: null
Example: 1001
settingsobject

Additional inference settings to override for this message (e.g. temperature, top_p).

streamboolean

When true, returns the response as a stream of server-sent events.

Default: false
Example: false
stream_optionsobject

Options that control streaming behaviour, such as whether to include usage statistics in the final stream chunk.

system_prompt_idinteger

ID of a saved system prompt template to apply to this message. Create and manage system prompts via Create system prompt.

Default: null
image_attachmentsstring[]nullable

Optional image attachment for the message. Use the file_reference from Request an image upload URL. A maximum of one image is supported per message.

Possible values: <= 1

Default: null
ConversationSendMessageRequestSchema
{
"model": "Llama-3.3-70B-Instruct",
"message": "What did I just say?",
"conversation_id": 1001,
"stream": false
}