---
title: "Download file by ID"
method: GET
path: "/api/workspace/files/{file_id}/download"
tags: ["workspace"]
---

# Download file by ID

`GET /api/workspace/files/{file_id}/download`

Download a file by its ID.

Returns the file content directly or redirects to a signed URL for GCS.

## Path parameters

- `file_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `401` — Authentication required
- `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)
