---
title: "Trace coverage: per scan, how many findings and claims link their own rule span, how many stage errors name a span, broken parent links, malformed or duplicate ids, dropped spans. ?id= one record (counts public; unlinked codes with a licence); without id the last 300 scans and the latest CI result"
method: GET
path: "/api/trace/coverage"
---

# Trace coverage: per scan, how many findings and claims link their own rule span, how many stage errors name a span, broken parent links, malformed or duplicate ids, dropped spans. ?id= one record (counts public; unlinked codes with a licence); without id the last 300 scans and the latest CI result

`GET /api/trace/coverage`

## Request

- Base URL: `https://crawlcheck.io`
- URL: `https://crawlcheck.io/api/trace/coverage`
- Auth: none required

## Query parameters

- `id` string

## Response `200`

crawlcheck-trace-coverage or crawlcheck-trace-coverage-record

- object, nullable
  - `ok` boolean, nullable
  - `kind` string, nullable
  - `scans` number, nullable
  - `complete` number, nullable
  - `findings` object, nullable
    - `total` number, nullable
    - `linked` number, nullable
    - `pct` number, nullable
  - `claims` object, nullable
    - `total` number, nullable
    - `linked` number, nullable
    - `pct` number, nullable
  - `broken_parent_links` number, nullable
  - `malformed_ids` number, nullable
  - `dropped_spans` number, nullable
  - `stage_errors` object, nullable
    - `total` number, nullable
    - `linked` number, nullable
  - `joined_a_caller_trace` number, nullable
  - `ci` object, nullable
    - `at` string, nullable
    - `green` boolean, nullable
    - `traces` number, nullable
    - `failures` unknown[], nullable
      - unknown
    - `run` string, nullable
  - `per_scan` object[], nullable
    - `id` string, nullable
    - `domain` string, nullable
    - `at` string, nullable
    - `spans` number, nullable
    - `findings` number, nullable
    - `linked` number, nullable
    - `claims` number, nullable
    - `claims_linked` number, nullable
    - `errors` number, nullable
    - `errors_linked` number, nullable
    - `broken` number, nullable
    - `malformed` number, nullable
    - `dropped` number, nullable
    - `joined` boolean, nullable
    - `complete` boolean, nullable
    - `coverage` string, nullable
  - `method` string, nullable
  - `schema` string, nullable

## Other responses

- `404`: no such record

---

[API](https://skmtc.dev/crawlcheck/apis/crawlcheck-api.md) · [All operations](https://skmtc.dev/crawlcheck/apis/crawlcheck-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlcheck/apis/crawlcheck-api/revisions/57acbd6d4489?raw)
