Parameters
| Name | Type | Required | Description |
|---|---|---|---|
brandId | string | Yes | Ocoya brand id from ocoya_list_brands. |
status | string | No | Optional: only campaigns with this status. One of GENERATING, GENERATED, SCHEDULED, ERROR. |
page | number | No | Zero-based page number. Defaults to 0. |
perPage | number | No | Campaigns per page, up to 100. Defaults to 20. |
Request example
{
"name": "ocoya_list_campaigns",
"arguments": {
"brandId": "cmayvq3hk00017apshay5qezu"
}
}Returns
Returns total, page, perPage and data (each with id, type, name, prompt, goal, status, duration, startDate, postsPerDay, plannedPostCount, postCount, postLength, channelIds, generation, createdAt and updatedAt). This tool only reads: it changes nothing in Ocoya.