Get Campaign Metrics
GET /campaigns/{campaign_id}/metrics
Get campaign execution metrics — sequence status + email sent/replied counts.
Thin wrapper around the existing campaigns.metrics handler. The
handler queries ClickHouse for per-sequence event aggregates and joins
them to the campaign’s linked sequences via cb_campaign_sequence_links.
Read-only. Returns the same shape the handler produces. Each campaign carries
a metric_status (available | zero | stale | unknown | missing) that
reconciles the ClickHouse engagement rollup against Postgres send receipts
(seqcontactexecutedsteps): if analytics are unreachable the status is
unknown (NOT a zero), and if send receipts prove sends the rollup has not
counted the status is stale. Read reconciliation and measured_range
before concluding anything about delivery — never treat a bare zero as an outage.
Authorizations
Parameters
Path Parameters
Campaign ID
Campaign ID
Query Parameters
Lookback window in days
Lookback window in days
Header Parameters
Responses
200
Successful Response
object
object
422
Validation Error