API 參考
列出工具執行
GET
/v1/runs使用 limit、status 和不透明的 cursor 依最新優先列出屬於目前呼叫者的執行。摘要不含輸入和輸出。有界掃描可能回傳空的篩選頁,但仍帶有 cursor;請繼續查詢直到 cursor 為 null。此介面會跳過無法表示其計價規則的執行,可透過 GET /v1/tool-runs/{run_id} 讀取。
鑑權與許可權
使用當前 GloopAPI Key。模型、功能與許可權以當前 Key 的目錄及介面說明為準。
Authorization: Bearer $GLOOP_API_KEY鑑權方案: BearerAuth
請求
查詢引數
響應與錯誤
HTTP 200
成功回應。
application/json
- 型別
- object
- 額外屬性
- false
- 必填欄位
itemscursor
itemsarray必填items 子欄位(1)
[]object選填- 額外屬性
false
[] 子欄位(13)
runIdstring必填callerstring必填providerstring必填- 最短長度
1
endpointstring必填- 最短長度
1
statusstring必填- 列舉
["READY","RUNNING","STOPPING","COMPLETED","FAILED","BLOCKED","STOPPED","TIMED_OUT"]
stoppableboolean選填providerResponseobject選填- 額外屬性
false
providerResponse 子欄位(2)
httpStatusinteger必填errorstring選填
priceobject必填- 額外屬性
false
costobject選填- 額外屬性
false
billedUnitsinteger選填- 最小值
0
createdAtstring必填- 格式
"date-time"
completedAtstring選填- 格式
"date-time"
resultExpiredboolean選填
HTTP 401
數字錯誤碼和安全的提示訊息。驗證身分、存取控制、參數驗證及流量限制錯誤均採用此格式。
application/json
- 型別
- object
- 額外屬性
- false
- 必填欄位
codemessage
HTTP default
數字錯誤碼和安全的提示訊息。驗證身分、存取控制、參數驗證及流量限制錯誤均採用此格式。
application/json
- 型別
- object
- 額外屬性
- false
- 必填欄位
codemessage