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

# Stream File

> Stream the content of the passed file path.

:param file_path: Path of the file to stream.
:param range_header: Standard HTTP header indicating the part of a resource that the server should return
:return: StreamingResponse: The response containing the trace file.



## OpenAPI

````yaml docs/avxcelerate/post-controller-rest-api/explore.aws-pre-prod-api-post-controller-v1.json GET /v1/files/stream/{file_path}
openapi: 3.1.0
info:
  title: AVxcelerate Post Controller
  summary: Service to manage post processing jobs
  version: 0.1.0
servers:
  - url: >-
      https://{host}/transient-services/exp-9fb19aaf-a78d-4f7c-a0d8-0865fa47acf1-post-service/m9o-TYMlxwurawkaKRMaiVpOCviwsDuYsHKgVDt3n6g8ndUpWTITze8WMZw_8PN3J9o_uoAq76XEudp8IJ9-rg
    variables:
      host:
        default: api.example.com
        description: Host the API is served from
security: []
paths:
  /v1/files/stream/{file_path}:
    get:
      tags:
        - files
      summary: Stream File
      description: >-
        Stream the content of the passed file path.


        :param file_path: Path of the file to stream.

        :param range_header: Standard HTTP header indicating the part of a
        resource that the server should return

        :return: StreamingResponse: The response containing the trace file.
      operationId: files-stream_file
      parameters:
        - name: file_path
          in: path
          required: true
          schema:
            type: string
            title: File Path
        - name: range
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Range
      responses:
        '200':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````