---
title: "Mcp List Code Occurrences Files"
method: GET
path: "/v1/mcp/projects/{project_id}/code-occurrences/files"
tags: ["mcp"]
---

# Mcp List Code Occurrences Files

`GET /v1/mcp/projects/{project_id}/code-occurrences/files`

## Request

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

Per-file rollup of key usages — the 'par fichier' view (mcp:*, read-only).

MCP twin of `GET /v1/projects/{id}/code-occurrences/files`. `measured=false`
means no run has completed — 'never scanned', not 'no usages'.

## Path parameters

- `project_id` string, required

## Query parameters

- `status` string
- `limit` integer
- `offset` integer

## 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)
