---
title: "Download agent binary"
method: GET
path: "/hosts/agent/download"
tags: ["Agent / Install"]
---

# Download agent binary

`GET /hosts/agent/download`

Downloads the agent binary for the host architecture. Requires X-API-ID and X-API-KEY.

## Query parameters

- `force` string
- `arch` string

## Headers

- `X-API-ID` string, required
- `X-API-KEY` string, required

## Response `200`

OK - Returns application/octet-stream (agent binary)

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

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