---
title: "Log summaries"
method: GET
path: "/analytics/log-summaries"
tags: ["Analytics"]
---

# Log summaries

`GET /analytics/log-summaries`

ClickHouse-backed log summaries read endpoint.

## Query parameters

- `range` string
- `start_ms` integer
- `end_ms` integer
- `page` integer
- `page_size` integer
- `payment_method_type` string
- `payment_method` string
- `card_network` string
- `card_is_in` string
- `currency` string
- `country` string
- `auth_type` string
- `gateway` string
- `payment_id` string
- `request_id` string
- `route` string
- `status` string
- `flow_type` string
- `routing_approach` string
- `exclude_routing_approach` string
- `error_code` string

## Headers

- `x-tenant-id` string, required

## Response `200`

Log summaries

- AnalyticsLogSummariesResponse
  - `merchant_id` string
  - `range` string
  - `total_errors` integer
  - `errors` AnalyticsErrorSummary[]
    - `route` string, nullable
    - `error_code` string, nullable
    - `error_message` string, nullable
    - `count` integer
    - `last_seen_ms` integer
  - `samples` AnalyticsLogSample[]
    - `route` string, nullable
    - `merchant_id` string, nullable
    - `payment_id` string, nullable
    - `request_id` string, nullable
    - `global_request_id` string, nullable
    - `trace_id` string, nullable
    - `gateway` string, nullable
    - `routing_approach` string, nullable
    - `status` string, nullable
    - `error_code` string, nullable
    - `error_message` string, nullable
    - `flow_type` string, nullable
    - `created_at_ms` integer
  - `page` integer
  - `page_size` integer

---

[API](https://skmtc.net/juspay/apis/decision-engine.md) · [All operations](https://skmtc.net/juspay/apis/decision-engine/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/juspay/decision-engine/versions/36e7a0972ee6/schema)
