查看一个实验详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
GET /v2/openapi/instances/{instanceId}/scenes/{sceneId}/experiments/{experimentId} HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| instanceId |
string |
是 |
实例 ID。 |
airec-cn-**** |
| sceneId |
string |
是 |
场景 ID |
sceneId |
| experimentId |
string |
是 |
实验 ID |
23245 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回参数。 |
||
| result |
object |
返回参数。 |
|
| base |
boolean |
是否为默认实验。 |
true |
| onlineTime |
string |
实验上线时间。 |
2020-11-11T09:47:43.000Z |
| offlineTime |
string |
实验下线时间。 |
2020-11-11T09:47:43.000Z |
| description |
string |
实验备注。 |
xxx |
| status |
string |
实验状态。 取值:
|
1 |
| name |
string |
实验名称。 |
test |
| 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 |
实验值。 |
空 |
| hasConfig |
boolean |
是否有子配置项。 取值:
|
false |
| category |
string |
算法类目。 取值:
|
2 |
| name |
string |
实验名称。 |
test |
| buckets |
array |
分桶列表,上线实验时该字段才生效。 |
|
|
string |
分桶信息。 |
["1","2","3"] |
|
| experimentId |
string |
实验 ID。 |
12345 |
| requestId |
string |
请求 ID。 |
E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B |
示例
正常返回示例
JSON格式
{
"result": {
"base": true,
"onlineTime": "2020-11-11T09:47:43.000Z",
"offlineTime": "2020-11-11T09:47:43.000Z",
"description": "xxx",
"status": "1",
"name": "test",
"algorithms": [
{
"key": "I2I",
"config": [
{
"key": "I2I",
"defaultValue": "true",
"experimentValue": "400",
"name": "xxx"
}
],
"defaultValue": "true",
"type": "SYSTEM",
"experimentValue": "空",
"hasConfig": false,
"category": "2",
"name": "test"
}
],
"buckets": [
"[\"1\",\"2\",\"3\"]"
],
"experimentId": "12345"
},
"requestId": "E3D6FE3B-B7C2-43DA-9A13-5EA837ACED9B"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。