CompletionRequest

  • messages
    Type: array object[] · Messages
    required

    The list of messages to process

    • content
      Type: string · Content
      required

      The content of the message

    • role
      Type: string · Roleenum
      required

      The role of the message sender

      values
      • system
      • user
      • assistant
  • auto_tool_selection
    Type: boolean · Auto Tool Selection nullable

    When true, the system will automatically select relevant tools based on the user's message. Defaults to false.

  • file_uuids
    Type: array string[] | null · File Uuids nullable

    The list of file uuids to process

  • model
    Type: string · Model nullable

    The AI model to use for processing. Please use the unique name of the model, not the display name

  • stream
    Type: boolean · Stream

    Whether to stream the response

  • tools_to_use
    Type: array string[] | null · Tools To Use nullable

    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.