Returns 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 get this ID by calling the ListLayers operation. |
3 |
| Status |
string |
No |
The status of the experiment group. Valid values: Offline, Online, and Pushed. |
Online |
| InstanceId |
string |
Yes |
The instance ID. You can get this ID by calling the ListInstances operation. |
pairec-cn-abcdefg1234 |
| TimeRangeStart |
string |
No |
The start time for filtering experiment groups. |
2024-08-30 12:00:00 |
| TimeRangeEnd |
string |
No |
The end time for filtering experiment groups. |
2024-08-31 12:00:00 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The ID of the request. |
59CE7EC6-F268-5D71-9215-32922CC50D72 |
| TotalCount |
integer |
The total number of entries. |
10 |
| ExperimentGroups |
array<object> |
The list of experiment groups. |
|
|
object |
|||
| ExperimentGroupId |
string |
The experiment group ID. |
3 |
| LayerId |
string |
The layer ID. |
3 |
| LaboratoryId |
string |
The laboratory ID. |
4 |
| SceneId |
string |
The scene ID. |
1 |
| Name |
string |
The experiment group name. |
experiment_group1 |
| Description |
string |
The experiment group description. |
This is a test. |
| DebugUsers |
string |
The IDs of debug users, separated by commas. |
1124512470******,1124512471******,1124512472****** |
| DebugCrowdId |
string |
The debug crowd ID. |
4 |
| Owner |
string |
The owner of the experiment group. |
1124512470****** |
| NeedAA |
boolean |
Specifies whether to enable A/B testing for the experiment group. |
true |
| Filter |
string |
The filter condition. |
gender=female |
| DistributionType |
string |
The traffic distribution method. |
UserId |
| DistributionTimeDuration |
integer |
The distribution duration. This parameter is required only when |
5 |
| CrowdId |
string |
The crowd ID. |
3 |
| Config |
string |
The configuration for the experiment group, in JSON format. |
{} |
| ReservedBuckets |
string |
The IDs of reserved buckets, separated by commas. |
1,2,3,4 |
| Status |
string |
The status of the experiment group. Valid values: |
Offline |
| CrowdTargetType |
string |
The traffic targeting method for the experiment group. Valid values:
|
All |
| RandomFlow |
integer |
If |
20 |
| HoldingBuckets |
string |
If |
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.