compare_changeset_metrics
compare_changeset_metrics
Compares a change set’s performance against baseline over a date range in one call.
Baseline is the set of conversations not attributed to any change set. Your live AI Agent handles them. The tool returns baseline and change set side-by-side for each metric, with the absolute and relative difference.
Read-only. Use list_agent_changesets to find a change set ID, and edit_agent_behavior to stage, promote, or revert changes.
Example prompts
- “How does change set abc123 compare to baseline over the last 14 days?”
- “Did the returns-policy change improve resolution rate?”
- “Compare my staged change against baseline for September.”
Parameters
Metrics returned
Custom metrics need the custom metrics feature enabled for your workspace.
Response
Returns one object with the change set ID, the date range, per-cohort volume, and a list of metric comparisons.
Each entry in metrics has these fields:
All rate values are percentages (0–100) rounded to 1 decimal place.
A cohort with no conversations returns null for that side, and delta and relative_delta are then null. A zero-volume cohort has no real rate, so the tool reports null rather than a fabricated 0.
Why use this over get_ada_metric
get_ada_metric returns one metric for one cohort. To compare a change set against baseline with it, you call it twice per metric and align the results yourself. This tool returns every metric for both cohorts, with the difference computed, in one call.