---
title: "Get the download status for a pre-receive environment"
method: GET
path: "/admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest"
tags: ["enterprise-admin"]
---

# Get the download status for a pre-receive environment

`GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest`

In addition to seeing the download status at the "[Get a pre-receive environment](#get-a-pre-receive-environment)" endpoint, there is also this separate endpoint for just the download status.

## Path parameters

- `pre_receive_environment_id` integer, required

## Response `200`

Response

- PreReceiveEnvironmentDownloadStatus
  - `url` string
  - `state` string
  - `downloaded_at` string, nullable
  - `message` string, nullable

---

[API](https://skmtc.net/github/apis/enterprise-server.md) · [All operations](https://skmtc.net/github/apis/enterprise-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/enterprise-server/revisions/5438365412fe/schema)
