CompletionRequest
- messagesType: array object[] · Messagesrequired
The list of messages to process
- contentType: string · Contentrequired
The content of the message
- roleType: string · Roleenumrequired
The role of the message sender
values- system
- user
- assistant
- autoType: boolean · Auto Tool Selection nullable
_tool _selection When true, the system will automatically select relevant tools based on the user's message. Defaults to false.
- fileType: array string[] | null · File Uuids nullable
_uuids The list of file uuids to process
- modelType: string · Model nullable
The AI model to use for processing. Please use the unique name of the model, not the display name
- streamType: boolean · Stream
Whether to stream the response
- toolsType: array string[] | null · Tools To Use nullable
_to _use A list of tool names to enable for this request. Tools allow the model to perform actions like web search, code execution, and more. See the documentation for available tool names.