---
title: "Get comprehensive dashboard metrics"
method: GET
path: "/v1/reports/contexts/{contextId}/dashboard/metrics"
tags: ["Reporting"]
---

# Get comprehensive dashboard metrics

`GET /v1/reports/contexts/{contextId}/dashboard/metrics`

Use this endpoint to retrieve complete dashboard metrics including summary, trends, and breakdowns for the Command Center.

## Path parameters

- `contextId` string, required

## Query parameters

- `date_from` string, required
- `date_to` string, required
- `source_id` string

## Headers

- `X-Request-Id` string

## Response `200`

Indicates that the request was successful and the response contains the expected data.

- MatcherDashboardMetricsResponse
  - `breakdowns` BreakdownMetricsResponse
    - `byAge` AgeBucketDTO[]
      - `bucket` string
      - `value` integer
    - `byReason` object
    - `byRule` RuleMatchCountDTO[]
      - `count` integer
      - `id` string
      - `name` string
    - `bySeverity` object
  - `summary` SummaryMetricsResponse
    - `criticalExposure` string
    - `matchRate` number
    - `oldestExceptionAgeHours` number
    - `pendingExceptions` integer
    - `totalMatches` integer
    - `totalTransactions` integer
  - `trends` TrendMetricsResponse
    - `dates` string[]
    - `exceptions` integer[]
    - `ingestion` integer[]
    - `matchRates` number[]
    - `matches` integer[]
  - `updatedAt` string

## Other responses

- `400` — The request contains invalid parameters or payload.
- `401` — The request lacks valid authentication credentials.
- `403` — You do not have permission to access this resource.
- `404` — The requested resource was not found.
- `500` — An unexpected error occurred on the server.

---

[API](https://skmtc.net/lerian/apis/identity-plugin.md) · [All operations](https://skmtc.net/lerian/apis/identity-plugin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lerian/identity-plugin/versions/25daba385532/schema)
