get_campaign_metrics
Retrieve campaign performance metrics from the Klaviyo MCP Server by specifying campaign ID, desired metrics, and date range for analysis.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
conversion_metric_id | No | ID of the metric to use for conversion statistics | |
end_date | No | End date for metrics (ISO format) | |
id | Yes | ID of the campaign to retrieve metrics for | |
metrics | No | Specific metrics to retrieve (e.g., ['open_rate', 'click_rate', 'delivered', 'bounce_rate']) | |
start_date | No | Start date for metrics (ISO format) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"conversion_metric_id": {
"description": "ID of the metric to use for conversion statistics",
"type": "string"
},
"end_date": {
"description": "End date for metrics (ISO format)",
"type": "string"
},
"id": {
"description": "ID of the campaign to retrieve metrics for",
"type": "string"
},
"metrics": {
"description": "Specific metrics to retrieve (e.g., ['open_rate', 'click_rate', 'delivered', 'bounce_rate'])",
"items": {
"type": "string"
},
"type": "array"
},
"start_date": {
"description": "Start date for metrics (ISO format)",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}