> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Trigger a TSA airflow job



## OpenAPI

````yaml docs/avxcelerate/resource-manager-rest-api/explore.aws-pre-prod-api-resources-v1.json POST /v2/tsa
openapi: 3.0.3
info:
  title: AVxcelerate Explore & Analyze
  version: 2026R1.1-beta-2
  description: >-
    This is the REST API for the Explore and Analyze (TSA) application that is
    part of the Ansys AVxcelerate Autonomy.<br/>The REST API provides endpoints
    to manage logical scenarios and their related entities including associated
    assets, algorithms, Analyze jobs, simulation reports and Airflow
    Pipeline.<br/>Please refer to the Analyze and Explore User Guide available
    on the Ansys documentation portal for examples of how to use the available
    REST API features.
  contact:
    name: support@ansys.com
    email: support@ansys.com
  license:
    name: Ansys software
servers:
  - url: https://{host}/api/tsa
    variables:
      host:
        default: api.example.com
        description: Host the API is served from
security:
  - apikey: []
tags:
  - name: Logical Scenario
    description: Endpoints to manage logical scenarios and associated data
  - name: Algorithms
    description: Endpoints to manage algorithms
  - name: Monitoring
    description: Endpoints to monitor the health of the services
  - name: Analyze
    description: >-
      The endpoints that manage the configuration and status of the job in the
      Explore and Analyze application.
  - name: Simulation Reports
    description: The endpoints used to generate simulation reports
  - name: Airflow Pipeline
    description: The endpoints used to trigger a test-space analytics run with Airflow.
  - name: SUT Configuration
    description: >-
      This section is not used in this REST API, please use the dedicated SUT
      REST API to manage SUT endpoints
paths:
  /v2/tsa:
    post:
      tags:
        - Airflow Pipeline
      summary: Trigger a TSA airflow job
      operationId: post_tsa_airflow_job
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TsaConfig'
      responses:
        '200':
          description: Success. The TSA airflow job was successfully triggered.
        '400':
          description: >-
            Bad Request. Couldn't trigger the TSA airflow job - check that the
            input parameters are correct and try again. The server cannot or
            will not process the request due to something that is perceived to
            be a client error (e.g., malformed request syntax, invalid request
            message framing, or deceptive request routing).
        '500':
          description: >-
            Internal Server Error. Triggering the TSA airflow job failed.
            Contact Admin. The server has encountered a situation it does not
            know how to handle.
