GET /api/analytics/dashboard
Returns high-level counts for the group. Requires an admin JWT.Response
Sample response
GET /api/analytics/summary
Returns a personalised summary for the authenticated user. Available to all authenticated users — both admins and members.Response
Sample response
GET /api/analytics/reports
Returns a financial summary for a given date range. Requires an admin JWT.Query parameters
Start of the report period as a Unix millisecond timestamp. Defaults to 30 days before the current time if omitted.
End of the report period as a Unix millisecond timestamp. Defaults to the current time if omitted.
Response
Sum of all approved, active, or completed loan principal amounts requested within the period, in UGX.
Sample response
GET /api/credit-scores/me
Returns the credit score record for the authenticated user. Available to all authenticated users.Response
Current credit score. The scale runs from
min_credit_score (default 300) to max_credit_score (default 850), with new members starting at starting_credit_score (default 500).GET /api/audit-logs
Returns a paginated list of admin action records. Requires an admin JWT.Query parameters
Response
Returns an array ofAuditLogResponse objects, ordered by created_at descending.
JSON-serialised representation of the entity’s state before the action. May be
null for creation events.JSON-serialised representation of the entity’s state after the action. May be
null for deletion events.Sample response

