---
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`

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

---

[API](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server.md) · [All operations](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/significant-gravitas/autogpt-agent-server/versions/382041c7ecb2/schema)
