全部產品
Search
文件中心

STAROps:GetArtifactDownloadUrl

更新時間:Jul 27, 2026

取得產物下載連結。

介面說明

取得產物內容下載連結,適用於大型檔案。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求文法

GET /digitalEmployee/{name}/artifacts/downloadUrl HTTP/1.1

路徑參數

名稱

類型

必填

描述

樣本值

name

string

數位員工名稱。

sample-agent

請求參數

名稱

類型

必填

描述

樣本值

artifactPath

string

產物檔案路徑,相對於數位員工產物根目錄。

reports/summary.pdf

返回參數

名稱

類型

描述

樣本值

object

requestId

string

請求 ID。

0A1B2C3D-4E5F-6789-ABCD-1234567890AB

url

string

臨時下載連結。

https://example-bucket.oss-cn-shanghai.aliyuncs.com/agents/123/sample-agent/home/starops/reports/summary.pdf?response-content-disposition=attachment&Expires=1770000000&OSSAccessKeyId=LTAI******&Signature=******

expire

integer

下載連結過期時間,Unix 時間戳記,單位為秒。

1770000000

樣本

正常返回樣本

JSON格式

{
  "requestId": "0A1B2C3D-4E5F-6789-ABCD-1234567890AB",
  "url": "https://example-bucket.oss-cn-shanghai.aliyuncs.com/agents/123/sample-agent/home/starops/reports/summary.pdf?response-content-disposition=attachment&Expires=1770000000&OSSAccessKeyId=LTAI******&Signature=******",
  "expire": 1770000000
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情