---
title: "Get A/B test metrics"
method: GET
path: "/abtest/{id}/metrics"
tags: ["A/B testing"]
---

# Get A/B test metrics

`GET /abtest/{id}/metrics`

## Path parameters

- `id` integer, required

## Response `200`

OK

- AbTestMetricApiModel[]
  - `SampleTime` string, date-time — SampleTime of the A/B test metric
  - `TestId` string — Id of the A/B test this metric belongs to
  - `Variant` string — Variant of the A/B test metric
  - `Metric` string — Metric of the A/B test metric
  - `Value` number, double — Value of the A/B test metric

## Other responses

- `404` — A/B test not/no metrics found

---

[API](https://skmtc.net/tweakwise/apis/frontend-api.md) · [All operations](https://skmtc.net/tweakwise/apis/frontend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tweakwise/frontend-api/revisions/9bd1e2b3633f/schema)
