---
title: "Start metrics collection"
method: POST
path: "/metrics/start/{id}"
tags: ["Host Metrics"]
---

# Start metrics collection

`POST /metrics/start/{id}`

Establishes an SSH connection and starts collecting metrics for a specific host.

## Path parameters

- `id` integer, required

## Response `200`

Metrics collection started successfully, or TOTP required.

## Other responses

- `401` — Session expired - please log in again.
- `404` — Host not found.
- `500` — Failed to start metrics collection.

---

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