GET
/
paas
/
v4
/
files
/
{file_id}
/
content
获取文件内容
curl --request GET \
  --url https://open.bigmodel.cn/api/paas/v4/files/{file_id}/content \
  --header 'Authorization: Bearer <token>'
This response does not have an example.

Authorizations

Authorization
string
header
required

使用以下格式进行身份验证:Bearer <your api key>

Path Parameters

file_id
string
required

被请求的文件的唯一标识符,用于指定要获取内容的特定文件。

Response

200
application/octet-stream

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

The response is of type file.