---
title: "GET /download-session-file"
method: GET
path: "/download-session-file"
tags: ["Session File API"]
---

# GET /download-session-file

`GET /download-session-file`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/download-session-file`
- Auth: none declared

download a file from the asset of an SSH session or the drive of an RDP session

## Query parameters

- `id` string, required
- `path` string, required

## Response `200`

{file} file The file

## Changes

- **2026-10-22** `5e853137d85a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/casvisor/apis/casvisor-api/changes/download-session-file/get.md)

---

[API](https://skmtc.dev/casvisor/apis/casvisor-api.md) - [All operations](https://skmtc.dev/casvisor/apis/casvisor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/casvisor/apis/casvisor-api/revisions/9c4dc1ebadbe?raw)
