---
title: "Get Usage Summary"
method: POST
path: "/v1/usage/summary"
tags: ["Authorization"]
---

# Get Usage Summary

`POST /v1/usage/summary`

Get aggregated usage statistics grouped by feature.

Useful for understanding which API features are being used most and tracking usage trends.

**Legacy path:** `/logs/summary` (still supported)

## Request body

- object
  - `end_time` string, date-time — End time filter (ISO 8601). Defaults to now.
  - `start_time` string, date-time — Start time filter (ISO 8601). Defaults to start of current month.

## Response `200`

Usage summary retrieved successfully

- object
  - `status` string
  - `summary` object
    - `by_feature` object[] — Usage breakdown by feature
      - `credits` number — Credits consumed by this feature
      - `feature` string — API feature name
      - `requests` integer — Number of requests for this feature
    - `total_credits` number — Total credits consumed in the period
    - `total_requests` integer — Total API requests made in the period

## Other responses

- `400` — Bad request (e.g., using access token)
- `401` — Unauthorized. This can happen if the `x-api-key` header is missing.

---

[API](https://skmtc.net/casparser/apis/cas-parser-track-portfolios-from-cdsl-nsdl-cams-kfintech.md) · [All operations](https://skmtc.net/casparser/apis/cas-parser-track-portfolios-from-cdsl-nsdl-cams-kfintech/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casparser/cas-parser-track-portfolios-from-cdsl-nsdl-cams-kfintech/revisions/fa7d3aae2ab9/schema)
