---
title: "文件内容"
method: GET
path: "/paas/v4/files/{file_id}/content"
tags: ["文件 API"]
---

# 文件内容

`GET /paas/v4/files/{file_id}/content`

获取文件内容。只支持 `batch` 文件类型。点击 **Try it** 按钮可快速试用。

## Path parameters

- `file_id` string, required

## Response `200`

请求成功，返回文件字节流。

## Other responses

- `default` — 请求失败。

---

[API](https://skmtc.net/bigmodel/apis/zhipu-ai-api.md) · [All operations](https://skmtc.net/bigmodel/apis/zhipu-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bigmodel/zhipu-ai-api/revisions/37de2d7b73de/schema)
