GitHub Check Runs
List GitHub check runs
Changed onList the GitHub check runs that GitGuardian ran on pull requests, from the most recent to the oldest.
Filter on incident_id to get the check runs that reported a secret incident. Then skip a blocking one with the skip endpoint.
Only Manager personal access tokens and service account tokens can list check runs.
get/v1/check-runs
Request
- Base URLhttps://api.gitguardian.com
- URLhttps://api.gitguardian.com/v1/check-runs
- AuthHTTP bearer
Query parameters
cursorstring
Pagination cursor.
per_pageinteger
Number of items to list per page.
ordering'id' | '-id' | 'created_at' | '-created_at'
Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'. Default: -id.
incident_idinteger
Example:3759
Keep the check runs that reported an occurrence of this secret incident.
Response
Check Run List
Example response
[
{
"id": 5412,
"created_at": "2026-10-05T12:30:12.402518Z",
"repository_full_name": "gitguardian/demo",
"commit_sha": "d670460b4b4aece5915caf5c68d12f560a9fe3e4",
"pull_requests": [
{
"number": 42,
"state": "OPEN",
"head_branch": "feature/add-config",
"base_branch": "main"
}
],
"github_status": "completed",
"github_conclusion": "skipped",
"ignored_at": "2026-10-05T12:40:55.662949Z",
"ignore_reason": "false_positive"
}
]Changes
- info
endpoint added
- info