d0fc0114da66
Aggregate insight counts by day for a workspace
Returns a daily histogram of insight counts for a workspace over a required created_time window. Counts are bucketed in the requested timezone and grouped by insight type and insight status. Uses a bounded Datastore scan and in-memory aggregation (does not return full insight entities). Maximum allowed window is 60 calendar days in the requested timezone.
Path parameters
The workspace (organization) id
Query parameters
Inclusive lower bound on created_time (epoch milliseconds)
Inclusive upper bound on created_time (epoch milliseconds)
IANA timezone for daily bucket boundaries (e.g., America/Los_Angeles)
Restricts the aggregate to insights associated with the given environment ID
Restricts the aggregate to insights associated with the given application ID
Restricts the aggregate to archived or non-archived insights
Restricts the aggregate to insights of the given type
Response
Daily insight count histogram