---
title: "GET /v2/infra-envs/{infra_env_id}/downloads/image-url"
method: GET
path: "/v2/infra-envs/{infra_env_id}/downloads/image-url"
tags: ["installer"]
---

# GET /v2/infra-envs/{infra_env_id}/downloads/image-url

`GET /v2/infra-envs/{infra_env_id}/downloads/image-url`

## Request

- Base URL: `http://api.openshift.com/api/assisted-install`
- URL: `http://api.openshift.com/api/assisted-install/v2/infra-envs/{infra_env_id}/downloads/image-url`
- Auth: API key in header `Authorization`

Creates a new pre-signed image download URL for the infra-env.

## Path parameters

- `infra_env_id` string, uuid, required

## Response `200`

Success.

- PresignedUrl
  - `url` string, required: Pre-signed URL for downloading the infra-env discovery image.
  - `expires_at` string, date-time: Expiration time for the URL token.

## Other responses

- `400`: Bad Request.
- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Error.
- `405`: Method Not Allowed.
- `500`: Error.
- `501`: Not implemented.
- `503`: Unavailable.

---

[API](https://skmtc.dev/openshift/apis/assistedinstall.md) - [All operations](https://skmtc.dev/openshift/apis/assistedinstall/llms.txt) - [OpenAPI document](https://skmtc.dev/openshift/apis/assistedinstall/revisions/e3a182505ca3?raw)
