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.
Request
- Base URL: https://api.mabl.com
- URL: https://api.mabl.com/workspaces/{workspace_id}/insights/aggregate
- Auth: one of:
- HTTP basic
- API key in header Authorization
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
Changes
No recorded changes to this operation across all 36 revisions of this API.