Parameters

NameTypeRequiredDescription
brandIdstringYesBrand ID from ocoya_list_brands.
designIdstringYesStudio design ID from ocoya_list_studio_designs.

Request example

{
  "name": "ocoya_get_studio_design",
  "arguments": {
    "brandId": "cmayvq3hk00017apshay5qezu",
    "designId": "cmayxdsgn00097apsk2v8q1rt"
  }
}

Returns

Returns the design’s ID, name, thumbnail and fields. Each field has:

FieldDescription
idThe key to use in fields (ocoya_render_studio_design) or studioDesignFields (ocoya_create_ai_post, ocoya_create_ai_campaign).
labelThe layer’s name in Studio, or what it currently says.
typetext, image or color.
valueWhat the field holds in the saved design: its text, image URL or colour.