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

# Retrieve File Content

> Returns the contents of the specified file.



## OpenAPI

````yaml /api-reference/openapi.json get /files/{file_id}/content
openapi: 3.0.0
info:
  title: Vaero API
  version: 1.0.0
  description: API for file uploads to Vaero platform.
servers:
  - url: https://vaeroapi.com/v1
    description: Production server
security: []
paths:
  /files/{file_id}/content:
    get:
      tags:
        - Files
      summary: Retrieve File Content
      description: Returns the contents of the specified file.
      parameters:
        - name: file_id
          in: path
          required: true
          schema:
            type: string
          description: The ID of the file to retrieve content for.
      responses:
        '200':
          description: The file content.
          content:
            text/plain:
              schema:
                type: string
                description: The raw content of the file.
        '401':
          description: >-
            Unauthorized. The request was missing authentication or contained
            invalid credentials.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message explaining the issue.
                    example: Invalid API key.
        '404':
          description: File not found. The specified file ID does not exist.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message explaining the issue.
                    example: File not found.
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````