v21

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-042830148.8 KB
Authorization

Get 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)

post/v1/usage/summary

Request body

end_timestring date-time

End time filter (ISO 8601). Defaults to now.

start_timestring date-time

Start time filter (ISO 8601). Defaults to start of current month.

Response

Usage summary retrieved successfully

statusstring

Example response

{
  "status": "success",
  "summary": {
    "by_feature": [
      {
        "credits": 15,
        "feature": "cdsl_cas_parser",
        "requests": 15
      }
    ],
    "total_credits": 45.5,
    "total_requests": 42
  }
}