> ## 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 content of different file types based on the sample ID of a Job



## OpenAPI

````yaml docs/avxcelerate/resource-manager-rest-api/explore.aws-pre-prod-api-resources-v1.json GET /v2/tsa/jobs/files/{job_id}/{sample_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/jobs/files/{job_id}/{sample_id}:
    get:
      tags:
        - Analyze
      summary: Retrieve content of different file types based on the sample ID of a Job
      operationId: get_tsa_sample_file
      parameters:
        - name: job_id
          in: path
          required: true
          description: The identifier of the TSA job
          schema:
            type: string
        - name: sample_id
          in: path
          required: true
          description: Sample identifier
          schema:
            type: string
        - required: true
          example: scenario
          in: query
          description: Type of file
          name: file_type
          schema:
            type: string
            enum:
              - kpi
              - scenario
              - sensor_error
              - simulation_log
              - simulation_trace_log
              - simulation_trace
      responses:
        '200':
          description: Success. The file content has been retrieved.
        '400':
          description: >-
            Bad Request. Couldn't retrieve the file. Check the TSA job ID and
            sample_id 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. Check the TSA job ID and sample_id is 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.
        '500':
          description: >-
            Internal Server Error. Contact admin. The server has encountered a
            situation it does not know how to handle.
components:
  securitySchemes:
    apikey:
      type: apiKey
      in: header
      name: Authorization

````