Flags experimentsApiOperations
Get analysis results
Returns the latest analysis output for the experiment — one row per metric/group/day, including sample size, mean, % delta vs. control, p-value, and a sample-ratio mismatch flag.
Use case
Render the results table on the experiment detail page or drive an automated decision once a goal metric reaches significance.
Authorization
bearerSdkKey AuthorizationBearer <token>
Pass an admin SDK key as Authorization: Bearer sdk_admin_…. Mint via POST /api/admin/keys with type: "admin".
In: header
Path Parameters
id*string
Stable opaque experiment id.
Header Parameters
X-Project-Id*string
Project the request operates on. Must match the project the SDK key belongs to.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://shipeasy.ai/api/admin/experiments/string/results" \ -H "X-Project-Id: string"{
"experiment": {
"id": "exp_01j7wb12c3d4e5f6g7h8j9k0l1",
"name": "checkout_button_color",
"status": "running"
},
"results": [
{
"metric": "checkout_completed",
"group_name": "control",
"ds": "2026-05-09",
"n": 12421,
"mean": 0.1834,
"delta_pct": null,
"p_value": null,
"srm_detected": 0
},
{
"metric": "checkout_completed",
"group_name": "treatment",
"ds": "2026-05-09",
"n": 12519,
"mean": 0.1922,
"delta_pct": 4.8,
"p_value": 0.018,
"srm_detected": 0
}
]
}{
"error": "string",
"code": "string",
"detail": "string"
}{
"error": "string",
"code": "string",
"detail": "string"
}{
"error": "string",
"code": "string",
"detail": "string"
}{
"error": "string",
"code": "string",
"detail": "string"
}{
"error": "string",
"code": "string",
"detail": "string"
}{
"error": "string",
"code": "string",
"detail": "string"
}