Get Experiment Data
GET/experiment
A GET request for obtaining data on all running experiments.
Request
Header Parameters
X-Agent stringrequired
The User-Agent of your SDK.
Example: absmartly-Java-SDK v1.0.1
X-Environment stringrequired
The environment in which you are running your experiments. These can be found and created in your ABsmartly Web Console settings.
Example: development
X-Application stringrequired
The application in which you are running your experiments. These can be found and created in your ABsmartly Web Console settings.
Example: www
X-Application-Version int64required
The application version which you are running your experiments on.
Example: 0
Responses
- 200
- 401
- default
Success
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
experiments object[]required
id integerrequired
name stringrequired
iteration integerrequired
split double[]required
trafficSplit double[]required
variants object[]required
name stringrequired
config stringnullable
{
"experiments": [
{
"id": 123,
"name": "exp_banner_color",
"iteration": 0,
"split": [
0.5,
0.5
],
"trafficSplit": [
0,
1
],
"variants": [
{
"name": "treatment",
"config": "{\"color\":\"red\"}"
}
]
}
]
}
Unauthorized
Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
code int64required
message stringrequired
{
"code": 0,
"message": "string"
}
Loading...