---
title: "Query summary information on test coverage for a workspace"
method: GET
path: "/test/coverage/workspace/{workspace_id}/summary"
tags: ["Coverage"]
---

# Query summary information on test coverage for a workspace

`GET /test/coverage/workspace/{workspace_id}/summary`

Used to query test coverage summary measures (current values and history) for a workspace.

## Path parameters

- `workspace_id` string, required

## Query parameters

- `application_id` string
- `coverage_days` integer
- `use_cache` boolean

## Response `200`

Results of the query

- CoverageSummaryQueryResult
  - `coverageSummary` CoverageSummaryStats — Coverage summary for a particular point in time, based on data for some time range ending at that point in time
    - `time_interval_start` integer — Start of the time interval these coverage stats are calculated for (in epoch milliseconds)
    - `time_interval_end` integer — Time point these coverage stats represent; specifically, the end of the time interval these coverage stats are calculated for (in epoch milliseconds)
    - `total_journey_covered_pages` integer — Total number of distinct pages covered by at least one journey run in the corresponding time range
    - `total_known_pages` integer — Total number of distinct pages known based on observations in the corresponding time range (e.g., from mablscript journey runs, link crawler runs, and end-user usage data)
  - `coverageSummaryHistory` CoverageSummaryStats[] — A time series of coverage summaries
    - `time_interval_start` integer — Start of the time interval these coverage stats are calculated for (in epoch milliseconds)
    - `time_interval_end` integer — Time point these coverage stats represent; specifically, the end of the time interval these coverage stats are calculated for (in epoch milliseconds)
    - `total_journey_covered_pages` integer — Total number of distinct pages covered by at least one journey run in the corresponding time range
    - `total_known_pages` integer — Total number of distinct pages known based on observations in the corresponding time range (e.g., from mablscript journey runs, link crawler runs, and end-user usage data)

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unknown error

---

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