API 參考
Upload 物件
一小時的分段上傳預留,以及完成後的終止檔案。
一小時的分段上傳預留,以及完成後的終止檔案。
01
JSON 內容物件欄位
資源可重用物件共享的穩定欄位。
上傳16 個欄位
bytesinteger
必填
宣告的最終檔案大小(位元組)。
created_atinteger
必填
Upload 建立時的 Unix 時間戳。
expires_atinteger
必填
未完成的 Upload 過期時的 Unix 時間戳。
fileprotocol_file
選填
file.bytesinteger
必填
已儲存檔案的大小(以位元組計)。
file.created_atinteger
必填
檔案建立時的 Unix 時間戳。
file.expires_atinteger
選填
檔案過期時的可選 Unix 時間戳記。
file.filenamestring
必填
原始檔案名稱。
file.idstring
必填
RunAPI 檔案 ID。
file.objectstring
必填
物件類型。
file.purposestring
必填
檔案用途。
允許值:user_data, batch, batch_output
filenamestring
必填
已完成檔案的檔案名稱。
idstring
必填
RunAPI 上傳 ID。
objectstring
必填
物件類型。
purposestring
必填
檔案用途。
允許值:user_data, batch
statusstring
必填
上傳生命週期狀態。
允許值:pending, completed, cancelled, expired