---
title: "Get agent version info"
method: GET
path: "/hosts/agent/version"
tags: ["Agent / Install"]
---

# Get agent version info

`GET /hosts/agent/version`

Returns available agent version. Requires X-API-ID and X-API-KEY for authenticated hosts.

## Query parameters

- `arch` string
- `type` string
- `currentVersion` string

## Headers

- `X-API-ID` string
- `X-API-KEY` string

## Response `200`

OK

- object

## Other responses

- `401` — Unauthorized
- `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)
