mailerpress/get-campaign-batches lists all send batches for a campaign with per-batch statistics: opens, clicks and unsubscribes.
A campaign can have several batches, which is what makes this a history rather than a status.
At a glance
| Ability | mailerpress/get-campaign-batches |
| Toolset | MailerPress — toolset/mailerpress |
| Group | MailerPress › Campaigns & Sending |
| Requires | AcrossAI Pro, plus MailerPress active on the site |
| Capability | manage_options |
| Safety | Read-only — changes nothing |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Pro 0.9.16 and later |
How it works
Several batches arise from resending to a different audience, from a paused and resumed send, or from a deliberate split test.
Per-batch statistics are what make that useful. A campaign sent twice to different lists has two engagement profiles, and a campaign-level total flattens them into one number that describes neither.
The batch ID is what the contact-level reads take — mailerpress/list-campaign-opened-contacts and its siblings are all per batch rather than per campaign, for the same reason.
A campaign with no batches has never been sent, whatever its status says.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
id | integer | Yes | The campaign ID. |
What comes back
| Name | Type | What it is |
|---|---|---|
batches | array | Each batch with its ID, state and statistics. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation. |
Example
Ask your assistant:
How did that campaign perform?
It resolves to one call:
{
"ability": "mailerpress/get-campaign-batches",
"parameters": {
"id": 44
}
}Worth knowing
- Several batches per campaign is normal — resends, pauses and splits.
- A campaign-level total flattens distinct audiences into one meaningless number.
- The contact-level reads all take a batch ID.
- No batches means never sent.
Related abilities
- MailerPress Get Batch Chunks — inside one batch
- MailerPress List Campaign Opened Contacts — who engaged
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category