文件

下载文件

流式下载文件原始字节。

先调用「上传文件」,用返回的文件 ID 替换示例文件 ID。

GET /file/v1/files/{file_id}/content● 支持

请求参数

  • file_idstring必填

    path: The ID of the file to use for this request.

返回

200

错误按 OpenAI 格式返回,参见 错误码

响应

HTTP 200

OK

application/octet-stream

名称类型说明
$string (binary)