Mcp Ingest Code Scan
Post ONE code-scan run: the hardcoded, non-i18n strings found in the repo.
MCP twin of POST /v1/projects/{id}/code-scan, so the whole scan → agent flow runs on ONE mcp:* credential (task 1839).
THE SUBMITTED SET IS AUTHORITATIVE. Every finding already known to this project and ABSENT from this call is flipped to gone. Post the FULL result of one scan of the WHOLE repository — a partial list does not "add" findings, it retires the ones you did not walk, and the project then reads clean because nobody looked.
A run that would retire most of the project's live findings is REFUSED (422) unless confirm_mass_gone is set. If you hit that, the overwhelmingly likely cause is that you scanned a subdirectory or a shallow checkout — check what you walked before overriding it. Every run is written to the audit log with the calling key.
Request
- Base URL: https://api.sonenta.dev
- URL: https://api.sonenta.dev/v1/mcp/projects/{project_id}/code-scan
- Auth: none declared
Path parameters
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.