Sarj AI Developer API Settings API

The settings API from Sarj AI Developer API — 7 operation(s) for settings.

Operations 11

GET /v1/settings/voices Get Voices #
POST /v1/settings/voices Create Voice #
POST /v1/settings/voices/list List Voices #
GET /v1/settings/voices/{voice_id} Get Voice #
PUT /v1/settings/voices/{voice_id} Update Voice #
POST /v1/settings/voices/{voice_id}/preview Preview Voice #
GET /v1/settings/global-prompt/config Get Global Prompt Config #
PUT /v1/settings/global-prompt/config Save Global Prompt Config #
GET /v1/settings/global Get Global Settings #
PUT /v1/settings/global Update Global Settings #
GET /v1/settings/scenario-generation/models Get Scenario Generation Models #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sarj-ai-developer-api-settings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sarj-ai-developer-api-settings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sarj Ai Developer Settings API
  version: 1.0.0
  description: 'Operations tagged settings across 2 of this provider''s published API definitions: sarj-ai-developer-api-settings-api-openapi.yml, sarj-ai-developer-api-voice-platform-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://platform-api.sarj.ai/api/v1
  description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: settings
paths:
  /v1/settings/voices:
    get:
      tags:
      - settings
      summary: Get Voices
      operationId: settingsGetVoices
      parameters:
      - name: language
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/Language'
          description: Language code (en or ar)
        description: Language code (en or ar)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TTSVoice'
                title: Response Settingsgetvoices
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - settings
      summary: Create Voice
      operationId: settingsCreateVoice
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertTTSVoice'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TTSVoice'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: https://platform-api.sarj.ai/api/v1
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /v1/settings/voices/list:
    post:
      tags:
      - settings
      summary: List Voices
      operationId: settingsListVoices
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListVoicesRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListVoicesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: https://platform-api.sarj.ai/api/v1
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /v1/settings/voices/{voice_id}:
    get:
      tags:
      - settings
      summary: Get Voice
      operationId: settingsGetVoice
      parameters:
      - name: voice_id
        in: path
        required: true
        schema:
          type: string
          title: Voice Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TTSVoice'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - settings
      summary: Update Voice
      operationId: settingsUpdateVoice
      parameters:
      - name: voice_id
        in: path
        required: true
        schema:
          type: string
          title: Voice Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTTSVoice'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TTSVoice'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: https://platform-api.sarj.ai/api/v1
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /v1/settings/voices/{voice_id}/preview:
    post:
      tags:
      - settings
      summary: Preview Voice
      operationId: settingsPreviewVoice
      parameters:
      - name: voice_id
        in: path
        required: true
        schema:
          type: string
          title: Voice Id
      responses:
        '200':
          description: TTS audio preview
          content:
            audio/mpeg:
              schema:
                type: string
                format: binary
            audio/wav:
              schema:
                type: string
                format: binary
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: https://platform-api.sarj.ai/api/v1
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /v1/settings/global-prompt/config:
    get:
      tags:
      - settings
      summary: Get Global Prompt Config
      operationId: settingsGetGlobalPromptConfig
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalPromptConfig'
    put:
      tags:
      - settings
      summary: Save Global Prompt Config
      operationId: settingsSaveGlobalPromptConfig
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GlobalPromptConfig'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalPromptConfig'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: https://platform-api.sarj.ai/api/v1
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /v1/settings/global:
    get:
      tags:
      - settings
      summary: Get Global Settings
      operationId: settingsGetGlobalSettings
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalSettingsData'
    put:
      tags:
      - settings
      summary: Update Global Settings
      operationId: settingsUpdateGlobalSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateGlobalSettingsRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalSettingsData'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    servers:
    - url: https://platform-api.sarj.ai/api/v1
      description: Base URL declared by the provider in apis.yml (roadmap#122).
  /v1/settings/scenario-generation/models:
    get:
      tags:
      - settings
      summary: Get Scenario Generation Models
      operationId: settingsGetScenarioGenerationModels
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScenarioGenerationModelsResponse'
    servers:
    - url: https://platform-api.sarj.ai/api/v1
      description: Base URL declared by the provider in apis.yml (roadmap#122).
components:
  schemas:
    GoogleSTTSettings:
      properties:
        provider:
          type: string
          const: google
          title: Provider
        model:
          type: string
          enum:
          - long
          - short
          - telephony
          - chirp_2
          - chirp_3
          title: Model
        region:
          type: string
          enum:
          - us
          - eu
          title: Region
      type: object
      required:
      - provider
      - model
      - region
      title: GoogleSTTSettings
    LLMProvider:
      type: string
      enum:
      - openai
      - gemini
      - groq
      - azure_openai
      - cerebras
      title: LLMProvider
    SarjF5TTSSettings:
      properties:
        provider:
          type: string
          const: sarj_f5
          title: Provider
        voice:
          $ref: '#/components/schemas/SarjF5TTSVoice'
          default: Male
      type: object
      required:
      - provider
      title: SarjF5TTSSettings
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ListVoicesRequest:
      properties:
        cursor:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Cursor
        limit:
          type: integer
          maximum: 100.0
          minimum: 1.0
          title: Limit
          default: 10
        is_active:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Active
        provider:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider
        language:
          anyOf:
          - $ref: '#/components/schemas/Language'
          - type: 'null'
        gender:
          anyOf:
          - type: string
          - type: 'null'
          title: Gender
      type: object
      title: ListVoicesRequest
    ScenarioGenerationConfig:
      properties:
        model:
          $ref: '#/components/schemas/ScenarioGenerationModel'
          default: gemini-2.5-pro
        temperature:
          type: number
          maximum: 2.0
          minimum: 0.0
          title: Temperature
          default: 0.7
      type: object
      title: ScenarioGenerationConfig
    OpenAITTSModels:
      type: string
      enum:
      - gpt-4o-mini-tts
      - tts-1
      - tts-1-hd
      title: OpenAITTSModels
    OpenAISTTSettings:
      properties:
        provider:
          type: string
          const: openai
          title: Provider
        model:
          type: string
          enum:
          - gpt-4o-transcribe
          - gpt-4o-mini-transcribe
          title: Model
        region:
          type: string
          const: default
          title: Region
          default: default
      type: object
      required:
      - provider
      - model
      title: OpenAISTTSettings
    STTProviderScope:
      properties:
        type:
          type: string
          const: provider_specific
          title: Type
          default: provider_specific
        provider:
          type: string
          const: stt
          title: Provider
          default: stt
        model:
          $ref: '#/components/schemas/STTProvider'
      type: object
      required:
      - model
      title: STTProviderScope
    BackChannelMixConfig:
      properties:
        type:
          type: string
          const: mix
          title: Type
          default: mix
        value:
          type: number
          maximum: 1.0
          exclusiveMinimum: 0.0
          title: Value
          default: 0.6
        word_probability:
          type: number
          maximum: 1.0
          minimum: 0.0
          title: Word Probability
          default: 0.7
        whitelist:
          items:
            type: string
          type: array
          title: Whitelist
        sounds:
          items:
            $ref: '#/components/schemas/BackchannelAudioConfig'
          type: array
          minItems: 1
          title: Sounds
      type: object
      required:
      - sounds
      title: BackChannelMixConfig
    STTFallbackConfig:
      properties:
        type:
          type: string
          const: enable
          title: Type
          default: enable
        models:
          items:
            anyOf:
            - $ref: '#/components/schemas/GoogleSTTSettings'
            - $ref: '#/components/schemas/AzureSTTSettings'
            - $ref: '#/components/schemas/AWSSTTSettings'
            - $ref: '#/components/schemas/GroqSTTSettings'
            - $ref: '#/components/schemas/OpenAISTTSettings'
            - $ref: '#/components/schemas/ElevenLabsSTTSettings'
            - $ref: '#/components/schemas/SpeechmaticsSTTSettings'
            - $ref: '#/components/schemas/DeepgramSTTSettings'
          type: array
          maxItems: 2
          title: Models
      type: object
      title: STTFallbackConfig
    LiveKitTurnDetection:
      properties:
        type:
          type: string
          const: livekit_v1_mini
          title: Type
          default: livekit_v1_mini
        unlikely_threshold:
          anyOf:
          - type: number
            maximum: 1.0
            minimum: 0.0
          - type: 'null'
          title: Unlikely Threshold
        min_endpointing_delay:
          type: string
          format: duration
          title: Min Endpointing Delay
          default: PT0.3S
        max_endpointing_delay:
          type: string
          format: duration
          title: Max Endpointing Delay
          default: PT2.5S
      type: object
      title: LiveKitTurnDetection
    AzureOpenAIModel:
      type: string
      enum:
      - gpt-4.1
      title: AzureOpenAIModel
    HamsaTTSSettings:
      properties:
        provider:
          type: string
          const: hamsa
          title: Provider
        speaker:
          $ref: '#/components/schemas/HamsaTTSSpeaker'
          default: Hiba
        dialect:
          $ref: '#/components/schemas/HamsaTTSDialect'
          default: ksa
      type: object
      required:
      - provider
      title: HamsaTTSSettings
    ElevenLabsSTTSettings:
      properties:
        provider:
          type: string
          const: elevenlabs
          title: Provider
        model:
          $ref: '#/components/schemas/ElevenLabsSTTModel'
          default: scribe_v1
        region:
          $ref: '#/components/schemas/ElevenLabsRegion'
          default: eu
      type: object
      required:
      - provider
      title: ElevenLabsSTTSettings
    UpdateGlobalSettingsRequest:
      properties:
        data:
          additionalProperties:
            $ref: '#/components/schemas/GlobalSettings'
          propertyNames:
            $ref: '#/components/schemas/Language'
          type: object
          title: Data
        scenario_generation:
          $ref: '#/components/schemas/ScenarioGenerationConfig'
        max_call_duration_seconds:
          anyOf:
          - type: integer
            exclusiveMinimum: 0.0
          - type: 'null'
          title: Max Call Duration Seconds
      type: object
      required:
      - data
      - scenario_generation
      title: UpdateGlobalSettingsRequest
    DisableTimeoutSettings:
      properties:
        type:
          type: string
          const: disable
          title: Type
          default: disable
      type: object
      title: DisableTimeoutSettings
    ElevenLabsSTTModel:
      type: string
      enum:
      - scribe_v1
      - scribe_v2
      - scribe_v2_realtime
      title: ElevenLabsSTTModel
    SarjGroqSTTSettings:
      properties:
        provider:
          type: string
          const: sarj_groq
          title: Provider
      type: object
      required:
      - provider
      title: SarjGroqSTTSettings
    ScenarioGenerationModel:
      type: string
      enum:
      - gemini-2.5-pro
      - gemini-2.5-flash
      - gemini-2.5-flash-lite
      - gemini-3.1-pro-preview
      - gemini-3.6-flash
      - gemini-3.5-flash
      - gemini-3.5-flash-lite
      title: ScenarioGenerationModel
    CartesiaTTSSettings:
      properties:
        provider:
          type: string
          const: cartesia
          title: Provider
        model:
          $ref: '#/components/schemas/CartesiaModels'
          default: sonic-3
        voice:
          type: string
          title: Voice
          default: f257d7af-eb60-4ef0-8815-b78701006c2c
        speed:
          type: number
          maximum: 1.5
          minimum: 0.6
          title: Speed
          description: Speech speed (0.6-1.5)
          default: 1.0
        emotion:
          anyOf:
          - type: string
          - type: 'null'
          title: Emotion
      type: object
      required:
      - provider
      title: CartesiaTTSSettings
    DisableSTTFallback:
      properties:
        type:
          type: string
          const: disable
          title: Type
          default: disable
      type: object
      title: DisableSTTFallback
    HamsaTTSSpeaker:
      type: string
      enum:
      - Hiba
      - Khadija
      - Jasem
      - Fahd
      - Salma
      - Noor
      - Lana
      - Fatma
      - Mariam
      - Nada
      - Samir
      - Dalal
      - Mais
      - Alia
      - Faiza
      - Dima
      - Lyali
      - Carla
      - Hind
      - Safa
      - Somaya
      - Ali
      - Ahmed
      - Mazen
      - Majd
      - Amjad
      - Layan
      - Talin
      - Rema
      - Rami
      - Hamdan
      - Maher
      - Majid
      - Mansour
      - Hasan
      - Sayed
      title: HamsaTTSSpeaker
    HamsaSTTSettings:
      properties:
        provider:
          type: string
          const: hamsa
          title: Provider
        language:
          $ref: '#/components/schemas/Language'
          default: ar
      type: object
      required:
      - provider
      title: HamsaSTTSettings
    DeepgramSTTModel:
      type: string
      enum:
      - nova-3
      - nova-2
      - flux
      title: DeepgramSTTModel
    DeepgramSTTSettings:
      properties:
        provider:
          type: string
          const: deepgram
          title: Provider
        model:
          $ref: '#/components/schemas/DeepgramSTTModel'
          default: nova-3
        endpointing_ms:
          anyOf:
          - type: integer
          - type: 'null'
          title: Endpointing Ms
        eot_timeout_ms:
          anyOf:
          - type: integer
          - type: 'null'
          title: Eot Timeout Ms
        eot_threshold:
          anyOf:
          - type: number
          - type: 'null'
          title: Eot Threshold
        eager_eot_threshold:
          anyOf:
          - type: number
          - type: 'null'
          title: Eager Eot Threshold
      type: object
      required:
      - provider
      title: DeepgramSTTSettings
    AzureTTSSettings:
      properties:
        provider:
          type: string
          const: azure
          title: Provider
        region:
          type: string
          enum:
          - eastus
          - germanywestcentral
          title: Region
          default: eastus
        voice:
          type: string
          title: Voice
          default: en-US-JennyNeural
      type: object
      required:
      - provider
      title: AzureTTSSettings
    CerebrasLLMModel:
      type: string
      enum:
      - llama-3.1-8b-instruct
      title: CerebrasLLMModel
    LLMProviderScope:
      properties:
        type:
          type: string
          const: provider_specific
          title: Type
          default: provider_specific
        provider:
          type: string
          const: llm
          title: Provider
          default: llm
        model:
          $ref: '#/components/schemas/LLMProvider'
      type: object
      required:
      - model
      title: LLMProviderScope
    OrpheusArabicVoice:
      type: string
      enum:
      - fahad
      - sultan
      - lulwa
      - noura
      - aisha
      - abdullah
      title: OrpheusArabicVoice
    UpsertTTSVoice:
      properties:
        display_name:
          type: string
          title: Display Name
        vibe:
          type: string
          minLength: 1
          title: Vibe
        tts_settings:
          anyOf:
          - $ref: '#/components/schemas/ElevenLabsTTSSettings'
          - $ref: '#/components/schemas/AzureTTSSettings'
          - $ref: '#/components/schemas/OpenAITTSSettings'
          - $ref: '#/components/schemas/AWSTTSSettings'
          - $ref: '#/components/schemas/GroqTTSSettings'
          - $ref: '#/components/schemas/HamsaTTSSettings'
          - $ref: '#/components/schemas/CartesiaTTSSettings'
          - $ref: '#/components/schemas/DeepgramTTSSettings'
          - $ref: '#/components/schemas/SarjF5TTSSettings'
          - $ref: '#/components/schemas/SarjOmniTTSSettings'
          title: Tts Settings
        gender:
          $ref: '#/components/schemas/Gender'
        language:
          $ref: '#/components/schemas/Language'
        is_active:
          type: boolean
          title: Is Active
          default: true
      type: object
      required:
      - display_name
      - vibe
      - tts_settings
      - gender
      - language
      title: UpsertTTSVoice
    GeminiLLMSettings:
      properties:
        provider:
          type: string
          const: gemini
          title: Provider
        region:
          type: string
          enum:
          - us-central1
          - me-central2
          - us-east1
          - europe-west1
          - europe-west3
          title: Region
          default: europe-west3
        model:
          type: string
          enum:
          - flash
          - pro
          - flash-lite-3.1
          title: Model
          default: flash
      type: object
      required:
      - provider
      title: GeminiLLMSettings
    GroqSTTSettings:
      properties:
        provider:
          type: string
          const: groq
          title: Provider
        model:
          $ref: '#/components/schemas/GroqSTTModels'
      type: object
      required:
      - provider
      - model
      title: GroqSTTSettings
    AWSSTTSettings:
      properties:
        provider:
          type: string
          const: aws
          title: Provider
        region:
          type: string
          enum:
          - eu-central-1
          - us-east-1
          title: Region
          default: eu-central-1
      type: object
      required:
      - provider
      title: AWSSTTSettings
    UpdateTTSVoice:
      properties:
        display_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Display Name
        gender:
          anyOf:
          - $ref: '#/components/schemas/Gender'
          - type: 'null'
        is_active:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Active
        vibe:
          anyOf:
          - type: string
            minLength: 1
          - type: 'null'
          title: Vibe
      type: object
      title: UpdateTTSVoice
    GroqTTSSettings:
      properties:
        provider:
          type: string
          const: groq
          title: Provider
        voice:
          anyOf:
          - $ref: '#/components/schemas/OrpheusArabicVoice'
          - $ref: '#/components/schemas/OrpheusEnglishVoice'
          title: Voice
      type: object
      required:
      - provider
      - voice
      title: GroqTTSSettings
    GlobalSettings:
      properties:
        models:
          $ref: '#/components/schemas/GlobalModelConfig'
        back_channel:
          anyOf:
          - $ref: '#/components/schemas/BackChannelConfig'
          - $ref: '#/components/schemas/BackChannelWordConfig'
          - $ref: '#/components/schemas/BackChannelSoundConfig'
          - $ref: '#/components/schemas/BackChannelMixConfig'
          - $ref: '#/components/schemas/DisableBackChanneling'
          title: Back Channel
        allow_interruptions:
          type: boolean
          title: Allow Interruptions
        timeout:
          anyOf:
          - $ref: '#/components/schemas/TimeoutSettings'
          - $ref: '#/components/schemas/DisableTimeoutSettings'
          title: Timeout
        agent_name:
          type: string
          title: Agent Name
          default: ''
        turn_detection:
          anyOf:
          - $ref: '#/components/schemas/DisableTurnDetection'
          - $ref: '#/components/schemas/SarjEouTurnDetection'
          - $ref: '#/components/schemas/LiveKitTurnDetection'
          title: Turn Detection
        max_duration_end_call_message:
          anyOf:
          - type: string
          - type: 'null'
          title: Max Duration End Call Message
      type: object
      required:
      - models
      - back_channel
      - allow_interruptions
      - timeout
      title: GlobalSettings
    TTSVoice:
      properties:
        id:
          type: string
          title: Id
        display_name:
          type: string
          title: Display Name
        provider:
          type: string
          title: Provider
        language:
          $ref: '#/components/schemas/Language'
        gender:
          $ref: '#/components/schemas/Gender'
        tts_settings:
          anyOf:
          - $ref: '#/components/schemas/ElevenLabsTTSSettings'
          - $ref: '#/components/schemas/AzureTTSSettings'
          - $ref: '#/components/schemas/OpenAITTSSettings'
          - $ref: '#/components/schemas/AWSTTSSettings'
          - $ref: '#/components/schemas/GroqTTSSettings'
          - $ref: '#/components/schemas/HamsaTTSSettings'
          - $ref: '#/components/schemas/CartesiaTTSSettings'
          - $ref: '#/components/schemas/DeepgramTTSSettings'
          - $ref: '#/components/schemas/SarjF5TTSSettings'
          - $ref: '#/components/schemas/SarjOmniTTSSettings'
          title: Tts Settings
        is_active:
          type: boolean
          title: Is Active
          default: true
        vibe:
          type: string
          title: Vibe
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
      - id
      - display_name
      - provider
      - language
      - gender
      - tts_settings
      - vibe
      - created_at
      - updated_at
      title: TTSVoice
    BackChannelConfig:
      properties:
        type:
          type: string
          const: freq
          title: Type
          default: freq
        value:
          type: number
          maximum: 1.0
          exclusiveMinimum: 0.0
          title: Value
          default: 0.6
        whitelist:
          items:
            type: string
          type: array
          title: Whitelist
      type: object
      title: BackChannelConfig
    DisableBackChanneling:
      properties:
        type:
          type: string
          const: disable
          title: Type
          default: disable
      type: object
      title: DisableBackChanneling
    STTProvider:
      type: string
      enum:
      - google
      - azure
      - aws
      - openai
      - elevenlabs
      - groq
      - speechmatics
      - hamsa
      - sarj_groq
      - sarj_custom
      - deepgram
      title: STTProvider
    OrpheusEnglishVoice:
      type: string
      enum:
      - autumn
      - diana
      - hannah
      - austin
      - daniel
      - troy
      title: OrpheusEnglishVoice
    BackChannelWordConfig:
      properties:
        type:
          type: string
          const: word
          title: Type
          default: word
        value:
          type: number
          maximum: 1.0
          exclusiveMinimum: 0.0
          title: Value
          default: 0.6
        whitelist:
          items:
            type: string
          type: array
          title: Whitelist
      type: object
      title: BackChannelWordConfig
    UseCaseScope:
      properties:
        type:
          type: string
          const: use_case
          title: Type
          default: use_case
        value:
          type: string
          title: Value
      type: object
      required:
      - value
      title: UseCaseScope
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    SarjOmniTTSVoice:
      type: string
      enum:
      - ars_male
      - ars_fares
      - ars_female_expressive
      title: SarjOmniTTSVoice
    PromptSection:
      properties:
        name:
          type: string
          title: Name
        language:
          anyOf:
          - $ref: '#/components/schemas/Language'
          - type: 'null'
        content:
          type: string
          title: Content
        scope:
          anyOf:
          - $ref: '#/components/schemas/GeneralScope'
          - $ref: '#/components/schemas/TTSProviderScope'
          - $ref: '#/components/schemas/STTProviderScope'
          - $ref: '#/components/schemas/LLMProviderScope'
          - $ref: '#/components/schemas/UseCaseScope'
          title: Scope
        order:
          type: integer
          title: Order
      type: object
      required:
      - name
      - language
      - content
      - scope
      - order
      title: PromptSection
    Language:
      type: string
      enum:
      - en
      - ar
      - ur
      title: Language
      description: Language codes in ISO 639-1
    HamsaTTSDialect:
      type: string
      enum:
      - pls
      - egy
      - syr
      - irq
      - jor
      - leb
      - ksa
      - uae
      - bah
      - qat
      - msa
      title: HamsaTTSDialect
    TTSProvider:
      type: string
      enum:
      - groq
      - 11labs
      - azure
      - openai
      - aws
      - hamsa
      - cartesia
      - deepgram
      - sarj_f5
      - sarj_omni
      title: TTSProvider
    DisableTurnDetection:
      properties:
        type:
          type: string
          const: disable
          title: Type
          default: disable
      type: object
      title: DisableTurnDetection
    AWSTTSSettings:
      properties:
        provider:
          type: string
          const: aws
          title: Provider
        region:
          type: string
          enum:
          - eu-central-1
          - us-east-1
          title: Region
          default: eu-central-1
      type: object
      required:
      - provider
      title: AWSTTSSettings
    ElevenLabsModels:
      type: string
      enum:
      - eleven_multilingual_v2
      - eleven_flash_v2_5
      - eleven_turbo_v2_5
      title: ElevenLabsModels
    SarjEouTurnDetection:
      properties:
        type:
          type: string
          const: sarj_eou
          title: Type
          default: sarj_eou
        threshold:
          type: number
          maximum: 1.0
          minimum: 0.0
          title: Threshold
          default: 0.5
        prediction_timeout:
          type: string
          format: duration
          title: Prediction Timeout
          default: PT0.5S
        min_endpointing_delay:
          type: string
          format: duration
          title: Min Endpointing Delay
          default: PT0.5S
        max_endpointing_delay:
          type: string
          format: duration
          title: Max Endpointing Delay
          default: PT3S
        targeted_stt_providers:
          items:
            $ref: '#/components/schemas/STTProvider'
          type: array
          title: Targeted Stt Providers
      type: object
      title: SarjEouTurnDetection
    SpeechmaticsSTTSettings:
      properties:
        provider:
          type: string
          const: speechmatics
          ti

# --- truncated at 32 KB (45 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/sarj-ai-developer-api/refs/heads/main/openapi/sarj-ai-developer-api-settings-api-openapi.yml