Sarj AI Developer API Batch API

The batch API from Sarj AI Developer API — 9 operation(s) for batch.

Operations 9

POST /v1/beta/calls/batch Create Batch #
POST /v1/beta/calls/batch/upload-url Generate Upload Url #
GET /v1/beta/calls/batch/{batch_id} Get Batch Detail #
GET /v1/beta/calls/batch/{batch_id}/calls Get Batch Calls #
GET /v1/beta/calls/batch-call/{batch_call_id}/retry Retry Call #
POST /v1/beta/calls/batch/{batch_id}/retry Retry Batch #
PUT /v1/beta/calls/batch/{batch_id}/status Set Batch Status #
PATCH /v1/beta/calls/batch/{batch_id}/settings Update Batch Settings #
POST /v1/beta/calls/batch/{batch_id}/export-reports Export Batch Reports #

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-batch-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-batch-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sarj Ai Developer Batch API
  version: 1.0.0
  description: 'Operations tagged batch across 2 of this provider''s published API definitions: sarj-ai-developer-api-batch-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: batch
paths:
  /v1/beta/calls/batch:
    post:
      tags:
      - batch
      summary: Create Batch
      operationId: batchCreateBatch
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBatchInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Batch'
        '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/beta/calls/batch/upload-url:
    post:
      tags:
      - batch
      summary: Generate Upload Url
      operationId: batchGenerateUploadUrl
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PreSignedUrlRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PreSignedUrlResponse'
        '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/beta/calls/batch/{batch_id}:
    get:
      tags:
      - batch
      summary: Get Batch Detail
      operationId: batchGetBatchDetail
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          title: Batch Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Batch'
        '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/beta/calls/batch/{batch_id}/calls:
    get:
      tags:
      - batch
      summary: Get Batch Calls
      operationId: batchGetBatchCalls
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          title: Batch Id
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Cursor
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 10
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListBatchCallsResponse'
        '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/beta/calls/batch-call/{batch_call_id}/retry:
    get:
      tags:
      - batch
      summary: Retry Call
      operationId: batchRetryCall
      parameters:
      - name: batch_call_id
        in: path
        required: true
        schema:
          type: string
          title: Batch Call Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '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/beta/calls/batch/{batch_id}/retry:
    post:
      tags:
      - batch
      summary: Retry Batch
      operationId: batchRetryBatch
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          title: Batch Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '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/beta/calls/batch/{batch_id}/status:
    put:
      tags:
      - batch
      summary: Set Batch Status
      operationId: batchSetBatchStatus
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          title: Batch Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetBatchStatusInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '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/beta/calls/batch/{batch_id}/settings:
    patch:
      tags:
      - batch
      summary: Update Batch Settings
      operationId: batchUpdateBatchSettings
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          title: Batch Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateBatchSettingsInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Batch'
        '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/beta/calls/batch/{batch_id}/export-reports:
    post:
      tags:
      - batch
      summary: Export Batch Reports
      operationId: batchExportBatchReports
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          title: Batch Id
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/ExportBatchReportsInput'
              - type: 'null'
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Task'
        '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).
