get_metric_timeline
Retrieve timeline data for a specific Klaviyo metric, with optional date filters and pagination.
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": {
"metric_id": "<metric_id>"
},
"name": "get_metric_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric_id | Yes | The ID of the metric | |
| start_date | No | Start date in ISO format | |
| end_date | No | End date in ISO format | |
| page_size | No | Number of results per page | |
| page_cursor | No | Cursor for pagination |