Separate 2endpoints for data summary
This commit is contained in:
@@ -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>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user