---
title: "Mcp Code Scan Summary"
method: GET
path: "/v1/mcp/projects/{project_id}/code-scan/summary"
tags: ["mcp"]
---

# Mcp Code Scan Summary

`GET /v1/mcp/projects/{project_id}/code-scan/summary`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/mcp/projects/{project_id}/code-scan/summary`
- Auth: none declared

Current code-scan counts + the last run (mcp:*, read-only, 0 credit).

`measured=false` means no scan has ever reported a finding on this project.
That is NOT a clean codebase — it is an unmeasured one.

Counts default to `excluded=exclude` (findings on the exclusion list removed);
the top-level `excluded` integer is the always-on masked-count badge.

## Path parameters

- `project_id` string, required

## Query parameters

- `excluded` string: Exclusion-rule filter for the per-status counts (default `exclude`). The top-level `excluded` badge total is param-independent.

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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