---
title: "Get Registry Source Url"
method: GET
path: "/v2/registry/{registry_id}/source-url"
tags: ["registry"]
---

# Get Registry Source Url

`GET /v2/registry/{registry_id}/source-url`

Get a presigned download URL for the registry's source archive.

## Path parameters

- `registry_id` string, uuid, required

## Query parameters

- `build_id` string, uuid, nullable — Download a specific build's source archive. Defaults to the registry's latest build when omitted.

## Response `200`

Successful Response

- RegistrySourceUrlResponse — Source archive locator for a selected build, plus legacy repo metadata.
  - `registry_id` string, uuid, required
  - `build_id` string, uuid, nullable
  - `download_url` string, nullable
  - `github_url` string, nullable

## Other responses

- `400` — Invalid or malformed request
- `401` — Missing or invalid credentials
- `403` — Caller may not access this resource
- `404` — Referenced entity does not exist
- `409` — Resource already exists
- `422` — Validation Error

---

[API](https://skmtc.dev/hud/apis/hud-platform.md) · [All operations](https://skmtc.dev/hud/apis/hud-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hud/hud-platform/revisions/a01d5d765d1e/schema)
