bi_get_timeline
Retrieve a camera's activity timeline with motion, trigger, and alert buckets for any time window, defaulting to the last 24 hours when no dates are specified.
Instructions
24-hour activity timeline (motion/trigger/alert buckets) for a camera. Requires 'camera' short name. If both 'startdate' and 'enddate' are omitted, defaults to the last 24 hours (BI returns empty spans for a rangeless query).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | If true, return the raw Blue Iris JSON instead of the shaped view. | |
| camera | Yes | Camera short name. Required. | |
| msecpp | No | Display quantization (ms per pixel), min 128. | |
| enddate | No | Window end. Int (UTC sec), ISO-8601, or relative shorthand like '-2h', '-1d'. Defaults to now if omitted. | |
| startdate | No | Window start. Int (UTC sec), ISO-8601, or relative shorthand like '-2h', '-1d'. If given without 'enddate', the end defaults to now (so 'activity since T' works). Defaults to 24h before now when both bounds are omitted. |