Brand

Overview

What create() and get() return. Every call that changes it answers with the brand as the server now holds it.

update · refresh · removelogos · palette · assets
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

PropertyTypeHolds
id · name · descriptionstringWho it is.
identityobjectTagline, long description, sector, languages, founding year, domain, socials.
logosarrayIts logos, with logos.main and the calls of logos.
paletteobjectcolors and typography, with palette.role() and palette.set().
assetsarrayPhotos, videos and illustrations, with the calls of assets.
platformobjectMission, values, positioning, audiences, archetype, voice and messages.
enterprisenullNot defined yet.
completenessobject{ done, total, missing }: what is still empty.

update()

await brand.update({
  identity: { tagline: "Roasted every morning", socials: { instagram: "@qahwalab" } },
  platform: { archetype: "creator", voice: { traits: ["warm", "precise"] } },
});
brand.update(
    identity={"tagline": "Roasted every morning", "socials": {"instagram": "@qahwalab"}},
    platform={"archetype": "creator", "voice": {"traits": ["warm", "precise"]}},
)
brand.refresh()
brand.to_dict()

Partial: a field you leave out stays as it is, and null empties it. name, description, identity and platform are accepted; logos, colors and resources have their own calls.

refresh()

Reads the brand again from the server — after another device or an agent changed it.

toJSON()

The brand as a plain object, the shape a Server Action or JSON.stringify can carry. In Python, brand.to_dict().