---
title: "部署监控Agent"
method: POST
path: "/admin/providers/{id}/monitoring/agent"
tags: ["管理员/节点"]
---

# 部署监控Agent

`POST /admin/providers/{id}/monitoring/agent`

将监控Agent部署到指定节点主机（耗时最長十分钟）

## Path parameters

- `id` integer, required

## Request body

- AdminDeployAgentRequest
  - `version` string

## Response `200`

OK

- CommonResponse
  - `code` integer
  - `data` unknown
  - `message` string
  - `msg` string

## Changes

> 58 revisions in range; 26 could not be searched.

- **2025-10-22** `dcdf027169a3` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/oneclickvirt/apis/oneclickvirt-api/changes/admin/providers/:id/monitoring/agent/post.md)

---

[API](https://skmtc.dev/oneclickvirt/apis/oneclickvirt-api.md) · [All operations](https://skmtc.dev/oneclickvirt/apis/oneclickvirt-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oneclickvirt/oneclickvirt-api/revisions/2d2db1776645/schema)
