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

# Download File

> Download one of your uploaded files.

Redirects to a link valid for 5 minutes that serves the file as an attachment. Its
Content-Type is the file's own for documents, images, audio and video, and
`application/octet-stream` for any other type. Answers 404 like `GET /v3/upload/{file_id}`.



## OpenAPI

````yaml https://api.edenai.run/v3/docs/openapi.json get /v3/upload/{file_id}/content
openapi: 3.1.0
info:
  title: Eden AI API V3
  version: 3.0.0
servers:
  - url: https://api.edenai.run
    description: Production server
security: []
paths:
  /v3/upload/{file_id}/content:
    get:
      tags:
        - files management
      summary: Download File
      description: >-
        Download one of your uploaded files.


        Redirects to a link valid for 5 minutes that serves the file as an
        attachment. Its

        Content-Type is the file's own for documents, images, audio and video,
        and

        `application/octet-stream` for any other type. Answers 404 like `GET
        /v3/upload/{file_id}`.
      operationId: download_file_v3_upload__file_id__content_get
      parameters:
        - name: file_id
          in: path
          required: true
          schema:
            type: string
            examples:
              - file-eden-kuhiiahctna5jjywirtfkraaaa
            title: File Id
      responses:
        '302':
          description: Redirect to a download link valid for 5 minutes
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - AuthBearer: []
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
  securitySchemes:
    AuthBearer:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.