Get campaign metrics engagement export
get_campaign_metrics_engagement_exportDownload a campaign engagement breakdown as JSONL. Omit both dates for the API default (last 90 days). A wider range returns an error from the API. engagementContext filters to catalog or playlist; omit it to return both.
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": {
"campaignId": "<campaignId>"
},
"name": "get_campaign_metrics_engagement_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | End of the date range, YYYY-MM-DD or an ISO-8601 timestamp. | |
| startDate | No | Start of the date range, YYYY-MM-DD or an ISO-8601 timestamp. | |
| campaignId | Yes | Soundlink campaign ID. | |
| engagementContext | No | Restrict engagement to catalog or playlist listening. |