Sarj AI Developer API Task Management API

The task-management API from Sarj AI Developer API — 5 operation(s) for task-management.

Operations 5

POST /v1/task-management/ Create Task #
GET /v1/task-management/{task_id} Get Task #
POST /v1/task-management/list List Tasks #
POST /v1/task-management/list-by-call/{call_id} List Tasks By Call #
POST /v1/task-management/list-by-batch/{batch_id} List Tasks By Batch #

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-task-management-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-task-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sarj Ai Developer Task Management API
  version: 1.0.0
  description: 'Operations tagged task-management across 2 of this provider''s published API definitions: sarj-ai-developer-api-task-management-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: task-management
paths:
  /v1/task-management/:
    post:
      tags:
      - task-management
      summary: Create Task
      operationId: taskManagementCreateTask
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTaskRequest'
        required: true
      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).
  /v1/task-management/{task_id}:
    get:
      tags:
      - task-management
      summary: Get Task
      operationId: taskManagementGetTask
      parameters:
      - name: task_id
        in: path
        required: true
        schema:
          type: string
          description: Task ID
          title: Task Id
        description: Task ID
      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).
  /v1/task-management/list:
    post:
      tags:
      - task-management
      summary: List Tasks
      operationId: taskManagementListTasks
      parameters:
      - name: organization_id
        in: query
        required: true
        schema:
          type: string
          description: Organization ID
          title: Organization Id
        description: Organization ID
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Limit
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          description: Pagination cursor
          title: Cursor
        description: Pagination cursor
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskPagination'
        '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/task-management/list-by-call/{call_id}:
    post:
      tags:
      - task-management
      summary: List Tasks By Call
      operationId: taskManagementListTasksByCall
      parameters:
      - name: call_id
        in: path
        required: true
        schema:
          type: string
          title: Call Id
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Limit
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          description: Pagination cursor
          title: Cursor
        description: Pagination cursor
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskPagination'
        '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/task-management/list-by-batch/{batch_id}:
    post:
      tags:
      - task-management
      summary: List Tasks By Batch
      operationId: taskManagementListTasksByBatch
      parameters:
      - name: batch_id
        in: path
        required: true
        schema:
          type: string
          title: Batch Id
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Limit
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          description: Pagination cursor
          title: Cursor
        description: Pagination cursor
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskPagination'
        '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
    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
    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
    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
    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
    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
    GroqSTTSettings:
      properties:
        provider:
          type: string
          const: groq
          title: Provider
        model:
          $ref: '#/components/schemas/GroqSTTModels'
      type: object
      required:
      - provider
      - model
      title: GroqSTTSettings
    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
    BatchReportGenerationMessage:
      properties:
        type:
          type: string
          const: batch_report_generation
          title: Type
          default: batch_report_generation
        batch_id:
          type: string
          title: Batch Id
        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
        file_key:
          anyOf:
          - type: string
          - type: 'null'
          title: File Key
        batch_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Batch Name
      type: object
      required:
      - batch_id
      title: BatchReportGenerationMessage
    CallOutcomeMessage:
      properties:
        type:
          type: string
          const: call_outcome
          title: Type
          default: call_outcome
        call_id:
          type: string
          title: Call Id
        is_retry:
          type: boolean
          title: Is Retry
          default: false
      type: object
      required:
      - call_id
      title: CallOutcomeMessage
    OrpheusEnglishVoice:
      type: string
      enum:
      - autumn
      - diana
      - hannah
      - austin
      - daniel
      - troy
      title: OrpheusEnglishVoice
    NoOpMessage:
      properties:
        type:
          type: string
          const: no_op
          title: Type
          default: no_op
      type: object
      title: NoOpMessage
    CreateTaskRequest:
      properties:
        organization_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Organization Id
        user_id:
          anyOf:
          - type: string
          - type: 'null'
          title: User Id
        message:
          oneOf:
          - $ref: '#/components/schemas/EnhancedTranscriptionMessage'
          - $ref: '#/components/schemas/CallOutcomeMessage'
          - $ref: '#/components/schemas/ScenarioInsightAnalysisMessage'
          - $ref: '#/components/schemas/BatchReportGenerationMessage'
          - $ref: '#/components/schemas/CreateBatchCallsMessage'
          - $ref: '#/components/schemas/BatchCallsRetryMessage'
          - $ref: '#/components/schemas/StartBatchCallsTickMessage'
          - $ref: '#/components/schemas/DeleteOldTasksTickMessage'
          - $ref: '#/components/schemas/OutboundDispatchTickMessage'
          - $ref: '#/components/schemas/DeleteExpiredOrgDataTickMessage'
          - $ref: '#/components/schemas/WebhookNotificationMessage'
          - $ref: '#/components/schemas/ZohoCRMRecordUpdateMessage'
          - $ref: '#/components/schemas/ZohoCallActivityMessage'
          - $ref: '#/components/schemas/StaleCallCleanupMessage'
          - $ref: '#/components/schemas/CallQueuedHealthCheckMessage'
          - $ref: '#/components/schemas/CallInProgressHealthCheckMessage'
          - $ref: '#/components/schemas/CallRetryMessage'
          - $ref: '#/components/schemas/VoiceMigrationMessage'
          - $ref: '#/components/schemas/CallReportsEnqueueMessage'
          - $ref: '#/components/schemas/ScenarioGenerationMessage'
          - $ref: '#/components/schemas/ProcessMessagingMessage'
          - $ref: '#/components/schemas/CreateDefaultAgentsMessage'
          - $ref: '#/components/schemas/UpdateScenarioAgentMessage'
          - $ref: '#/components/schemas/SlackAlertMessage'
          - $ref: '#/components/schemas/ConversationExportMessage'
          - $ref: '#/components/schemas/DispatchOutboundCallMessage'
          - $ref: '#/components/schemas/NoOpMessage'
          title: Message
          discriminator:
            propertyName: type
            mapping:
              batch_calls_retry: '#/components/schemas/BatchCallsRetryMessage'
              batch_report_generation: '#/components/schemas/BatchReportGenerationMessage'
              call_in_progress_health_check: '#/components/schemas/CallInProgressHealthCheckMessage'
              call_outcome: '#/components/schemas/CallOutcomeMessage'
              call_queued_health_check: '#/components/schemas/CallQueuedHealthCheckMessage'
              call_reports_enqueue: '#/components/schemas/CallReportsEnqueueMessage'
              call_retry: '#/components/schemas/CallRetryMessage'
              conversation_export: '#/components/schemas/ConversationExportMessage'
              create_batch_calls: '#/components/schemas/CreateBatchCallsMessage'
              create_default_agents: '#/components/schemas/CreateDefaultAgentsMessage

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