擷取基礎實驗。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求文法
GET /v2/openapi/instances/{instanceId}/scenes/{sceneId}/base-experiment HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| instanceId |
string |
是 |
執行個體 ID。 |
airec-cn-**** |
| sceneId |
string |
是 |
情境 ID。 |
sceneId |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回參數。 |
||
| result |
object |
返回參數。 |
|
| base |
boolean |
是否為預設實驗。 |
true |
| onlineTime |
string |
實驗上線時間。 |
2020-12-07T06:47:30.000Z |
| offlineTime |
string |
實驗下線/推全時間。 |
2020-12-07T06:47:30.000Z |
| description |
string |
實驗備忘。 |
xxx |
| status |
string |
實驗狀態。 取值:
|
Init |
| name |
string |
實驗名稱。 |
測試實驗 |
| algorithms |
array<object> |
實驗參數列表。 |
|
|
object |
實驗參數資訊。 |
||
| key |
string |
演算法 key。 取值:
|
I2I |
| config |
array<object> |
子配置項列表。 |
|
|
object |
子配置項資訊。 |
||
| key |
string |
演算法配置項 key。 |
I2I |
| defaultValue |
string |
演算法配置項預設值。 |
true |
| experimentValue |
string |
實驗值。 |
400 |
| name |
string |
子配置名稱。 |
xxx |
| defaultValue |
string |
預設召回數量。 |
true |
| type |
string |
演算法類別。 取值:
|
SYSTEM |
| experimentValue |
string |
實驗值。 |
400 |
| hasConfig |
boolean |
是否有子配置項。 取值:
|
false |
| category |
string |
演算法類目。 取值:
|
RECALL |
| name |
string |
實驗名稱。 |
xxx |
| buckets |
array |
分桶列表,上線實驗時該欄位才生效。 |
|
|
string |
分桶資訊。 |
[1,2,3] |
|
| experimentId |
string |
實驗 ID。 |
xxx |
| requestId |
string |
請求的 ID。 |
A74E3FB7-406C-5CBB-833E-E49308B5DC05 |
樣本
正常返回樣本
JSON格式
{
"result": {
"base": true,
"onlineTime": "2020-12-07T06:47:30.000Z",
"offlineTime": "2020-12-07T06:47:30.000Z",
"description": "xxx",
"status": "Init",
"name": "測試實驗",
"algorithms": [
{
"key": "I2I",
"config": [
{
"key": "I2I",
"defaultValue": "true",
"experimentValue": "400",
"name": "xxx"
}
],
"defaultValue": "true",
"type": "SYSTEM",
"experimentValue": "400",
"hasConfig": false,
"category": "RECALL",
"name": "xxx"
}
],
"buckets": [
"[1,2,3]"
],
"experimentId": "xxx"
},
"requestId": "A74E3FB7-406C-5CBB-833E-E49308B5DC05"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。