components:
  schemas:
    TsaConfig:
      required:
        - source
        - system_under_test_config
      properties:
        parameter_bounds:
          type: object
          description: >-
            Dictionary with parameter name as key and parameter_bounds data as
            value.
          example:
            sensor_position_error:
              distribution_type: continuous
              min: 1.5
              max: 2.5
            sensor_velocity_error:
              distribution_type: continuous
              min: -0.5
              max: 3
          additionalProperties:
            $ref: '#/components/schemas/ParameterBounds'
        scenario_config:
          description: The scenario_config of this TsaConfig
          allOf:
            - $ref: '#/components/schemas/ScenarioConfig'
        custom_configs:
          description: The custom_configs of this TsaConfig
          allOf:
            - $ref: '#/components/schemas/CustomConfigs'
        sampling_algorithm_config:
          description: The sampling_algorithm_config of this TsaConfig.
          allOf:
            - $ref: '#/components/schemas/SamplingAlgorithmConfig'
        system_under_test_config:
          description: The system_under_test_config of this TsaConfig.
          allOf:
            - $ref: '#/components/schemas/SystemUnderTest'
        analytics_algorithm_config:
          description: The analytics_algorithm_config of this TsaConfig.
          allOf:
            - $ref: '#/components/schemas/AnalyticsAlgorithmConfig'
        source:
          type: string
          description: Source from where this job is getting created.
          example: UI
        job_type:
          type: string
          description: Type of the job.
          example: reliability_analysis
          enum:
            - sensitivity_analysis
            - reliability_analysis
        skip_error_injection:
          type: boolean
          description: Skip Error Injection step or not
          example: false
        validate_kpis_definition:
          type: boolean
          description: Validate kpis definition or not
          example: true
        comment:
          type: string
          description: Comment added by user when job was created
          example: Test Sensitivity Job
      type: object
    ParameterBounds:
      properties:
        constant:
          type: string
          description: The constant of this ParameterBounds.
        constant_type:
          type: string
          description: Treat constant parameters as given data type
          example: double
          enum:
            - double
            - integer
            - string
            - boolean
        discrete_type:
          type: string
          description: Treat discrete parameters as given data type
          example: double
          enum:
            - double
            - integer
            - string
            - boolean
        discrete_values:
          type: array
          description: The discrete values of this ParameterBounds.
          items:
            type: string
        distribution_type:
          type: string
          description: The distribution_type of this ParameterBounds
          example: continuous
          enum:
            - continuous
            - constant
            - discrete
        min:
          type: number
          description: The min of this ParameterBounds.
        max:
          type: number
          description: The max of this ParameterBounds.
        pdf:
          description: The pdf of this ParameterBounds.
          allOf:
            - $ref: '#/components/schemas/ProbabilityDistributionFunction'
      type: object
    ScenarioConfig:
      required:
        - name
      properties:
        name:
          type: string
          description: The name of this ScenarioConfig.
          example: avoid_lateral_collision_scenario
        version:
          type: string
          description: The version of this Scenario.
          example: version_1.0.0
        file_format:
          type: string
          description: File format of concrete scenario file
          example: xosc
        parameter_bounds:
          type: object
          description: >-
            Dictionary with parameter name as key and parameter_bounds data as
            value.
          example:
            relative_velocity:
              distribution_type: continuous
              pdf:
                name: gaussian
                variables:
                  mean: '2'
                  stdev: '3'
            lateral_distance:
              distribution_type: continuous
              pdf:
                name: gaussian
                variables:
                  mean: '2'
                  stdev: '3'
            longitudinal_distance:
              distribution_type: continuous
              pdf:
                name: gaussian
                variables:
                  mean: '2'
                  stdev: '3'
          additionalProperties:
            $ref: '#/components/schemas/ParameterBounds'
        parameter_correlations:
          type: array
          description: List of all pair-wise parameter correlations.
          example:
            - x: relative_velocity
              'y': lateral_distance
              value: 0.5
          items:
            $ref: '#/components/schemas/ParameterCorrelations'
      type: object
    CustomConfigs:
      properties:
        error_injection:
          type: object
          description: The error_injection config of CustomConfigs of this TsaConfig
          additionalProperties:
            type: object
      type: object
    SamplingAlgorithmConfig:
      properties:
        name:
          type: string
          description: The name of this SamplingAlgorithmConfig.
          example: monte_carlo_sampling
        settings:
          type: object
          description: The settings of this SamplingAlgorithmConfig.
          example:
            number_of_samples: 10
            key: settings
          additionalProperties:
            anyOf:
              - type: string
              - type: number
      type: object
    SystemUnderTest:
      properties:
        release:
          type: string
          description: Identifier of the release container.
          example: highway_2020.05
        target:
          type: string
          description: >-
            Executable inside the release container to run the simulation with
            the ad function.
          example: >-
            application/adp/test/evaluation/kpi/closed_loop_evaluation/closed_loop_kpi_evaluation.test.sh
        '*':
          type: object
          additionalProperties:
            type: string
      type: object
    AnalyticsAlgorithmConfig:
      properties:
        name:
          type: string
          description: The name of this AnalyticsAlgorithmConfig.
          example: monte_carlo_reliability
        settings:
          type: object
          description: The settings of this AnalyticsAlgorithmConfig.
          example:
            failure_state_value: 0
            failure_state_kpi: min_ttc
            failure_state_operator: <=
          additionalProperties:
            anyOf:
              - type: string
              - type: number
      type: object
    ProbabilityDistributionFunction:
      properties:
        name:
          type: string
          description: The name of this ProbabilityDistributionFunction.
        variables:
          type: object
          description: The variables of this ProbabilityDistributionFunction.
          additionalProperties:
            type: string
      type: object
    ParameterCorrelations:
      properties:
        x:
          type: string
          description: The name of the first parameter to be correlated.
        'y':
          type: string
          description: The name of the second parameter to be correlated.
        value:
          type: number
          description: The correlation between the two parameters.
      type: object
  securitySchemes:
    apikey:
      type: apiKey
      in: header
      name: Authorization

````