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

# Returns A/B test metrics

`GET /abtest/{id}/metrics`

## Request

- The document declares no server URL.
- Auth: API key in header `TWN-InstanceKey` and API key in header `TWN-Authentication`

## Path parameters

- `id` integer, required

## Response `200`

OK

- AbTestMetricApiModel[]
  - `SampleTime` string, date-time, nullable
  - `TestId` string
  - `Variant` string, nullable
  - `Metric` string, nullable
  - `Value` number, double, nullable

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/tweakwise/apis/app-api.md) - [All operations](https://skmtc.dev/tweakwise/apis/app-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tweakwise/apis/app-api/revisions/dc936bf76941?raw)
