{"openapi":"3.1.0","info":{"title":"Sleazy Kits Public Discovery API","version":"1.0.0","description":"Read-only discovery of UI libraries and components. No API key, payment, or OAuth scopes are required. Browser account sync and mutation endpoints are not public API operations.","contact":{"name":"Eli Munn","url":"https://github.com/e-munn"}},"servers":[{"url":"https://sleazykits.com"}],"security":[],"paths":{"/catalog.json":{"get":{"operationId":"getComponentCatalog","summary":"Read the public component catalog","description":"Returns stable IDs, library URLs, upstream source links, and preview provenance. Cached for five minutes. A single read-only catalog document; no pagination or writes.","security":[],"responses":{"200":{"description":"Public catalog","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Catalog"}}}},"503":{"description":"Temporarily unavailable; retry after the Retry-After header.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}}},"components":{"schemas":{"Library":{"type":"object","required":["id","name","url","componentCount"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"documentationUrl":{"type":["string","null"]},"repositoryUrl":{"type":["string","null"]},"componentCount":{"type":"integer","minimum":0}}},"Component":{"type":"object","required":["id","libraryId","name","url","preview"],"properties":{"id":{"type":"string"},"libraryId":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"sourceUrl":{"type":["string","null"]},"preview":{"type":"string","enum":["packaged","ai-recreated"]}}},"Problem":{"type":"object","required":["title","status","detail","code","resolution"],"properties":{"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"code":{"type":"string"},"resolution":{"type":"string"}}},"Catalog":{"type":"object","required":["version","site","description","libraries","components"],"properties":{"version":{"type":"integer"},"site":{"type":"string"},"description":{"type":"string"},"libraries":{"type":"array","items":{"$ref":"#/components/schemas/Library"}},"components":{"type":"array","items":{"$ref":"#/components/schemas/Component"}}}}}}}