A metric is a project-scoped, saved SQL definition with a name and description. Metrics capture repeatable intelligence so AgentFlow can anticipate what matters as new data arrives.
Create a metric
- Open Metrics in a ready project.
- Choose Create metric.
- Enter a name, an optional description, and the SQL.
- Select Validate SQL and wait for the query to succeed against the project’s bound view.
- Create the metric.
The SQL must validate against the project’s bound e6data view before the metric can be created.
Versions
Metrics are versioned. Edit a version, create another version, or promote an existing version to current.
What a metric doesn’t include
The metric definition is deliberately narrow. It doesn’t embed schedules, thresholds, alerts, dimensions, drivers or AI-generated SQL. To run a metric on a schedule or react to it, use it in a workflow. Last modified on October 1, 2026