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

# Download file

> Interactive playground for GET /v1/files/{file_id}/content.

Download the raw JSONL body for an input file you uploaded or for `output_file_id` / `error_file_id` from a [completed batch](/api-reference/retrieve-batch).

Response is streamed as `application/jsonl`. Full reference: [Files API](/docs/batch/objects).


## OpenAPI

````yaml api-reference/openapi/batch.openapi.json GET /v1/files/{file_id}/content
openapi: 3.1.0
info:
  title: ZeroGPU Batch & Files API
  version: '1.0'
  description: >-
    JSONL file storage (`/v1/files`) and asynchronous batch inference
    (`/v1/batches`). Wire-compatible with OpenAI's files and batch APIs. Auth:
    `x-api-key` on every request; `x-project-id` is optional.
servers:
  - url: https://api.zerogpu.ai
    description: Production
security:
  - ApiKey: []
paths:
  /v1/files/{file_id}/content:
    get:
      tags:
        - Files
      summary: Download file content
      description: 'Stream the raw JSONL body (`Content-Type: application/jsonl`).'
      operationId: downloadFileContent
      parameters:
        - name: x-project-id
          in: header
          required: false
          schema:
            type: string
          description: >-
            Optional project identifier. Scopes the request to a specific
            project when provided.
        - name: file_id
          in: path
          required: true
          schema:
            type: string
          example: file-out789...
      responses:
        '200':
          description: JSONL body
          content:
            application/jsonl:
              schema:
                type: string
                format: binary
        '404':
          description: File not found
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key

````