cURL
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.
获取文件内容。只支持batch与file-extract文件类型。
使用以下格式进行身份验证:Bearer <your api key>
被请求的文件的唯一标识符,用于指定要获取内容的特定文件。
请求成功,返回文件字节流。
The response is of type file.
file
Was this page helpful?