---
title: "Download a file from a shared execution"
method: GET
path: "/api/public/shared/{share_token}/files/{file_id}/download"
tags: ["v1", "graphs"]
---

# Download a file from a shared execution

`GET /api/public/shared/{share_token}/files/{file_id}/download`

## Request

- The document declares no server URL.
- Auth: none declared

Download a workspace file from a shared execution (no auth required).

Validates that the file was explicitly exposed when sharing was enabled.
Returns a uniform 404 for all failure modes to prevent enumeration attacks.

## Path parameters

- `share_token` string, required
- `file_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-04-21** `9d37523fdfa9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/changes/api/public/shared/:share_token/files/:file_id/download/get.md)

---

[API](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server.md) - [All operations](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/llms.txt) - [OpenAPI document](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/revisions/c508818c16ad?raw)
