---
title: "Get multiple current metric values"
method: POST
path: "/monitoring/metrics/current"
tags: ["metrics"]
---

# Get multiple current metric values

`POST /monitoring/metrics/current`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/monitoring/metrics/current`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-7/docs/monitoring/metrics/current/post.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the latest values for multiple metrics simultaneously

## Request body

- GetMetricsCurrentRequest
  - `metrics` string[], required: Array of metric names to retrieve
  - `node` string: Node identifier
  - `account` string: Account identifier (required if node not provided)
  - `stream` string: Stream name
  - `consumer` string: Consumer name (requires stream to be specified)

## Response `200`

Successful operation

- MultipleMetricsResponse
  - `message` string: Response message
  - `data` union[]: Array of metric data points or error messages
    - union
      - MetricPoint
        - `ts` integer: Timestamp in milliseconds since epoch
        - `value` number, double: Metric value
      - MetricErrorPoint
        - `error` string: Error message
  - `metadata` object: Optional metadata

## Other responses

- `400`: Bad request
- `500`: Server error

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-7.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-7/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-7/revisions/e9272a5ed3e3?raw)
