Parameters

NameTypeRequiredDescription
brandIdstringYesOcoya brand id from ocoya_list_brands.
campaignIdstringYesOcoya campaign id from ocoya_list_campaigns or ocoya_create_ai_campaign.

Request example

{
  "name": "ocoya_get_campaign",
  "arguments": {
    "brandId": "cmayvq3hk00017apshay5qezu",
    "campaignId": "cmayxcmpn00087aps2m7hjs9z"
  }
}

Returns

Returns id, type, name, prompt, goal, status, duration, startDate, postsPerDay, plannedPostCount, postCount, postLength, channelIds, generation, createdAt, updatedAt, posts (each with sequence, title, captionPreview, scheduledAt, approved, postGroupId, status and mediaCount), error, templateId, audience, emails and summary. This tool only reads: it changes nothing in Ocoya.