---
title: "Create a request to refresh coverage stats"
method: POST
path: "/test/coverage/refresh"
tags: ["Coverage"]
---

# Create a request to refresh coverage stats

`POST /test/coverage/refresh`

Called to request a refresh of test coverage/importance measures

## Request body

- CoverageRefresh
  - `id` string — The ID of the refresh request
  - `created_time` integer — Time at which the refresh request was created
  - `workspace_id` string — The ID of the workspace to which this app place applies
  - `cloud_safe_id` string — Cloud safe ID representation of the workspace (e.g. GCP/email/Kubernetes safe)

## Response `201`

The refresh request that was created

- CoverageRefresh
  - `id` string — The ID of the refresh request
  - `created_time` integer — Time at which the refresh request was created
  - `workspace_id` string — The ID of the workspace to which this app place applies
  - `cloud_safe_id` string — Cloud safe ID representation of the workspace (e.g. GCP/email/Kubernetes safe)

## Other responses

- `400` — Invalid request was supplied
- `401` — Missing or invalid API token
- `403` — Given token is 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)
