---
title: "Test summary"
method: GET
path: "/v1/insights/summary"
tags: ["Insights"]
---

# Test summary

`GET /v1/insights/summary`

Headline totals (success, failure, unknown) plus pass and failure rates for the selected period and filters. Ideal for a single-number dashboard tile.

## Query parameters

- `start` string
- `end` string
- `time_range` string
- `status` 'all' | 'success' | 'failure' | 'unknown'
- `browser` integer[]
- `build` integer[]
- `group_ids` integer[]
- `team` integer[]
- `name` string

## Response `200`

Test summary

- TestingbotEntitiesInsightSummary — Testingbot_Entities_InsightSummary model
  - `start` string, date-time, required — Period start (ISO-8601, UTC).
  - `end` string, date-time, required — Period end (ISO-8601, UTC).
  - `status` string, required — Status filter applied.
  - `total` integer, required — Total tests in the period.
  - `success` integer, required — Passed tests.
  - `failure` integer, required — Failed tests.
  - `unknown` integer, required — Unknown-status tests.
  - `pass_rate` number, required — success / total, 0..1.
  - `failure_rate` number, required — failure / total, 0..1.

## Other responses

- `400` — Invalid parameters
- `401` — Authentication required
- `403` — Permission denied

---

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