---
title: "Changes to List code scanning analyses for a repository"
method: GET
path: "/repos/{owner}/{repo}/code-scanning/analyses"
---

# Changes to List code scanning analyses for a repository

`GET /repos/{owner}/{repo}/code-scanning/analyses`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 62 revisions.

- **2026-05-21** `8c0078ba0e73` — 1 breaking, 1 info

## Changes

- **2026-05-21** `8c0078ba0e73` — 1 breaking, 1 info
  - the `items/commit_sha` response property's maxLength was increased from `40` to `64` for the response status `200`
  - the `items/commit_sha` response's property pattern was changed from `^[0-9a-fA-F]+$` to `^([0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?)$` for the status `200`

---

[Operation](https://skmtc.dev/github/apis/enterprise-cloud/docs/repos/:owner/:repo/code-scanning/analyses/get.md) · [API](https://skmtc.dev/github/apis/enterprise-cloud.md) · [Page](https://skmtc.dev/github/apis/enterprise-cloud/changes/repos/:owner/:repo/code-scanning/analyses/get)
