---
title: "Test Metric Results"
method: GET
path: "/v1/projects/{project}/test-metric-results"
tags: ["Metrics"]
---

# Test Metric Results

`GET /v1/projects/{project}/test-metric-results`

Fetch metric results with the given parameters

## Path parameters

- `project` string, required

## Query parameters

- `feature` string, required
- `control` string, required
- `optimize` 'increase' | 'decrease', required
- `environment` string
- `event` string, required
- `dimension` 'COUNT_PER_UNIQUE_USER' | 'COUNT_PER_VARIABLE_EVALUATION' | 'SUM_PER_UNIQUE_USER' | 'AVERAGE_PER_UNIQUE_USER' | 'TOTAL_AVERAGE' | 'TOTAL_SUM', required
- `startDate` string, date-time, required
- `endDate` string, date-time, required

## Response `200`

- MetricResult
  - `result` Result, required
    - `dataSeries` DataPoint[], required
      - `date` string, date-time, required — Date of this data point
      - `values` VariationValues, required
    - `variations` VariationResult[], required
      - `key` string, required
      - `name` string, required
      - `numerator` number, required
      - `denominator` number, required
      - `rate` number, required
      - `avgValue` number
      - `totalValue` number
      - `stdev` number
      - `percentDifference` number, nullable, required
      - `chanceToBeatControl` number, nullable, required
  - `cached` boolean, required — Whether this result came from a cache or a live result
  - `updatedAt` string, date-time, required — Date which these results are up-to-date with

## Other responses

- `400`
- `401`
- `404`

---

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