Skip to Content
API 文档Files文件对象

File 对象

单个 File 对象的描述信息

属性

  • id string
    File 的唯一 ID
  • object string
    对象类型,此处总为file
  • bytes int
    文件大小
  • created_at int
    File 的创建时间,类型为 Unix 时间戳,单位 s
  • filename string
    文件名
  • purpose string
    上传意图,可选项为 file-extractretrieval-textretrieval-imagestorage
  • status string
    处理状态,可选项为 successprocessed

示例

{ "id": "file-abc123", "object": "file", "bytes": 140, "created_at": 1613779121, "filename": "salesOverview.pdf", "purpose": "file-extract", }
Last updated on