> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Download a File Revision

> Fetches the file contents of a specific revision.



## OpenAPI

````yaml /openapi/product/files.yaml get /api/data/v1/data-files/{fileId}/revision/{revisionId}
openapi: 3.0.0
info:
  title: Files API (Product)
  version: v1
  description: >
    API for managing files in Domo's Data File Service, including uploads,
    revisions, metadata, downloads, and permissions.
servers:
  - url: https://{instance}.domo.com
    description: Domo Instance
    variables:
      instance:
        default: api
        description: Your specific Domo instance name (e.g., mycompany)
security:
  - developerToken: []
tags:
  - name: Files
    description: Operations for managing files and their revisions.
paths:
  /api/data/v1/data-files/{fileId}/revision/{revisionId}:
    get:
      tags:
        - Files API (Product)
      summary: Download a File Revision
      description: Fetches the file contents of a specific revision.
      parameters:
        - name: fileId
          in: path
          required: true
          schema:
            type: integer
          description: The id of the file.
        - name: revisionId
          in: path
          required: true
          schema:
            type: integer
          description: The id of the revision you wish to download.
        - name: filename
          in: query
          schema:
            type: string
          description: The desired name for the downloaded file.
      responses:
        '200':
          description: The file content.
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '404':
          description: File or Revision Not Found
components:
  securitySchemes:
    developerToken:
      type: apiKey
      in: header
      name: X-DOMO-Developer-Token
      description: Domo Developer Token for authentication (Assumed based on similar APIs).

````