get_churn
Calculate customer and revenue churn rates for a chosen period, returning churned customer percentage, churned MRR, and lost revenue share to track subscription losses.
Instructions
Compute customer churn rate and revenue churn rate for a given period. Returns percentage of customers lost, percentage of revenue lost, counts of churned customers, and churned MRR amount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period_days | No | Number of days to analyze (default: 30, min: 1, max: 365) |