---
title: "Track APM or Host agent installation and status updates"
method: POST
path: "/agent/tracking/{token}"
tags: ["AGENT"]
---

# Track APM or Host agent installation and status updates

`POST /agent/tracking/{token}`

Used by Middleware agents (Host or APM) to report installation, uninstallation, or error tracking information.

## Path parameters

- `token` string, required

## Request body

- HandlersTrackingRequest
  - `metadata` object, required
  - `status` string, required

## Response `200`

Returns success status and message

- object

## Other responses

- `400` — Invalid JSON or missing required fields
- `500` — Internal server error

---

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