> ## 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 Intermediate File

> Download an archive containing Job assets and the concrete scenario files for the specified sample list.

The operation is not supported for all job templates. If the job template doesn't support it,
an HTTP 400 error is returned.

Usage:
1. Once you download the zip file, unzip it
2. Setup any environment variables required for your solver
3. Run the runme script like `./runme.sh`

:param samples: List of sample ids from all iterations, starting from 1, separated by comma.
    Leave empty for skipping generation of concrete scenario files.
:param filter_by_asset_declaration_list: List of asset types to include separated by comma.
    Leave empty to include all the files.
:param: include_runme: Includes inputs.json config and runme.sh script files.

:return: StreamingResponse: The response containing archive of intermediate files.



## OpenAPI

````yaml docs/avxcelerate/post-controller-rest-api/explore.aws-pre-prod-api-post-controller-v1.json GET /v1/files/stream-intermediate-file/
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-intermediate-file/:
    get:
      tags:
        - files
      summary: Stream Intermediate File
      description: >-
        Download an archive containing Job assets and the concrete scenario
        files for the specified sample list.


        The operation is not supported for all job templates. If the job
        template doesn't support it,

        an HTTP 400 error is returned.


        Usage:

        1. Once you download the zip file, unzip it

        2. Setup any environment variables required for your solver

        3. Run the runme script like `./runme.sh`


        :param samples: List of sample ids from all iterations, starting from 1,
        separated by comma.
            Leave empty for skipping generation of concrete scenario files.
        :param filter_by_asset_declaration_list: List of asset types to include
        separated by comma.
            Leave empty to include all the files.
        :param: include_runme: Includes inputs.json config and runme.sh script
        files.


        :return: StreamingResponse: The response containing archive of
        intermediate files.
      operationId: files-stream_intermediate_file
      parameters:
        - name: samples
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Samples
          examples:
            first:
              summary: Include concrete scenario for 1st sample only
              value: '1'
            multiple:
              summary: Include concrete scenarios for 1st, 2nd and 3rd samples
              value: 1,2,3
            none:
              summary: No Concrete scenario file is included
              value: ''
        - name: filter_by_asset_declaration_list
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Filter By Asset Declaration List
          examples:
            ls:
              summary: Only Logical Scenario file is included
              value: '["scenario"]'
            map:
              summary: Only Map type assets are included
              value: '["map"]'
            all:
              summary: All assets are included
              value: ''
        - name: include_runme
          in: query
          required: false
          schema:
            type: boolean
            default: false
            title: Include Runme
          examples:
            'Yes':
              summary: Include Input config and run script file
              value: true
            'No':
              summary: Doesn't include Input config and run script file
              value: false
      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

````