Run opportunity detection
POST/experiments/:experimentId/opportunityDetection
Run opportunity detection and get winner pairs for experiment
Request
Path Parameters
experimentId int64required
- application/json
Body
required
Array [
]
dateIntervals
object[]
Date intervals result should be bounded with
start date-time
Start timestamp
end date-time
End timestamp
mainGoalId int64
ID of main goal
Responses
- 200
- 400
- 403
- 423
- 500
OK
- */*
- Schema
- Example (from schema)
Schema
Array [
]
segmentInfo
object
required
estimatedUplift doublerequired
segmentId stringrequired
segmentName stringrequired
segmentReliability doublerequired
segmentSize doublerequired
variationId stringrequired
[
{
"segmentInfo": {
"estimatedUplift": 0,
"segmentId": "string",
"segmentName": "string",
"segmentReliability": 0,
"segmentSize": 0
},
"variationId": "string"
}
]
Bad Request
- */*
- Schema
- Example (from schema)
Schema
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS
, ERROR
]
sub string
time int64
timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS
, ERROR
]
sub string
time int64
timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Locked
- */*
- Schema
- Example (from schema)
Schema
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS
, ERROR
]
sub string
time int64
timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Internal Server Error
- */*
- Schema
- Example (from schema)
Schema
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS
, ERROR
]
sub string
time int64
timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Loading...