Return insight metrics aggregated by channel.
Documentation Index
Fetch the complete documentation index at: https://docs.flashcat.cloud/llms.txt
Use this file to discover all available pages before exploring further.
| Aspect | Value |
|---|---|
| Rate limits | 1,000 requests/minute; 50 requests/second per account |
| Permissions | Analytics Read (on-call) |
App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Insight dimension-aggregation request. Extends InsightFilter with aggregation controls.
Start time, Unix seconds. Must be greater than 0.
End time, Unix seconds. Must be greater than start_time.
Filter by team IDs. At most 100 entries.
Filter by channel IDs. At most 100 entries.
Filter by responder person IDs. At most 100 entries.
Filter by severity. At most 3 entries.
Critical, Warning, Info, Ok Filter by incident IDs (MongoDB ObjectIDs). At most 100 entries.
^[0-9a-fA-F]{24}$Full-text query applied to incident title and description.
Label filters (exact match).
Custom-field filters (exact match).
Field to sort the underlying incident set by.
created_at Sort ascending when true, descending otherwise.
Restrict results to teams the caller belongs to. When true and the caller has no teams, the result set is empty.
IANA time zone name used to interpret the time range (e.g. Asia/Shanghai). Defaults to the account time zone.
Lower bound (inclusive) on time-to-close, in seconds.
Upper bound (exclusive) on time-to-close, in seconds. Must be greater than seconds_to_close_from when both are set.
Lower bound (inclusive) on time-to-acknowledge, in seconds.
Upper bound (exclusive) on time-to-acknowledge, in seconds. Must be greater than seconds_to_ack_from when both are set.
Subset of CSV column keys to include in the export. At most 50 entries. Only used by the export endpoints.
Strip HTML markup from the description column when exporting.
When true, metrics are split into work/sleep/off hour buckets.
Aggregate metrics into time buckets. When set, the time range must cover at least 24 hours; day additionally caps the range at 31 days.
day, week, month Success
Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.