campaigns_analytics
Retrieve campaign performance metrics for a set number of days to track engagement trends and measure marketing impact.
Instructions
Get campaign performance analytics over time.
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": {
"campaign_id": "<campaign_id>",
"length": "<length>"
},
"name": "campaigns_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | Braze REST API key | |
| length | Yes | Number of days to return (max 100) | |
| ending_at | No | End date (ISO 8601) | |
| campaign_id | Yes | Campaign ID | |
| restEndpoint | No | Braze REST endpoint URL |