GET
/repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}Get the summary of a CodeQL variant analysis
Gets the summary of a CodeQL variant analysis.
OAuth app tokens and personal access tokens (classic) need the security_events scope to use this endpoint with private or public repositories, or the public_repo scope to use this endpoint with only public repositories.
ownerstringrequired
The account owner of the repository. The name is not case sensitive.
repostringrequired
The name of the repository without the `.git` extension. The name is not case sensitive.
codeql_variant_analysis_idintegerrequired
The unique identifier of the variant analysis.
200Response
idintegerrequired
The ID of the variant analysis.
controller_repoobjectrequired
A GitHub repository.
actorobjectrequired
A GitHub user.
query_languagestringrequired
The language targeted by the CodeQL query
query_pack_urlstringrequired
The download url for the query pack.
created_atstringoptional
The date and time at which the variant analysis was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.
updated_atstringoptional
The date and time at which the variant analysis was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.
completed_atstringoptional
The date and time at which the variant analysis was completed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the variant analysis has not yet completed or this information is not available.
statusstringrequired
actions_workflow_run_idintegeroptional
The GitHub Actions workflow run used to execute this variant analysis. This is only available if the workflow run has started.
failure_reasonstringoptional
The reason for a failure of the variant analysis. This is only available if the variant analysis has failed.
scanned_repositoriesarray<object>optional
skipped_repositoriesobjectoptional
Information about repositories that were skipped from processing. This information is only available to the user that initiated the variant analysis.
404Resource not found
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
503Service unavailable
codestringoptional
messagestringoptional
documentation_urlstringoptional
Error handling
A 404 is returned: Resource not found. A 503 is returned: Service unavailable.