Separate 2endpoints for data summary

This commit is contained in:
2025-07-28 14:36:51 +07:00
parent 38c7691615
commit 09e2c704ef
2 changed files with 88 additions and 18 deletions

View File

@@ -62,7 +62,7 @@ namespace Managing.Api.Models.Responses
}
/// <summary>
/// Platform-wide statistics including per-agent summaries
/// Platform-wide statistics without individual agent details
/// </summary>
public class PlatformSummaryViewModel
{
@@ -92,7 +92,18 @@ namespace Managing.Api.Models.Responses
public decimal TotalPlatformVolumeLast24h { get; set; }
/// <summary>
/// Summaries for each agent
/// Time filter applied to the data
/// </summary>
public string TimeFilter { get; set; } = "Total";
}
/// <summary>
/// Response model containing a list of agent summaries for the agent index
/// </summary>
public class AgentIndexViewModel
{
/// <summary>
/// List of agent summaries sorted by performance
/// </summary>
public List<AgentSummaryViewModel> AgentSummaries { get; set; } = new List<AgentSummaryViewModel>();