---
title: "Download Link Agent"
method: GET
path: "/link/agents/distribution-redirect"
tags: ["LinkAgent"]
---

# Download Link Agent

`GET /link/agents/distribution-redirect`

Redirect the client to download the latest Link Agent distribution

## Query parameters

- `branch` string
- `format` 'tbz2' | 'zip' | 'msi' — Archive formats the Link Agent is distributed in, plus `msi` — the Windows installer, which registers the agent as a service so that it starts on boot. `auto_update` does not apply to `msi`: there is a single installer, and a service takes upgrades through the installer rather than through the in-place updater, so the parameter is ignored for that format.
- `auto_update` boolean

## Response `default`

Unknown error

- ErrorResponseGeneric
  - `id` string
  - `code` integer
  - `message` string

## Other responses

- `302` — Redirect to the latest distribution matching the request
- `304` — If-None-Match predicate was not satisfied (current Link Agent matched one of the given ETags)
- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `404` — Link Agent distribution not found

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