components:
  schemas:
    VoiceMigrationMessage:
      properties:
        type:
          type: string
          const: voice_migration
          title: Type
          default: voice_migration
      type: object
      title: VoiceMigrationMessage
    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
    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
    TimeWindow:
      properties:
        start_edge:
          $ref: '#/components/schemas/TimeEdge'
        end_edge:
          $ref: '#/components/schemas/TimeEdge'
      type: object
      required:
      - start_edge
      - end_edge
      title: TimeWindow
    OpenAITTSModels:
      type: string
      enum:
      - gpt-4o-mini-tts
      - tts-1
      - tts-1-hd
      title: OpenAITTSModels
    ScenarioInsightAnalysisMessage:
      properties:
        type:
          type: string
          const: scenario_insight_analysis
          title: Type
          default: scenario_insight_analysis
        call_id:
          type: string
          title: Call Id
      type: object
      required:
      - call_id
      title: ScenarioInsightAnalysisMessage
    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
    ProcessMessagingMessage:
      properties:
        type:
          type: string
          const: process_messaging_message
          title: Type
          default: process_messaging_message
        provider:
          type: string
          title: Provider
        payload:
          additionalProperties: true
          type: object
          title: Payload
        organization_id:
          type: string
          format: uuid
          title: Organization Id
      type: object
      required:
      - provider
      - payload
      - organization_id
      title: ProcessMessagingMessage
    CallReportsEnqueueMessage:
      properties:
        type:
          type: string
          const: call_reports_enqueue
          title: Type
          default: call_reports_enqueue
      type: object
      title: CallReportsEnqueueMessage
    CallOutcomeStatus:
      type: string
      enum:
      - success
      - failure
      - error
      title: CallOutcomeStatus
    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
    CallStatus:
      type: string
      enum:
      - queued
      - in_progress
      - transferring
      - transferred
      - completed
      - timeout
      - user_rejected
      - max_duration_reached
      - failed
      - ringing
      - voicemail
      - dialing
      - cancelled
      - expired
      title: CallStatus
    AzureOpenAIModel:
      type: string
      enum:
      - gpt-4.1
      title: AzureOpenAIModel
    ZohoCallActivityMessage:
      properties:
        type:
          type: string
          const: zoho_call_activity
          title: Type
          default: zoho_call_activity
        call_id:
          type: string
          title: Call Id
        record_id:
          type: string
          title: Record Id
        module:
          $ref: '#/components/schemas/ZohoCRMModules'
          default: Leads
      type: object
      required:
      - call_id
      - record_id
      title: ZohoCallActivityMessage
    CallSubject:
      properties:
        phone_number:
          type: string
          title: Phone Number
        sip_trunk_id:
          type: string
          title: Sip Trunk Id
        trunk_phone_number:
          anyOf:
          - type: string
          - type: 'null'
          title: Trunk Phone Number
        number_format:
          anyOf:
          - $ref: '#/components/schemas/NumberFormat'
          - type: 'null'
      type: object
      required:
      - phone_number
      - sip_trunk_id
      title: CallSubject
    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
    CallInProgressHealthCheckMessage:
      properties:
        type:
          type: string
          const: call_in_progress_health_check
          title: Type
          default: call_in_progress_health_check
        call_id:
          type: string
          title: Call Id
      type: object
      required:
      - call_id
      title: CallInProgressHealthCheckMessage
    StartBatchCallsTickMessage:
      properties:
        type:
          type: string
          const: start_batch_calls_tick
          title: Type
          default: start_batch_calls_tick
        tick_id:
          type: string
          title: Tick Id
      type: object
      title: StartBatchCallsTickMessage
    DisableTimeoutSettings:
      properties:
        type:
          type: string
          const: disable
          title: Type
          default: disable
      type: object
      title: DisableTimeoutSettings
    UpdateScenarioAgentMessage:
      properties:
        type:
          type: string
          const: update_scenario_agent
          title: Type
          default: update_scenario_agent
        organization_id:
          type: string
          title: Organization Id
        deleted_agent_id:
          type: string
          title: Deleted Agent Id
        language:
          type: string
          title: Language
      type: object
      required:
      - organization_id
      - deleted_agent_id
      - language
      title: UpdateScenarioAgentMessage
    ExportBatchReportsInput:
      properties:
        custom_columns:
          items:
            $ref: '#/components/schemas/ReportColumn'
          type: array
          maxItems: 256
          title: Custom Columns
        columns:
          items:
            $ref: '#/components/schemas/ReportColumn'
          type: array
          maxItems: 256
          title: Columns
        template_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Template Id
      type: object
      title: ExportBatchReportsInput
    Custom:
      properties:
        type:
          type: string
          const: custom
          title: Type
          default: custom
        scenario:
          $ref: '#/components/schemas/CustomScenario'
      type: object
      required:
      - scenario
      title: Custom
    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
    OutboundDispatchTickMessage:
      properties:
        type:
          type: string
          const: outbound_dispatch_tick
          title: Type
          default: outbound_dispatch_tick
        tick_id:
          type: string
          title: Tick Id
      type: object
      title: OutboundDispatchTickMessage
    CustomScenario:
      properties:
        type:
          type: string
          const: custom
          title: Type
        id:
          type: string
          title: Id
        variables:
          additionalProperties: true
          type: object
          title: Variables
          default: {}
        scenario_settings_override:
          anyOf:
          - $ref: '#/components/schemas/ScenarioSettingsOverride'
          - type: 'null'
      type: object
      required:
      - type
      - id
      title: CustomScenario
    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
    CreateDefaultAgentsMessage:
      properties:
        type:
          type: string
          const: create_default_agents
          title: Type
          default: create_default_agents
      type: object
      title: CreateDefaultAgentsMessage
    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
    PhoneDirection:
      type: string
      enum:
      - inbound
      - outbound
      title: PhoneDirection
    ZohoCRMRecordUpdateMessage:
      properties:
        type:
          type: string
          const: zoho_crm_record_update
          title: Type
          default: zoho_crm_record_update
        call_id:
          type: string
          title: Call Id
        record_id:
          type: string
          title: Record Id
        module:
          $ref: '#/components/schemas/ZohoCRMModules'
          default: Leads
      type: object
      required:
      - call_id
      - record_id
      title: ZohoCRMRecordUpdateMessage
    BatchStatus:
      type: string
      enum:
      - queued
      - running
      - stopped
      - done
      title: BatchStatus
    OrpheusArabicVoice:
      type: string
      enum:
      - fahad
      - sultan
      - lulwa
      - noura
      - aisha
      - abdullah
      title: OrpheusArabicVoice
    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
    CallRetryMessage:
      properties:
        type:
          type: string
          const: call_retry
          title: Type
          default: call_retry
        call_id:
          type: string
          title: Call Id
      type: object
      required:
      - call_id
      title: CallRetryMessage
    WebhookNotificationMessage:
      properties:
        type:
          type: string
          const: webhook_notification
          title: Type
          default: webhook_notification
        call_id:
          type: string
          title: Call Id
      type: object
      required:
      - call_id
      title: WebhookNotificationMessage
    SlackAlertMessage:
      properties:
        type:
          type: string
          const: slack_alert
          title: Type
          default: slack_alert
        payload:
          $ref: '#/components/schemas/GenericSlackAlert'
      type: object
      required:
      - payload
      title: SlackAlertMessage
    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
    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
    CreateBatchInput:
      properties:
        app_settings:
          anyOf:
          - $ref: '#/components/schemas/GlobalOverriddenSettings'
          - $ref: '#/components/schemas/GlobalDefaultSettings'
          title: App Settings
        calling_window:
          anyOf:
          - $ref: '#/components/schemas/TimeWindow'
          - type: 'null'
        file:
          $ref: '#/components/schemas/UploadedFile'
        name:
          type: string
          title: Name
        language:
          $ref: '#/components/schemas/Language'
        scenario:
          $ref: '#/components/schemas/CustomScenario'
        start_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Start At
        retry_settings:
          anyOf:
          - $ref: '#/components/schemas/RetrySettingsInput'
          - type: 'null'
        voices:
          anyOf:
          - items:
              $ref: '#/components/schemas/TTSVoice'
            type: array
          - type: 'null'
          title: Voices
        sip_trunk_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Sip Trunk Id
        trunk_phone_number:
          anyOf:
          - type: string
          - type: 'null'
          title: Trunk Phone 

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