---
title: "Get A/B test results"
method: GET
path: "/api/broadcasts.getTestResults"
---

# Get A/B test results

`GET /api/broadcasts.getTestResults`

Retrieves the performance metrics for all variations in an A/B test broadcast.

## Query parameters

- `workspace_id` string, required
- `id` string, required

## Response `200`

Test results retrieved successfully

- TestResultsResponse
  - `broadcast_id` string — ID of the broadcast
  - `status` string — Current broadcast status
  - `test_started_at` string, date-time, nullable — When the test started
  - `test_completed_at` string, date-time, nullable — When the test completed
  - `variation_results` object — Results for each variation, keyed by template_id
  - `recommended_winner` string, nullable — Recommended winning template ID based on metrics
  - `winning_template` string, nullable — Selected winning template ID
  - `is_auto_send_winner` boolean — Whether winner will be automatically sent

## Other responses

- `400` — Bad request - validation failed
- `401` — Unauthorized - invalid or missing authentication token
- `500` — Internal server error

## Changes

- **2025-11-14** `940c5636d0b4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/pierre-b/apis/notifuse-api/changes/api/broadcasts.getTestResults/get.md)

---

[API](https://skmtc.dev/pierre-b/apis/notifuse-api.md) · [All operations](https://skmtc.dev/pierre-b/apis/notifuse-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pierre-b/notifuse-api/revisions/d26605f2fc47/schema)
