---
title: "GET /v1beta/{tenantId}/metrics"
method: GET
path: "/v1beta/{tenantId}/metrics"
tags: ["Metrics"]
---

# GET /v1beta/{tenantId}/metrics

`GET /v1beta/{tenantId}/metrics`

## Request

- Base URL: `https://localhost:50040`
- URL: `https://localhost:50040/v1beta/{tenantId}/metrics`
- Auth: HTTP basic

Lists metrics for the specified time series.

## Response `200`

OK

- MetricSpec[]
  - `id` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `instanceID` string
  - `instanceName` string
  - `job` string
  - `name` string, required
  - `unit` string
  - `aggrType` string
  - `metricValues` object[]: Metric values for the timestamp
    - `timestamp` integer: Timestamp of the metric
    - `value` number: Value of the metric for this timestamp
  - `labels` object

## Other responses

- `401`: NotAuthorized
- `403`: Forbidden
- `500`: An unexpected error occured.

## Changes

- **2019-12-06** `5cb450491c68`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sodafoundation/apis/soda-api/changes/v1beta/:tenantId/metrics/get.md)

---

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