Skip to main content

CampaignBucketCreate

A variant bucket within an A/B campaign. Leads are randomly assigned to buckets by weight; each bucket applies its own overrides.

campaign_idCampaign Idrequired

ID of the campaign this bucket belongs to.

nameNamerequired

Human-readable bucket (variant) name.

weight_pctWeight Pctrequired

Selection weight as a percentage (0–100). Across a campaign, active weights must total 100.

config object

The overrides this bucket applies (prompts, model config, outreach).

prompt_overrides object

Per prompt-type and language, the prompt/version to use instead of the agent's default.

property name* object
outreach_config_override object

Outreach setting overrides applied for this bucket.

anyOf
initial_message_send_at object

Override for when the initial outreach message is sent.

anyOf
string
source object

Override for the outreach message source (content).

anyOf
text object
anyOf
string
prompt_id object
anyOf
integer
prompt_version_id object
anyOf
integer
prepared_message_id object
anyOf
integer
waba_template_id object
anyOf
integer
file_idsinteger[]
caption object
anyOf
string
subject object

Override for the message subject (email channels).

anyOf
string
models_config_override object

LLM model-config overrides applied for this bucket.

anyOf
chatbot_model_config object
anyOf
vendorVendorrequired

Possible values: [chatgpt, gemini, anthropic, grok, sber, openrouter]

modelModelrequired
temperatureTemperature
Default value: 0.7
prompt_caching_enabledPrompt Caching Enabled
Default value: false
classification_model_config object
anyOf
vendorVendorrequired

Possible values: [chatgpt, gemini, anthropic, grok, sber, openrouter]

modelModelrequired
temperatureTemperature
Default value: 0.7
prompt_caching_enabledPrompt Caching Enabled
Default value: false
ping_model_config object
anyOf
vendorVendorrequired

Possible values: [chatgpt, gemini, anthropic, grok, sber, openrouter]

modelModelrequired
temperatureTemperature
Default value: 0.7
prompt_caching_enabledPrompt Caching Enabled
Default value: false
document_model_config object
anyOf
vendorVendorrequired

Possible values: [chatgpt, gemini, anthropic, grok, sber, openrouter]

modelModelrequired
temperatureTemperature
Default value: 0.7
prompt_caching_enabledPrompt Caching Enabled
Default value: false
CampaignBucketCreate
{
"campaign_id": 0,
"name": "string",
"weight_pct": 0,
"config": {
"prompt_overrides": {},
"outreach_config_override": {
"initial_message_send_at": "string",
"source": {
"text": "string",
"prompt_id": 0,
"prompt_version_id": 0,
"prepared_message_id": 0,
"waba_template_id": 0,
"file_ids": [
0
],
"caption": "string"
},
"subject": "string"
},
"models_config_override": {
"chatbot_model_config": {
"vendor": "chatgpt",
"model": "string",
"temperature": 0.7,
"prompt_caching_enabled": false
},
"classification_model_config": {
"vendor": "chatgpt",
"model": "string",
"temperature": 0.7,
"prompt_caching_enabled": false
},
"ping_model_config": {
"vendor": "chatgpt",
"model": "string",
"temperature": 0.7,
"prompt_caching_enabled": false
},
"document_model_config": {
"vendor": "chatgpt",
"model": "string",
"temperature": 0.7,
"prompt_caching_enabled": false
}
}
}
}