---
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`

## Request

- Base URL: `http://:8080`
- URL: `http://:8080/api/v1/machines/metrics/summary`
- Auth: none declared

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`

## Changes

- **2026-04-26** `09f18af670c4`: 3 info
  - api tag `Machines` added
  - api tag `api/v1/machines` removed
  - api tag `metrics` removed
- **2026-04-18** `a16fedd4cd53`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nixopus/apis/nixopus-api/changes/api/v1/machines/metrics/summary/get.md)

---

[API](https://skmtc.dev/nixopus/apis/nixopus-api.md) - [All operations](https://skmtc.dev/nixopus/apis/nixopus-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nixopus/apis/nixopus-api/revisions/c5bacaea7239?raw)
