Get Context Experiment Data
GET/context
A GET request for obtaining data on your experiments.
Request
Query Parameters
environment string
An environment to filter the results by. These can be found and created in your ABsmartly Web Console settings.
Example: development
application string
An application to filter the results by. These can be found and created in your ABsmartly Web Console settings.
Example: www
Responses
- 200
- 400
- 401
- default
Success
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- ]
experiments object[]required
id integerrequired
name stringrequired
iteration integerrequired
unitType stringrequired
environment stringrequired
seed int64required
split double[]required
trafficSeed int64required
trafficSplit double[]required
fullOnVariant int32required
Possible values: <= 127
applications object[]required
name stringrequired
variants object[]required
name stringrequired
config stringnullable
audience stringrequired
audienceStrict booleanrequired
{
"experiments": [
{
"id": 123,
"name": "exp_banner_color",
"iteration": 0,
"unitType": "user_id",
"environment": "production",
"seed": 9453674179528,
"split": [
0.5,
0.5
],
"trafficSeed": -56241591889905,
"trafficSplit": [
0,
1
],
"fullOnVariant": 1,
"applications": [
{
"name": "website"
}
],
"variants": [
{
"name": "treatment",
"config": "{\"color\":\"red\"}"
}
],
"audience": "{ \"filter\": [{ \"gt\": [{ \"var\": \"age\" }, { \"value\": 20 }] }] }",
"audienceStrict": false
}
]
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
code int64required
message stringrequired
{
"code": 0,
"message": "string"
}
Unauthorized
Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
code int64required
message stringrequired
{
"code": 0,
"message": "string"
}
Loading...