code-scan
List Code Scan Files
Per-FILE status roll-up for the file-tree view (Viewer+).
One row per file: counts{new, treated, gone, new_this_scan} + total, sorted by path ascending. Read-only aggregation. Page with limit/offset; total is the distinct file count so the client knows the tree size. excluded applies the persistent exclusion list to both the rows and total.
get/v1/projects/{project_id}/code-scan/files
Request
- Base URL: https://api.sonenta.dev
- URL: https://api.sonenta.dev/v1/projects/{project_id}/code-scan/files
- Auth: none declared
Path parameters
project_idstring required
Query parameters
excludedstring
Exclusion-rule filter (default exclude): exclude drops findings matched by a rule (a fully-masked file leaves the tree) · only shows ONLY matched findings · include ignores rules. DEFAULT CHANGES OUTPUT; no rules ⇒ unchanged.
limitinteger
offsetinteger
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.