OutRival Nodes Sms Configuration API

The Nodes Sms Configuration API from OutRival — 1 operation(s) for nodes sms configuration.

OpenAPI Specification

outrival-nodes-sms-configuration-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: OutRival Ai Chat Sessions Nodes Sms Configuration API
  description: OutRival API documentation.
  version: '1.0'
  contact: {}
servers:
- url: https://api.outrival.com
tags:
- name: Nodes Sms Configuration
paths:
  /rest/v2/nodes/{nodeId}/sms:
    patch:
      operationId: SmsConfigController_create
      parameters:
      - name: nodeId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SmsConfigurationUpdateDto'
      responses:
        '200':
          description: Update sms configuration of the Node.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsConfiguration'
      tags:
      - Nodes Sms Configuration
      security:
      - api_key: []
      - bearer: []
    get:
      operationId: SmsConfigController_config
      parameters:
      - name: nodeId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: Get sms configuration of the Node.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SmsConfiguration'
      tags:
      - Nodes Sms Configuration
      security:
      - api_key: []
      - bearer: []
components:
  schemas:
    SmsConfigurationUpdateDto:
      type: object
      properties:
        initialMessage:
          type: string
        prompt:
          type: string
        resources:
          type: string
        provider:
          $ref: '#/components/schemas/SmsProvider'
        model:
          $ref: '#/components/schemas/SmsModel'
        temperature:
          type: number
        maxTokensOutput:
          type: number
        smsMode:
          type: boolean
        voiceCallMode:
          type: boolean
        keywords:
          type: string
        functions:
          type: array
          items:
            type: object
    SmsModel:
      type: string
      enum:
      - GPT_4_O
      - GPT_3_5_TURBO
      - GPT_4_TURBO
      - GPT_4_O_MINI
      - LLAMA_3_70B
      - LLAMA_3_8B
      - LLAMA_3_1_405B_REASONING
      - MIXTRAL
    SmsProvider:
      type: string
      enum:
      - OPENAI
      - GROQ
    SmsConfiguration:
      type: object
      properties:
        initialMessage:
          type: string
        prompt:
          type: string
        resources:
          type: string
        provider:
          $ref: '#/components/schemas/SmsProvider'
        model:
          $ref: '#/components/schemas/SmsModel'
        temperature:
          type: number
        maxTokensOutput:
          type: number
        smsMode:
          type: boolean
        phoneCallbackEnabled:
          type: boolean
        keywords:
          type: string
        isRagEnabled:
          type: boolean
        forceRag:
          type: boolean
        ragTriggerTopics:
          type: string
        preserveRagResult:
          type: boolean
        functions:
          type: array
          items:
            type: object
      required:
      - initialMessage
      - prompt
      - resources
      - provider
      - model
      - temperature
      - maxTokensOutput
      - smsMode
      - phoneCallbackEnabled
      - keywords
      - isRagEnabled
      - forceRag
      - ragTriggerTopics
      - preserveRagResult
      - functions
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: X-API-Key