> ## 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.

# Retrieve generated report according to the Job ID



## OpenAPI

````yaml docs/avxcelerate/resource-manager-rest-api/explore.aws-pre-prod-api-resources-v1.json GET /v2/tsa/reports/{job_id}/{chunk_id}
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/reports/{job_id}/{chunk_id}:
    get:
      tags:
        - Simulation Reports
      summary: Retrieve generated report according to the Job ID
      operationId: get_tsa_report2
      parameters:
        - name: job_id
          in: path
          required: true
          description: The identifier of the TSA job
          schema:
            type: string
        - name: chunk_id
          in: path
          required: true
          description: The identifier of the TSA job chunk within the job or 'all'
          schema:
            type: string
      responses:
        '200':
          description: Success. The report for {job_id} has been retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobReport'
        '400':
          description: >-
            Bad Request. The request to retrieve the {job_id} report couldn't be
            completed. Check that the job ID and chunk ID 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).
        '404':
          description: >-
            Not Found. The report couldn't be retrieved because the TSA job or
            TSA chunk were not found. Check that the job ID and chunk ID are
            correct and try again. The server cannot find the requested
            resource. In the browser, this means the URL is not recognized. In
            an API, this can also mean that the endpoint is valid but the
            resource itself does not exist. Servers may also send this response
            instead of 403 Forbidden to hide the existence of a resource from an
            unauthorized client. This response code is probably the most well
            known due to its frequent occurrence on the web.
components:
  schemas:
    JobReport:
      properties:
        job_id:
          type: string
          description: The job_id of this Job.
          example: '123'
        chunks:
          type: array
          description: List of chunks for the job
          items:
            $ref: '#/components/schemas/JobChunk'
        kpis:
          type: array
          description: List of kpis and related metadata
          items:
            $ref: '#/components/schemas/KPI'
        parameters:
          type: array
          description: List of parameters and related metadata
          items:
            $ref: '#/components/schemas/Parameter'
      type: object
    JobChunk:
      properties:
        chunk_id:
          type: string
          description: Chunk id
          example: tsa-123-1
        samples:
          type: array
          description: List of samples for the chunk
          items:
            $ref: '#/components/schemas/Sample'
      type: object
    KPI:
      properties:
        name:
          type: string
          description: The name of this KPI
          example: min_ttc
        label:
          type: string
          description: User friendly label for this KPI
          example: Minimum time to collision
        description:
          type: string
          description: The description of this KPI
          example: Minimum value of Time to Collision during simulation
        data_type:
          type: string
          description: The data type of this KPI
          example: double
          enum:
            - double
            - integer
            - string
            - boolean
        unit:
          type: string
          description: The unit of this KPI if applicable
          example: s
      type: object
    Parameter:
      properties:
        name:
          type: string
          description: The name of this Parameter.
          example: velocity
        label:
          type: string
          description: User friendly label for this Parameter
          example: Relative Velocity
        description:
          type: string
          description: The description of this Parameter
          example: velocity of the host
        data_type:
          type: string
          description: The type of this Parameter
          example: double
          enum:
            - double
            - integer
            - string
            - boolean
        unit:
          type: string
          description: The unit of this Parameter if applicable
          example: m/s
      type: object
    Sample:
      properties:
        sample_id:
          type: integer
          description: Sample Identifier
          example: 1
        sample_status:
          type: array
          description: List of task status for this sample
          items:
            $ref: '#/components/schemas/SampleStatus'
        safe:
          type: boolean
          description: >-
            Tells if the sample if safe (True) or unsafe (False) with respect to
            failure_state KPI
          example: true
        sample_params:
          type: object
          description: Name value pairs of parameters for this sample
          example:
            lateral_distance: -3
            longitudinal_distance: -5
            relative_velocity: -2
        scenario_json_file_path:
          type: string
          description: ''
          example: /input/scenarios/scenario_tsa-123-1-1.json
        kpi_results:
          type: object
          description: Name value pairs of kpis for this sample
          example:
            critical_lateral_events: 1
            driven_distance: '637.120010'
        kpis_json_file_path:
          type: string
          description: ''
          example: /output/1/scenario_tsa-123-1-1.json
      type: object
    SampleStatus:
      properties:
        name:
          type: string
          description: Task name for the sample
          example: Algorithm Sampling
        completed_time:
          type: string
          description: Time at which the task for this sample was complete
          example: '2021-03-02T19:21:56.377727+00:00'
        status:
          type: string
          description: Status of the task for this sample
          example: success
      type: object
  securitySchemes:
    apikey:
      type: apiKey
      in: header
      name: Authorization

````