Sample - GitHub REST API
GET/orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}

Get an image version of a custom image for GitHub Actions Hosted Runners

Get an image version of a custom image for GitHub Actions Hosted Runners.

OAuth tokens and personal access tokens (classic) need the manage_runners:org scope to use this endpoint.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
orgstringrequired
The organization name. The name is not case sensitive.
image_definition_idintegerrequired
Image definition ID of custom image
versionstringrequired
Version of a custom image

1 status code
200Response
versionstringrequired
The version of image.
statestringrequired
The state of image version.
size_gbintegerrequired
Image version size in GB.
created_onstringrequired
The creation date time of the image version.
state_detailsstringrequired
The image version status details.