Shipeasy
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…

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.

GET
/api/admin/experiments/{id}/results

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 (exp_…) or the experiment's name.

Length1 <= length <= 128

Header Parameters

X-Project-Id?string

Project the request operates on. Optional — defaults to the project the SDK key belongs to; pass it only to scope a multi-project key (the generated client sets it once from its configuration, so per-call callers never thread it).

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"
{
  "experiment": {
    "id": "exp_01j7wb12c3d4e5f6g7h8j9k0l1",
    "name": "checkout_button_color",
    "status": "running"
  },
  "results": [
    {
      "metric": "checkout_completed",
      "groupName": "control",
      "ds": "2026-05-09",
      "n": 12421,
      "mean": 0.1834,
      "variance": 0.1498,
      "delta": null,
      "deltaPct": null,
      "ci95Low": null,
      "ci95High": null,
      "ci99Low": null,
      "ci99High": null,
      "ciLow": null,
      "ciHigh": null,
      "pValue": null,
      "expectedN": 15000,
      "realizedMde": null,
      "srmPValue": 0.82,
      "srmDetected": 0,
      "msprtSignificant": null,
      "msprtLambda": null,
      "isFinal": 0,
      "peekWarning": 0
    },
    {
      "metric": "checkout_completed",
      "groupName": "treatment",
      "ds": "2026-05-09",
      "n": 12519,
      "mean": 0.1922,
      "variance": 0.1553,
      "delta": 0.0088,
      "deltaPct": 4.8,
      "ci95Low": 0.0015,
      "ci95High": 0.0161,
      "ci99Low": -0.0008,
      "ci99High": 0.0184,
      "ciLow": 0.0015,
      "ciHigh": 0.0161,
      "pValue": 0.018,
      "expectedN": 15000,
      "realizedMde": 0.0079,
      "srmPValue": 0.82,
      "srmDetected": 0,
      "msprtSignificant": null,
      "msprtLambda": null,
      "isFinal": 0,
      "peekWarning": 0
    }
  ],
  "verdict": "ship"
}
{
  "error": "Malformed request (bad JSON, missing project scope).",
  "code": "BAD_REQUEST"
}
{
  "error": "Missing or invalid admin SDK key.",
  "code": "UNAUTHORIZED"
}

{
  "error": "Key is valid but not allowed to act on this project.",
  "code": "FORBIDDEN"
}

{
  "error": "The resource does not exist or is not visible to the caller.",
  "code": "NOT_FOUND"
}

{
  "error": "A resource with this name already exists in the project.",
  "code": "ALREADY_EXISTS"
}

{
  "error": "The request body failed structural (schema) validation.",
  "code": "VALIDATION"
}

Was this page helpful?
✎ Edit this page