v1

latestOpenAPI 3.1.02026-08-066132.7 KB

Get detailed code quality findings from a remote public git repository. Returns rule IDs, line numbers, severity, category, descriptions, and source snippets. Supports filtering by file path, severity (error, warning, info), and category (security, deprecated, safety, correctness, maintainability, accessibility, modernization, performance, concurrency). Use after code_analyze to drill into specific findings. Shares the same analysis cache — no duplicate work if analyze already ran.

post/api/v1/code_get_findings

Query parameters

clientstring required

Client identifier for your application (e.g. 'my-app-v1'). Required for all REST API requests.

Request body

category'security' | 'deprecated' | 'safety' | 'correctness' | 'maintainability' | 'accessibility' | 'modernization' | 'performance' | 'concurrency'

Filter findings by category.

max_resultsinteger

Maximum number of findings to return (cap: 200).

offsetinteger

Skip this many findings before returning. Use for paging.

pathstring

Filter findings to files matching this path prefix (e.g. "pkg/api/" or "src/main.go").

repositorystring required

Git URL of a public remote repository

scan_test_filesboolean

Include findings from test files. By default test files are excluded.

severity'error' | 'warning' | 'info'

Filter findings by severity level.

Response

Successful response

object required