/artifact-themes/{themeId}
Change an organization theme; every artifact on it shows the change the next time it is opened
In: header
Path Parameters
Request Body
application/json
Name shown in pickers and accepted by agents; unique in the organization, not 'gatana' or 'none'
1 <= length <= 64Page background, as a hex color (#rgb or #rrggbb)
^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$Heading text; body text, lines and soft backgrounds are mixed from it and the background, as a hex color (#rgb or #rrggbb)
^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$Buttons, links on hover, the eyebrow line and the gradient, as a hex color (#rgb or #rrggbb)
^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$Font of headings
"inter" | "fraunces" | "system-sans" | "system-serif"Font of headings
"inter" | "fraunces" | "system-sans" | "system-serif"Font of code
"jetbrains-mono" | "system-mono"Logo shown at the top of every page, as a base64 data: URL of a PNG, JPEG, WebP or SVG image of at most 256 KB, or an empty string for none
length <= 360000CSS added after the theme's own rules; the page's own styles still win over it
length <= 100000Response Body
application/json
curl -X PATCH "https://YOUR_ORG_ID.gatana.ai/api/v1/artifact-themes/string" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "string",
"name": "string",
"backgroundColor": "string",
"textColor": "string",
"accentColor": "string",
"headingFont": "inter",
"bodyFont": "inter",
"codeFont": "jetbrains-mono",
"logo": "string",
"extraCss": "string",
"createdAt": "string",
"updatedAt": "string"
}