---
title: "Test analytics list"
method: GET
path: "/{service}/{owner_username}/repos/{repo_name}/test-analytics/"
tags: ["Test Analytics"]
---

# Test analytics list

`GET /{service}/{owner_username}/repos/{repo_name}/test-analytics/`

Returns a list of test analytics for the specified repository

## Path parameters

- `owner_username` string, required
- `repo_name` string, required
- `service` string, required

## Query parameters

- `branch` string
- `commit_sha` string
- `duration_max` integer
- `duration_min` integer
- `outcome` string
- `page` integer
- `page_size` integer

## Response `200`

- PaginatedTestrunList
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` Testrun[], required
    - `test_id` string, required
    - `name` string, nullable, required
    - `classname` string, nullable, required
    - `testsuite` string, nullable, required
    - `computed_name` string, nullable, required
    - `outcome` string, required
    - `duration_seconds` number, double, nullable, required
    - `failure_message` string, nullable, required
    - `framework` string, nullable, required
    - `filename` string, nullable, required
    - `repo_id` integer, required
    - `commit_sha` string, nullable, required
    - `branch` string, nullable, required
    - `flags` string[], nullable, required
    - `upload_id` integer, nullable, required
    - `properties` unknown, required
    - `timestamp` string, date-time, required

---

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