{"openapi":"3.1.0","info":{"title":"Morpho Brand Guidelines API","version":"1.0.0","summary":"Official Morpho brand assets, as shown on brand.morpho.org.","description":"Read-only and keyless. Use it to get the official Morpho logos, the Powered by Morpho badges and web component, the token icon, brand colors, graphics and icons. Use each file from its URL as is: do not redraw or recolor the Morpho logo. The assets only change on deploy, so cache responses for one hour. This API does not cover the Morpho protocol or its data: use https://docs.morpho.org for those.","contact":{"name":"Morpho","url":"https://morpho.org/contact","email":"contact@morpho.org"},"termsOfService":"https://morpho.org/terms-of-use/"},"externalDocs":{"description":"Brand brief for agents","url":"https://brand.morpho.org/llms.txt"},"servers":[{"url":"https://brand.morpho.org"}],"security":[],"paths":{"/api/assets":{"get":{"operationId":"getBrandAssets","summary":"Get the official Morpho brand assets","description":"Returns the URLs of every downloadable brand asset, the Powered by Morpho web component snippet and the brand colors.","responses":{"200":{"description":"The brand assets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandAssets"}}}}}}},"/llms.txt":{"get":{"operationId":"getBrandBriefMarkdown","summary":"Get the Morpho brand brief as Markdown","description":"The same assets as `getBrandAssets`, as Markdown, with the brand rules and guidance on when to use them.","responses":{"200":{"description":"Markdown brief.","content":{"text/markdown":{"schema":{"type":"string"}}}}}}}},"components":{"schemas":{"BrandAssets":{"type":"object","required":["siteUrl","briefUrl","brandKitUrl","logos","poweredByBadges","poweredBySnippet","tokenIconUrl","colors","graphics","icons"],"properties":{"siteUrl":{"type":"string","format":"uri","description":"Brand guidelines site."},"briefUrl":{"type":"string","format":"uri","description":"Markdown brief with the brand rules."},"brandKitUrl":{"type":"string","format":"uri","description":"Zip archive with every brand asset."},"logos":{"type":"array","description":"Morpho logos.","items":{"$ref":"#/components/schemas/ThemedAsset"}},"poweredByBadges":{"type":"array","description":"Static Powered by Morpho badges, for apps built on Morpho.","items":{"$ref":"#/components/schemas/ThemedAsset"}},"poweredBySnippet":{"$ref":"#/components/schemas/PoweredBySnippet"},"tokenIconUrl":{"type":"string","format":"uri","description":"Zip archive with the Morpho token icon."},"colors":{"type":"array","description":"Brand color families. The first shade of each family is its main color.","items":{"$ref":"#/components/schemas/ColorFamily"}},"graphics":{"type":"array","description":"Gradient shapes, used as backgrounds and section visuals.","items":{"$ref":"#/components/schemas/NamedFile"}},"icons":{"type":"array","description":"Line icons for navigation, product features and diagram nodes.","items":{"$ref":"#/components/schemas/NamedFile"}}}},"ThemedAsset":{"type":"object","required":["id","name","forLightBackgroundUrl","forDarkBackgroundUrl"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"forLightBackgroundUrl":{"type":"string","format":"uri","description":"Variant to use on a light background."},"forDarkBackgroundUrl":{"type":"string","format":"uri","description":"Variant to use on a dark background."}}},"PoweredBySnippet":{"type":"object","description":"The `<powered-by-morpho>` web component. Keep the `integrity` and `crossorigin` attributes when embedding it.","required":["src","integrity","html"],"properties":{"src":{"type":"string","format":"uri","description":"Script URL, pinned to an immutable version."},"integrity":{"type":"string","description":"Subresource Integrity hash of `src`."},"html":{"type":"string","description":"HTML to paste in the app, light theme."}}},"ColorFamily":{"type":"object","required":["name","shades"],"properties":{"name":{"type":"string"},"shades":{"type":"array","items":{"type":"object","required":["hex","rgb"],"properties":{"hex":{"type":"string","description":"For example `#3C80FF`."},"rgb":{"type":"string","description":"For example `R60 G128 B255`."}}}}}},"NamedFile":{"type":"object","required":["name","url"],"properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri","description":"File URL."}}},"Problem":{"type":"object","description":"RFC 9457 problem details with a stable `code` and a `resolution` hint.","required":["type","title","status","code","detail","resolution","instance"],"properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"code":{"type":"string","enum":["endpoint_not_found"]},"detail":{"type":"string"},"resolution":{"type":"string","description":"What to change before retrying."},"instance":{"type":"string"}}}}}}