---
updatedAt: 2025-10-17T11:21:23.000Z
agentTools:
  projectIndex: https://developer.druva.com/llms.txt
---

# Download File

Request the download of a file

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "3.0",
    "title": "AWS Native"
  },
  "x-explorer-enabled": true,
  "paths": {
    "/organizations/{organization_id}/accounts/{account_id}/filelevelsearch/download_files": {
      "post": {
        "summary": "Download File",
        "description": "Request the download of a file",
        "responses": {
          "200": {
            "description": "200 response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostOrganizationsAccountsFilelevelsearchDownloadFilesResponse"
                }
              }
            }
          },
          "201": {
            "description": "201 response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/empty"
                }
              }
            }
          },
          "401": {
            "description": "401 response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "403 response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "404 response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "organization_id",
            "in": "path",
            "description": "Organization Id of the Organization that you are working with. This can be found by looking at the organization id in the URL of the dashboard. These are randomly generated alphanumber values",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "account_id",
            "in": "path",
            "description": "Account id of the CloudRanger Account that you are managing inside an organization, these can be found by call the /organizations/{organization_id}/accounts endpoints which returns all accounts inside an Organization These are randomly generated alphanumber values",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostOrganizationsAccountsFilelevelsearchDownloadFilesRequest"
              }
            }
          },
          "description": "Download Files Info",
          "required": true
        },
        "tags": [
          "FileLevelSearch"
        ],
        "security": [
          {
            "Bearer": []
          }
        ]
      }
    }
  },
  "servers": [
    {
      "url": "//apis.druva.com/awsnative"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          }
        }
      },
      "empty": {
        "type": "object",
        "properties": {}
      },
      "PostOrganizationsAccountsFilelevelsearchDownloadFilesRequest": {
        "type": "object",
        "properties": {
          "files": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "fileName": {
                  "type": "string"
                },
                "filePath": {
                  "type": "string"
                },
                "snapshot": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "backupTime": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "region": {
                      "type": "string"
                    }
                  }
                },
                "region": {
                  "type": "string"
                },
                "bucketName": {
                  "type": "string"
                },
                "fileRestoreData": {
                  "type": "integer"
                }
              }
            }
          },
          "fls_bucket": {
            "type": "string"
          }
        }
      },
      "PostOrganizationsAccountsFilelevelsearchDownloadFilesResponse": {
        "type": "object"
      }
    }
  },
  "x-readme": {
    "proxy-enabled": true
  }
}
```