PaginatedResponse[CampaignRead]
items object[]required
Array [
idIdrequired
Unique numeric identifier of the record.
nameNamerequired
Human-readable campaign name.
product_idProduct Idrequired
ID of the product (workspace) that owns this record. Most endpoints scope access by product.
agent_idAgent Idrequired
ID of the agent (a configured AI assistant / bot persona) this record belongs to.
created_atdate-timerequired
Creation time (UTC, ISO 8601).
starts_at objectrequired
When the campaign becomes active (UTC); null means no lower bound.
- date-time
- null
date-time
expires_at objectrequired
When the campaign stops being active (UTC); null means no upper bound.
- date-time
- null
date-time
is_activeIs Activerequired
Whether the campaign is enabled. Active campaigns require bucket weights summing to 100.
batch_names objectrequired
Comma-separated, normalized batch tokens this campaign targets; empty/null targets leads generically.
- string
- null
string
config objectrequired
Free-form campaign configuration (JSON).
property name*any
Free-form campaign configuration (JSON).
]
pagePagerequired
limitLimitrequired
totalTotalrequired
pagesPagesrequired
PaginatedResponse[CampaignRead]
{
"items": [
{
"id": 0,
"name": "string",
"product_id": 0,
"agent_id": 0,
"created_at": "2024-07-29T15:51:28.071Z",
"starts_at": "2024-07-29T15:51:28.071Z",
"expires_at": "2024-07-29T15:51:28.071Z",
"is_active": true,
"batch_names": "string",
"config": {}
}
],
"page": 0,
"limit": 0,
"total": 0,
"pages": 0
}