---
title: "下载 File 内容"
method: GET
path: "/agent/managed/v1/files/{fileId}/content"
tags: ["Managed Agents - File"]
---

# 下载 File 内容

`GET /agent/managed/v1/files/{fileId}/content`

## Request

- Base URL: `https://agent-api.bigmodel.cn/api`
- URL: `https://agent-api.bigmodel.cn/api/agent/managed/v1/files/{fileId}/content`
- Auth: HTTP bearer

下载指定 File 的原始二进制内容。响应媒体类型和文件名由已保存的文件元数据决定。

## Path parameters

- `fileId` string, required

## Headers

- `zai-version` '2026-05-26', required
- `zai-beta` string, required

## Response `200`

文件内容。

## Other responses

- `default`: 请求失败。

## Changes

- **2026-11-03** `7fd61aa7f811`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bigmodel/apis/zhipu-ai-api/changes/agent/managed/v1/files/:fileId/content/get.md)

---

[API](https://skmtc.dev/bigmodel/apis/zhipu-ai-api.md) - [All operations](https://skmtc.dev/bigmodel/apis/zhipu-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bigmodel/apis/zhipu-ai-api/revisions/f2be7c0fcbb9?raw)
