---
title: "Get top invocation statistics for a day"
method: GET
path: "/metrics/invocations/top"
tags: ["metrics"]
---

# Get top invocation statistics for a day

`GET /metrics/invocations/top`

## Query parameters

- `day` string
- `limit` integer

## Response `200`

Top invocations for a defined day

- DailyInvocationStatistic[]
  - `id` string, required — Unique identifier of this statistic object
  - `day` string, required — The day (formatted as yyyyMMdd string) represented by this statistic
  - `serviceName` string, required — The name of the service this statistic is related to
  - `serviceVersion` string, required — The version of the service this statistic is related to
  - `dailyCount` number, required — The number of service mock invocations on this day
  - `hourlyCount` object — The number of service mock invocations per hour of the day (keys range from 0 to 23)
  - `minuteCount` object — The number of service mock invocations per minute of the day (keys range from 0 to 1439)

---

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