cURL
curl --request GET \ --url https://open.bigmodel.cn/api/paas/v4/files/{file_id}/content \ --header 'Authorization: Bearer <token>'
"<string>"
获取文件内容。只支持 batch 文件类型。
batch
Documentation IndexFetch the complete documentation index at: https://docs.bigmodel.cn/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.bigmodel.cn/llms.txt
Use this file to discover all available pages before exploring further.
使用以下格式进行身份验证:Bearer
被请求的文件的唯一标识符,用于指定要获取内容的特定文件。
请求成功,返回文件字节流。
The response is of type file.
file