Read-only

Get Campaign Variant Stats

Returns per-step results from activities with a non-null variant_index. Fails with VARIANTS_NOT_APPLIED when a campaign contains variant copy on an unsupported send path, preventing silent partial attribution.

get_variant_statsGET/api/v1/analytics/variants
crispy — bash

Example prompt: Show the recorded variant results for gtm-engineers-apr26

{
  "success": true,
  "campaign_id": "gtm-engineers-apr26",
  "total_variants_with_data": 2,
  "steps": [{"step_index": 0, "variant_index": 0, "variant_label": "A", "sent": 120}]
}
Permission scope
core
Access
Read-only
Category
Analytics

What you can build

Compare delivery and response counts for message arms that actually sent
Exclude base-only and deterministic fallback sends from per-arm attribution

Parameters

Inputs accepted by get_variant_stats.

NameTypeDescription
campaign_idstringCampaign slug (e.g. 'gtm-engineers-apr26') from list_campaigns

Run LinkedIn workflows from the AI client you already use.

Create your account, connect LinkedIn, create an API key, then add Crispy to your client. Review the docs for supported workflows and safety controls.