After the file is successfully uploaded, you can retrieve the file content through the file extraction interface. Note that GeekAI provides asynchronous file loading, so you need to poll the file content extraction interface to obtain the file content until it is retrieved. When polling, you can check theDocumentation Index
Fetch the complete documentation index at: https://docs.geekai.co/llms.txt
Use this file to discover all available pages before exploring further.
status field in the response data to determine the file extraction status. status=reading indicates that the file is being read, status=done indicates that the file has been read successfully, and the file content can be obtained through the content field value. If status=failed, it means that the file reading failed.
API认证token
文件唯一标识符
成功响应
文件唯一ID,可通过该ID获取文件内容
文件状态: pending(待处理)/reading(读取中)/failed(读取失败)/done(已读取)
pending, reading, processing, failed, done 文件名称
文件大小
文件MIME类型
文件MD5值
文件URL地址
文件内容(只有status=done时,才会填充该字段)