> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getagentdrive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Download File

> Download the raw content of a file.

## Path Parameters

<ParamField path="id" type="string" required>
  The unique identifier of the file.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.getagentdrive.com/v0/files/file_xyz789/download \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -o report.pdf
  ```
</RequestExample>

## Response

Returns the raw file content with the appropriate `Content-Type` header matching the file's MIME type. The `Content-Disposition` header is set to indicate the original filename.
