Retrieves details for a specified experiment group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:GetExperimentGroup |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/experimentgroups/{ExperimentGroupId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ExperimentGroupId |
string |
Yes |
The ID of the experiment group. You can call the |
3 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. You can call the |
pairec-cn-abcdefg1234 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID. |
BDB621CB-A81E-5D39-8793-39A365CBCC74 |
| LayerId |
string |
The ID of the layer. |
3 |
| LaboratoryId |
string |
The ID of the laboratory. |
4 |
| SceneId |
string |
The ID of the scene. |
1 |
| Name |
string |
The name of the experiment group. |
experiment_group1 |
| Description |
string |
The description of the experiment group. |
This is a test. |
| DebugUsers |
string |
The user IDs for debugging, separated by commas. |
1124512470******,1124512471******,1124512472****** |
| DebugCrowdId |
string |
The ID of the debug crowd. |
4 |
| Owner |
string |
The owner of the experiment group. |
1124512470****** |
| NeedAA |
boolean |
Indicates whether an A/B test is required. |
true |
| Filter |
string |
The filter. |
gender=female |
| DistributionType |
string |
The traffic distribution method.
● |
UserId |
| DistributionTimeDuration |
integer |
The distribution duration. |
5 |
| CrowdId |
string |
The ID of the crowd. |
3 |
| Config |
string |
The configuration of the experiment group. |
{"RankBy": "Score"} |
| ReservedBuckets |
string |
The reserved bucket IDs. |
1,2,3,4 |
| Status |
string |
The status of the experiment group. Valid values:
● |
Offline |
| CrowdTargetType |
string |
The method for targeting traffic to the experiment group. Valid values:
|
All |
| RandomFlow |
integer |
The percentage of traffic from 0 to 100 that is randomly allocated to this experiment group. This parameter is returned only when |
20 |
| HoldingBuckets |
string |
The bucket IDs that correspond to the |
1,2,3,4 |
Examples
Success response
JSON format
{
"RequestId": "BDB621CB-A81E-5D39-8793-39A365CBCC74",
"LayerId": "3",
"LaboratoryId": "4",
"SceneId": "1",
"Name": "experiment_group1",
"Description": "This is a test.",
"DebugUsers": "1124512470******,1124512471******,1124512472******",
"DebugCrowdId": "4",
"Owner": "1124512470******",
"NeedAA": true,
"Filter": "gender=female",
"DistributionType": "UserId",
"DistributionTimeDuration": 5,
"CrowdId": "3",
"Config": "{\"RankBy\": \"Score\"}",
"ReservedBuckets": "1,2,3,4",
"Status": "Offline",
"CrowdTargetType": "All",
"RandomFlow": 20,
"HoldingBuckets": "1,2,3,4"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.