cliProvider-backed
Activate segment pilot
pipeline activate-segment-pilot
Activate one explicitly selected Launchpad segment. Deterministically creates or repairs its campaign brief, ICP profile, draft campaign, and Agent Teams table, then sources up to 10 pilot rows through the segment's connected provider and stops at a review approval. Does not scale, research, write copy, or launch the campaign.
Parameters
workspaceIdrequired
string
No description.
segmentIdrequired
string
Exact segment ID returned by list-segments. Never infer or auto-select it.
targetLeadCount
number
Planned total audience after pilot approval. The initial pilot remains capped at 10 rows.
Example
CLI commandbash
pipeline activate-segment-pilot \--workspace-id "00000000-0000-4000-8000-000000000000" \--segment-id "00000000-0000-4000-8000-000000000000"
Response
Success response schemajson schema
{"type": "object","properties": {"segmentId": {"type": "string"},"briefId": {"type": "string"},"icpProfileId": {"type": ["string","null"]},"tableId": {"type": "string"},"campaignId": {"type": ["string","null"]},"state": {"type": "string"},"alreadyActive": {"type": "boolean"},"repaired": {"type": "boolean"},"pendingApprovalId": {"type": ["string","null"]},"targetLeadCount": {"type": "number"},"pilotInserted": {"type": "number"},"pilotSkipped": {"type": "number"},"warning": {"type": "string"}},"required": ["segmentId","briefId","icpProfileId","tableId","campaignId","state","alreadyActive","repaired","pendingApprovalId","targetLeadCount"]}
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.