Repository-level REST APIs for Code Quality findings are now available in public preview, bringing API support closer to the functionality already available in the GitHub UI.

Two new read-only endpoints are now available:

  • GET /repos/{owner}/{repo}/code-quality/findings/{finding_number}: Retrieve details for a single Code Quality CodeQL finding.
  • GET /repos/{owner}/{repo}/code-quality/findings: List Code Quality CodeQL findings for a repository with filtering and pagination support.

These endpoints enable broader access to Code Quality results and support integrations such as tooling and agentic remediation workflows.

Availability

The Code Quality Findings REST API is available today in public preview on github.com and is not yet available on GitHub Enterprise Server.

Learn more