putty
API ReferenceArtifacts

List your brand kits

Returns the caller's brand kits, most recently updated first. Every kit carries its `contrast` report, recomputed on read, so a client can render the per-swatch badge without running the maths itself.

GET
/brand/kits

Returns the caller's brand kits, most recently updated first. Every kit carries its contrast report, recomputed on read, so a client can render the per-swatch badge without running the maths itself.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/brand/kits"
{  "kits": [    {      "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"    }  ]}