---
title: "Get machine metrics summary"
method: GET
path: "/api/v1/machines/metrics/summary"
tags: ["Machines"]
---

# Get machine metrics summary

`GET /api/v1/machines/metrics/summary`

Get machine metrics summary.

Auth: Required (bearer token).
Scope: Organization-scoped in authenticated context.
Side effects: Read-only operation.

## Query parameters

- `from` string
- `to` string

## Headers

- `Accept` string

## Response `200`

OK

- MachineSummaryResponse — MachineSummaryResponse schema
  - `data` object
    - `avg_cpu_pct` number, double, nullable
    - `avg_memory_mb` number, double, nullable
    - `event_count` integer
    - `machine_name` string
    - `max_cpu_pct` number, double, nullable
    - `max_memory_mb` number, double, nullable
    - `recent_events` object[]
      - `count` integer
      - `details` string, nullable
      - `event_type` string
      - `machine_name` string
      - `time` string, date-time
    - `total_bytes_sent_mb` number, double
    - `total_err_count` integer
    - `total_req_count` integer
    - `total_rx_drops` number, double, nullable
    - `total_rx_mb` number, double, nullable
    - `total_tx_drops` number, double, nullable
    - `total_tx_mb` number, double, nullable
    - `window_end` string, date-time
    - `window_start` string, date-time
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request _(validation or deserialization error)_
- `500` — Internal Server Error _(panics)_
- `default`

---

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