---
title: "Download a file or get upload session status"
method: GET
path: "/storage/{bucketName}/{path}"
tags: ["Storage Objects"]
---

# Download a file or get upload session status

`GET /storage/{bucketName}/{path}`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/storage/{bucketName}/{path}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Download a file, or get the status of a resumable upload session.

**File Download (default):**
Downloads the file at the specified path.

**Session Status (with X-Upload-Session header):**
Returns the status of a resumable upload session, including which parts have been uploaded.
Anonymous sessions must reuse the exact anon key that created the session.

## Path parameters

- `bucketName` string, required
- `path` string, required

## Headers

- `Range` string
- `X-Upload-Session` string

## Response `200`

File content or session status

- UploadSessionStatusResponse: Status of an upload session
  - `session_id` string: Upload session ID
  - `status` 'pending' | 'uploading' | 'completing' | 'completed' | 'aborted': Current status of the upload
  - `path` string: Target file path
  - `content_type` string: MIME type
  - `total_size` integer: Total file size in bytes
  - `part_size` integer: Size of each part (except last)
  - `total_parts` integer: Total number of parts
  - `parts_uploaded` integer: Number of parts uploaded
  - `bytes_uploaded` integer: Total bytes uploaded so far
  - `parts` UploadSessionPart[]: List of uploaded parts (for resume)
    - `part_number` integer: Part number (1-10000)
    - `etag` string: ETag of the uploaded part
    - `size` integer: Size of the part in bytes
  - `expires_at` string, date-time: Session expiry time
  - `created_at` string, date-time: Session creation time

## Other responses

- `206`: Partial content (range request)
- `400`: Invalid Range header format
- `403`: Access denied by storage policy
- `404`: Object or session not found, or session not owned by this credential
- `416`: The requested byte range does not overlap the file content.
- `429`: The platform user exceeded their billing-cycle bandwidth allowance (aggregate ingress + egress across owned projects). Enforcement is eventual: requests are rejected until the allowance increases or the next anniversary cycle begins.

## Changes

- **2026-10-26** `4b0676e06128`: 1 info
  - added the non-success response with the status `416`
- **2026-09-19** `3a6f365f3f35`: 3 breaking, 14 info
  - added the new path request parameter `bucketName`
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `429`
  - added the optional property `bytes_uploaded` to the response with the `200` status
  - …13 more
- **2026-08-27** `bb44e98aba2e`: 3 breaking, 14 warning
  - the response's body type changed from `object` to no type for status `200`
  - the response's body type changed from `object` to no type for status `429`
  - removed the required property `error` from the response with the `429` status
  - deleted the `path` request parameter `bucketName`
  - …13 more
- **2026-07-27** `bb52784e098a`: 1 info
  - added the optional property `code` to the response with the `429` status

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/storage/:bucketName/:path/get.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
