{"info":{"title":"Sigkraft Public API","version":"1.0.0","description":"Machine-readable brand kits. Public, CORS-enabled, read-only."},"servers":[{"url":"https://api.sigkraft.com/v1"}],"openapi":"3.1.1","paths":{"/brands":{"get":{"operationId":"listBrands","summary":"List published brands","tags":["brands"],"parameters":[{"name":"cursor","in":"query","schema":{"type":"string","minLength":1},"allowEmptyValue":true,"allowReserved":true},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100},"allowEmptyValue":true,"allowReserved":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"site":{"type":"string"},"brands":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"tagline":{"anyOf":[{"type":"string"},{"type":"null"}]},"url":{"type":"string"},"api":{"type":"string"}},"required":["slug","name","tagline","url","api"]}},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["site","brands","nextCursor"]}}}}}}},"/brands/{slug}":{"get":{"operationId":"getBrand","summary":"Get a published brand kit","description":"Everything needed to render or integrate the brand kit elsewhere: colors, fonts, assets with absolute CDN URLs, favicon set, OG image, zip, and the canonical brand.md URL. CORS-enabled.","tags":["brands"],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","minLength":1,"description":"Public brand slug"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"tagline":{"anyOf":[{"type":"string"},{"type":"null"}]},"website":{"anyOf":[{"type":"string"},{"type":"null"}]},"language":{"type":"string"},"background":{"type":"string"},"colors":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"hex":{"type":"string"},"role":{"enum":["background","foreground","primary","accent","surface"],"type":"string"}},"required":["name","hex"]}},"fonts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"role":{"type":"string"},"weights":{"type":"string"},"source":{"type":"string"}},"required":["name"]}},"strategy":{"anyOf":[{"type":"string"},{"type":"null"}]},"voice":{"anyOf":[{"type":"string"},{"type":"null"}]},"notes":{"anyOf":[{"type":"string"},{"type":"null"}]},"assets":{"type":"array","items":{"type":"object","properties":{"stem":{"type":"string"},"type":{"type":"string"},"variant":{"enum":["light","dark","mono","mono-dark"],"type":"string"},"url":{"type":"string"},"width":{"anyOf":[{"type":"number"},{"type":"null"}]},"height":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["stem","type","variant","url","width","height"]}},"brandMd":{"type":"string"},"page":{"type":"string"},"favicon":{"anyOf":[{"type":"object","properties":{"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"}},"required":["name","url"]}}},"required":["files"]},{"type":"null"}]},"og":{"anyOf":[{"type":"string"},{"type":"null"}]},"zip":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["slug","name","tagline","website","language","background","colors","fonts","strategy","voice","notes","assets","brandMd","page","favicon","og","zip"]}}}}}}},"/brands/{slug}/assets":{"get":{"operationId":"listAssets","summary":"List a published brand's assets","tags":["brands","assets"],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","minLength":1,"description":"Public brand slug"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"assets":{"type":"array","items":{"type":"object","properties":{"stem":{"type":"string"},"type":{"type":"string"},"variant":{"enum":["light","dark","mono","mono-dark"],"type":"string"},"url":{"type":"string"},"width":{"anyOf":[{"type":"number"},{"type":"null"}]},"height":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["stem","type","variant","url","width","height"]}}},"required":["assets"]}}}}}}},"/brands/{slug}/assets/{stem}":{"get":{"operationId":"getAsset","summary":"Get a published brand asset and its SVG source","tags":["brands","assets"],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","minLength":1,"description":"Public brand slug"}},{"name":"stem","in":"path","required":true,"schema":{"type":"string","minLength":1,"description":"Asset stem, e.g. \"icon\", \"wordmark-dark\""}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"stem":{"type":"string"},"type":{"type":"string"},"variant":{"enum":["light","dark","mono","mono-dark"],"type":"string"},"url":{"type":"string"},"width":{"anyOf":[{"type":"number"},{"type":"null"}]},"height":{"anyOf":[{"type":"number"},{"type":"null"}]},"svg":{"type":"string"}},"required":["stem","type","variant","url","width","height","svg"]}}}}}}},"/brands/{slug}/favicon-install-prompt":{"get":{"operationId":"getFaviconInstallPrompt","summary":"Get a favicon installation prompt","tags":["brands","favicons"],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","minLength":1,"description":"Public brand slug"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string"}},"required":["prompt"]}}}}}}}}}