---
title: "Query metric aggregates"
method: POST
path: "/api/v1/klaviyo/metrics/aggregates"
---

# Query metric aggregates

`POST /api/v1/klaviyo/metrics/aggregates`

## Request

- Base URL: `https://localhost:3000`
- URL: `https://localhost:3000/api/v1/klaviyo/metrics/aggregates`
- Auth: OAuth 2 (authorization code, authorization URL `/oauth/authorize`, token URL `/oauth/token`)

Query Klaviyo metric aggregates with time-series count/sum/unique.

## Request body

- object
  - `metric_id` string, required
  - `measurements` string[]
  - `interval` string
  - `filters` string[]
  - `group_by` string[]

## Response `200`

Successful response

- object

---

[API](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api.md) · [All operations](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api/revisions/e25648ba6027?raw)
