---
title: "Experiment variant report"
method: GET
path: "/api/reports/experiment/detail/{push_id}/{variant_id}"
tags: ["Reports"]
---

# Experiment variant report

`GET /api/reports/experiment/detail/{push_id}/{variant_id}`

## Request

- Base URL: `https://go.urbanairship.com`
- URL: `https://go.urbanairship.com/api/reports/experiment/detail/{push_id}/{variant_id}`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
  - OAuth 2
    - Client credentials
    - Token URL: `http://oauth2.{domain}.com/token` scopes: `rpt`
- TypeScript: <https://skmtc.dev/airship/apis/airship-api/docs/api/reports/experiment/detail/:push_id/:variant_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns statistics and metadata about a specific variant in an experiment (A/B Test).

## Response `200`

Returned on success.

- object
  - `app_key` string: The app key for the given `push_id`.
  - `created` string, date-time: The [date-time](/developer/rest-api/ua/introduction/#date-time-format) when the variant was created.
  - `direct_responses` integer: The number of direct responses to the variant.
  - `experiment_id` string, uuid: ID of the experiment that the variant belongs to.
  - `influenced_responses` integer: The total number of influenced responses to the variant.
  - `platforms` object
    - `amazon` VariantPlatformObject
      - `direct_responses` integer: The number of direct responses (clicks/app opens) to the variant notification on this platform as measured by the SDK.
      - `influenced_responses` integer: The number of opens or clicks resulting from your notification (directly or indirectly).
      - `sends` integer: The total number of audience members that accounted the variant on the specified platform.
    - `android` VariantPlatformObject
      - `direct_responses` integer: The number of direct responses (clicks/app opens) to the variant notification on this platform as measured by the SDK.
      - `influenced_responses` integer: The number of opens or clicks resulting from your notification (directly or indirectly).
      - `sends` integer: The total number of audience members that accounted the variant on the specified platform.
    - `ios` VariantPlatformObject
      - `direct_responses` integer: The number of direct responses (clicks/app opens) to the variant notification on this platform as measured by the SDK.
      - `influenced_responses` integer: The number of opens or clicks resulting from your notification (directly or indirectly).
      - `sends` integer: The total number of audience members that accounted the variant on the specified platform.
    - `web` VariantPlatformObject
      - `direct_responses` integer: The number of direct responses (clicks/app opens) to the variant notification on this platform as measured by the SDK.
      - `influenced_responses` integer: The number of opens or clicks resulting from your notification (directly or indirectly).
      - `sends` integer: The total number of audience members that accounted the variant on the specified platform.
  - `push_id` string, uuid: The specific push_id that the variant belonged to.
  - `variant` integer: The individual variant you want to return results for. Variants are ordered 1-26 in the order that they are arranged in the `variants` array when you created the experiment.
  - `variant_name` string: The name of the variant specified in the endpoint.

---

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