Skip to main content
Define rules that automatically evaluate recordings and take actions when conditions match. Rules run on incoming recording data and can tag recordings, create timeline events, flag items for human review, or trigger notifications — without any manual intervention.
Fleet Management is in preview. APIs and features described on this page may change.

How Rules Work

  1. You define a rule with a condition (what to look for) and one or more actions (what to do when found).
  2. When a recording finishes processing, all active rules evaluate against its data.
  3. If a rule’s condition matches, its actions execute automatically.
  4. Rule evaluation results are logged for auditing and debugging.
Rules evaluate against topic data, recording metadata, and event patterns within a recording. They can target specific devices, device groups, or apply fleet-wide.

Rule Types

Creating Rules

Threshold Rule

The most common rule type. Monitor a numeric field on a topic and trigger when it crosses a boundary.

Condition Operators

Pattern Rule

Match against string values in topic data or recording metadata using regular expressions.

Frequency Rule

Trigger when an event or condition occurs more (or fewer) than a specified number of times within a sliding time window.

Absence Rule

Detect missing data — useful for heartbeat monitoring, dropped sensor feeds, and connectivity issues.

Composite Rule

Combine multiple conditions with logical operators for complex detection scenarios.

Rule Actions

Each rule can have one or more actions that execute when its condition matches.
Actions execute in the order they are defined. If a notify action fails (e.g., Slack webhook returns an error), subsequent actions still execute. Failed actions are logged in the rule evaluation results.

Tag Action

Tags are searchable strings attached to recordings. Use tags to categorize recordings for downstream filtering in the recording browser or SDK queries.

Create Event Action

Creates a timestamped event marker on the recording at the point where the condition matched.

Flag for Review Action

Marks the recording in the dashboard with a review flag. Flagged recordings appear in the “Needs Review” filter in the recording browser.

Notify Action

Sends a notification to a configured alert channel. The notification includes the rule name, recording ID, device name, and a link to the recording in the viewer.

Auto-Label Action

Triggers an auto-labeling pipeline on the recording. Useful for running ML inference on recordings that match specific patterns — for example, auto-labeling all recordings tagged with “near-miss” events.

Rule Scope

By default, rules apply to all recordings across the fleet. You can narrow a rule’s scope to specific devices or device groups.

Rule Management

List Rules

Enable and Disable Rules

Pause a rule without deleting it. Disabled rules are preserved with their configuration and hit history.

Delete a Rule

Deleting a rule is permanent. Events and tags previously created by the rule are not removed — only future evaluation stops. If you want to temporarily stop a rule, disable it instead.

Rule Statistics

Each rule tracks evaluation statistics to help you tune conditions and reduce false positives.

Rule Dashboard

The rule dashboard in Mission Control displays all rules with their hit rates, recent matches, and status. From the dashboard you can:
  • View rule hit rate trends over time
  • Inspect recent matches with links to the matched recordings
  • Toggle rules on and off
  • Duplicate rules as templates for new variations
  • View evaluation logs for debugging conditions that match unexpectedly (or fail to match)
If a rule has a high hit rate (above 80%), the condition may be too broad. If it has a very low hit rate (below 1%) over a meaningful sample, the condition may be too strict or targeting the wrong topic/field. Use the evaluation logs to inspect individual matches and near-misses.

Next Steps

Alerts & Notifications

Route notifications to Slack, email, and webhooks when rules trigger.

Events & Markers

Understand the timeline events that rules can create automatically.

Fleet Dashboard

Manage devices, recordings, and fleet metrics from the central dashboard.

Data Exploration

Explore recording data interactively before defining rules.