forms_metrics_get
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Read Form dashboard summary comparisons and active-variant performance for resolved dates/timezone. Summary and variant rates retain the dashboard's event-specific counting. Custom events return variant metrics without submission-only summaries.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"formId": "<formId>",
"dateRange": "<dateRange>"
},
"name": "forms_metrics_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| event | No | ||
| formId | Yes | ||
| siteId | No | ||
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| timezone | No | ||
| dateRange | Yes | last-30-days |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | Reuses dashboard summary and active-variant queries, not summed variant totals. For submissions, counts are unique viewing sessions with a saved submission; repeat submissions in the same session count once. Drop-off uses starters with no saved submission, using convertedStarts for the matching starting cohort. Use the returned rates; they are percentages and zero denominators return zero. Custom events retain their event-specific conversion basis. Summary sessions deduplicate across the Form; variant rows can overlap sessions. Revenue is normalized major units; null is unavailable. | |
| scope | Yes | ||
| command | Yes |