ListExperimentGroups
Retrieves a list of experiment groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:ListExperimentGroups |
list |
*All Resource
|
None | None |
Request syntax
GET /api/v1/experimentgroups HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| LayerId |
string |
No |
The layer ID. You can call the ListLayers operation to obtain this ID. |
3 |
| Status |
string |
No |
The status filter. Valid values:
|
Online |
| InstanceId |
string |
Yes |
The instance ID. You can call the ListInstances operation to obtain this ID. |
pairec-cn-abcdefg1234 |
| TimeRangeStart |
string |
No |
Filters experiment groups by start time. Format: YYYY-MM-DD HH:mm:ss. |
2024-08-30 12:00:00 |
| TimeRangeEnd |
string |
No |
Filters experiment groups by end time. Format: YYYY-MM-DD HH:mm:ss. |
2024-08-31 12:00:00 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
59CE7EC6-F268-5D71-9215-32922CC50D72 |
| TotalCount |
integer |
The total number of elements in the list. |
10 |
| ExperimentGroups |
array<object> |
The list of experiment groups. |
|
|
object |
|||
| ExperimentGroupId |
string |
The ID of the experiment group. |
3 |
| LayerId |
string |
The layer ID. |
3 |
| LaboratoryId |
string |
The ID of the laboratory. |
4 |
| SceneId |
string |
The ID of the scenario. |
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 debug users. |
1124512470******,1124512471******,1124512472****** |
| DebugCrowdId |
string |
The ID of the debug crowd. |
4 |
| Owner |
string |
The creator. |
1124512470****** |
| NeedAA |
boolean |
Specifies whether an AB test group is required. |
true |
| Filter |
string |
The filter conditions. |
gender=female |
| DistributionType |
string |
The traffic distribution method. Valid values:
|
UserId |
| DistributionTimeDuration |
integer |
The time period for traffic distribution. |
5 |
| CrowdId |
string |
The ID of the crowd. |
3 |
| Config |
string |
The configuration of the experiment group. |
{} |
| ReservedBuckets |
string |
The reserved bucket numbers. |
1,2,3,4 |
| Status |
string |
The status of the experiment group. Valid values:
|
Offline |
| CrowdTargetType |
string |
The type of traffic targeting for the experiment group. Valid values:
|
All |
| RandomFlow |
integer |
The percentage of random traffic used to match the experiment group when the traffic targeting type is Random. Valid values: 0 to 100. |
20 |
| HoldingBuckets |
string |
The specific bucket numbers returned based on the RandomFlow value when the traffic targeting type is Random. |
1,2,3,4 |
Examples
Success response
JSON format
{
"RequestId": "59CE7EC6-F268-5D71-9215-32922CC50D72",
"TotalCount": 10,
"ExperimentGroups": [
{
"ExperimentGroupId": "3",
"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": "{}",
"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.