v1
latestOpenAPI 3.1.02026-07-261690320.7 KBList code quality findings for a pull request
Returns a list of code quality findings for a specific pull request. Only the findings from the latest scan are returned, excluding any suppressed findings.
get/code-quality/findings
Query parameters
code_repo_idinteger required
The ID of the repository
pr_numberstring required
The pull request number
Response
A list of code quality findings for the specified pull request
Example response
{
"findings": [
{
"id": 8124,
"rule_id": "AIK_AI_descriptive_names",
"description": "Variable 'x' is a non-descriptive single-letter name; use a descriptive name reflecting its purpose.",
"file": "example.py",
"start_line": 16,
"end_line": 16,
"language": "PY",
"external_comment_id": "760761091",
"scan_id": 28610,
"timestamp": 1772204942
}
]
}