v13

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-022830130.4 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

start_timestring date-time

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

end_timestring date-time

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

Response

Usage summary retrieved successfully

statusstring

Example response

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