---
updatedAt: 2026-10-21T12:12:00.000Z
agentTools:
  projectIndex: https://developers.katalon.com/llms.txt
---

# Download all uploaded files of a test run

A successful request to this endpoint returns all test report files of a test run, including test results, screenshots, and execution metadata.

## Request

This request uses the GET method, which is used to retrieve and export the details of a specific test run or execution from the specified resource.

For basic authorization, replace this with your actual username and password (or API key) in the header request in the `username:password` or `username:api_key` format. Your user creds are combined to form a Base64 encoded string.

Provide the following required query parameters:

* `id`: the alphanumeric ID of the test run or execution. This is required.

## Response

If authorized, the API response provides a download link of all the files related to the test run. This includes test results, screenshots, and execution metadata in the format prescribed by the REST API.

For more information, see [Download report files using REST API](https://docs.katalon.com/docs/analyze/reports/view-test-reports/view-test-reports-in-katalon-testops/view-test-run-results/download-test-report-files#download-report-files-using-rest-api).

## Try it!

1. Enter the test run ID and select the file type below.
2. Select the language in **Language**.
3. Enter your user name or API credentials.
4. Review your API call and click **Try it**!

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "x-stoplight": {
    "id": "5qnzx749ssg4b"
  },
  "info": {
    "title": "Katalon TestOps API reference",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://testops.katalon.io",
      "description": "Generated server url"
    }
  ],
  "security": [
    {
      "basicScheme": []
    }
  ],
  "tags": [
    {
      "name": "Test Run"
    }
  ],
  "paths": {
    "/api/v1/executions/{id}/download-file": {
      "get": {
        "summary": "Download all uploaded files of a test run",
        "operationId": "downloadFile",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "Test Run"
        ],
        "description": "A successful request to this endpoint returns all test report files of a test run, including test results, screenshots, and execution metadata."
      }
    }
  },
  "components": {
    "securitySchemes": {
      "basicScheme": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```