---
title: "Download a public file (no authentication required)"
method: GET
path: "/public/{projectId}/{bucketName}/{path}"
tags: ["Storage Objects"]
---

# Download a public file (no authentication required)

`GET /public/{projectId}/{bucketName}/{path}`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/public/{projectId}/{bucketName}/{path}`
- Auth: none declared

Download a file that has been marked as public. This endpoint requires NO authentication.

**Access Requirements:**
- The file must have `is_public: true` set via the visibility endpoint
- Private files will return 403 Forbidden

**Use Cases:**
- Shareable public URLs for profile pictures, public documents, etc.
- Embedding public files on external websites
- Direct linking without requiring SDK or authentication

**URL Format:**
```
GET /public/{projectId}/{bucketName}/{path}
```

**Example:**
```
https://api.volcano.dev/public/abc123/avatars/user-photo.jpg
```

**CORS:**
This endpoint allows all origins since the file is already public.

## Path parameters

- `projectId` string, uuid, required
- `bucketName` string, required
- `path` string, required

## Response `200`

File content

## Other responses

- `206`: Partial content (range request)
- `404`: Not found (file doesn't exist or is not public)
- `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`: 2 breaking, 2 info
  - added the new path request parameter `bucketName`
  - the response's body type changed from no type to `object` for status `429`
  - added the optional property `code` to the response with the `429` status
  - added the required property `error` to the response with the `429` status
- **2026-08-27** `bb44e98aba2e`: 2 breaking, 2 warning
  - 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`
  - removed the optional property `code` from the response with the `429` status
- **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/public/:projectId/: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)
