---
title: "Get Node Time Range Metrics by ID"
method: GET
path: "/nodes/{id}/metrics/time-range"
tags: ["Nodes"]
---

# Get Node Time Range Metrics by ID

`GET /nodes/{id}/metrics/time-range`

Get the time range metrics of a node

## Path parameters

- `id` string, objectid, required — ID of the node

## Query parameters

- `end` string — End time in RFC3339 format
- `metric_names` string, required — Comma-separated list of metric names
- `start` string, required — Start time in RFC3339 format
- `time_unit` string, required — Time unit for metrics aggregation

## Response `200`

OK

- ControllersResponseMapStringInterface
  - `data` object[]
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

## Changes

- **2026-07-17** `c7a4715c1f13` — 4 breaking, 1 warning, 10 info
  - added the new required `query` request parameter `metric_names`
  - added the new required `query` request parameter `time_unit`
  - the `query` request parameter `start` became required
  - for the `path` request parameter `id`, the type/format was changed from `string`/`` to `string`/`objectid`
  - …11 more
- **2025-03-03** `14e4eafea538` — 1 warning
  - removed the optional property `data` from the response with the `200` status
- **2025-03-02** `526e5bdf6dee` — 4 breaking, 4 warning, 7 info
  - added the pattern `^[0-9a-fA-F]{24}$` to the `path` request parameter `id`
  - for the `query` request parameter `end`, the type/format was changed from `string`/`` to `string`/`date-time`
  - for the `query` request parameter `start`, the type/format was changed from `string`/`` to `string`/`date-time`
  - the `data` response's property type/format changed from `array`/`` to `object`/`` for status `200`
  - …11 more

[Change history](https://skmtc.dev/crawlab-team/apis/crawlab-api/changes/nodes/:id/metrics/time-range/get.md)

---

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