cliDeterministic

Get campaign analytics

pipeline get-campaign-analytics

Get detailed analytics for a campaign including connection rates, reply rates, and message performance.

Parameters

workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
campaignIdrequired
string
No description.
start
string
No description.
end
string
No description.

Example

CLI commandbash
pipeline get-campaign-analytics \
--campaign-id "00000000-0000-4000-8000-000000000000"

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"data": {
"type": [
"array",
"object"
],
"description": "Per-day analytics rows (detailed/chart) or the analytics summary object (format=summary)"
},
"metadata": {
"type": "object",
"properties": {
"campaign_id": {
"type": "string"
},
"campaign_name": {
"type": "string"
},
"campaign_status": {
"type": "string"
},
"workspace_id": {
"type": "string"
},
"period": {
"type": "string"
},
"start_date": {
"type": "string"
},
"end_date": {
"type": "string"
},
"format": {
"type": "string"
}
}
},
"aggregated": {
"type": "object",
"description": "Present for detailed/chart formats"
},
"chart_data": {
"type": "array",
"description": "Present only when format=chart"
},
"comparison": {
"type": "object",
"description": "Present only when compare=true"
},
"ci_ratio": {
"type": "number"
},
"ci_classification": {
"type": "string"
},
"icp_tier": {
"type": "string"
},
"benchmark_status": {
"type": "string"
},
"funnel_metrics": {
"type": "object",
"description": "Present only for non-summary formats"
},
"funnel_comparison": {
"type": "object",
"description": "Present only when compare=true and format is not summary"
}
}
}

Exit codes

1
Invalid input or local configuration.
2
The API or tool returned an error.
3
Authentication failed.
4
A network request failed.
Pipeline CLI documentation | Pipeline