Read a brand kit
Returns one brand kit. A kit owned by another user answers with the same 404 as a kit that does not exist.
Returns one brand kit. A kit owned by another user answers with the same 404 as a kit that does not exist.
Path Parameters
The brand kit id.
1 <= length <= 64Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/brand/kits/string"{ "id": "string", "name": "string", "tagline": "string", "voice": [ "string" ], "palette": { "primary": "string", "primaryForeground": "string", "secondary": "string", "secondaryForeground": "string", "accent": "string", "accentForeground": "string", "background": "string", "foreground": "string", "muted": "string", "border": "string", "destructive": "string" }, "fonts": { "heading": { "family": "string", "weights": [ 100 ] }, "body": { "family": "string", "weights": [ 100 ] } }, "logoAssetIds": [ "string" ], "contrast": { "passes": true, "pairs": [ { "foreground": "string", "background": "string", "ratio": 0, "level": "aa", "message": "string" } ], "failures": [ { "foreground": "string", "background": "string", "ratio": 0, "level": "aa", "message": "string" } ] }, "createdAt": "string", "updatedAt": "string"}Create a brand kit POST
Saves a brand kit. The palette is contrast-checked server-side against WCAG AA for its text pairs and a failing palette is refused with a 422 that names the offending pair — the check cannot be skipped by calling the API directly. Font families must come from the committed allowlist; a family outside it is a 400.
Edit a brand kit PATCH
Patches one brand kit the caller owns. The merged result is re-checked against WCAG AA even when the patch does not touch the palette, so a kit can never be left in a state the create path would have refused.