{"openapi":"3.1.0","info":{"title":"LeadClient public content API","version":"1.0.0","x-api-version":"1","description":"Read-only, unauthenticated search and retrieval of the public pages of leadclient.net. No write operations exist. Rate limit: 60 requests per minute per client IP, reported in RateLimit-* headers; over the limit the API answers 429 with Retry-After. Versioning: every response carries an API-Version header (currently 1). Breaking changes would ship under a new version and the old one would announce retirement through Deprecation and Sunset headers."},"servers":[{"url":"https://leadclient.net"}],"security":[],"paths":{"/content-api/search":{"get":{"operationId":"searchContent","summary":"Search site content","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","maxLength":200}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":20,"default":8}}],"responses":{"200":{"description":"Matching pages","content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string"},"results":{"type":"array","items":{"allOf":[{"type":"object","properties":{"path":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"type":{"type":"string","enum":["home","pricing","faq","article","feature","solution","industry","glossary","hub"]}}},{"type":"object","properties":{"snippet":{"type":"string"}}}]}}}}}}},"400":{"description":"Error (RFC 9457 problem details)","content":{"application/problem+json":{"schema":{"type":"object","required":["title","status","code"],"properties":{"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"integer"},"code":{"type":"string","description":"Machine-readable error code"},"error":{"type":"string"}}}}}},"429":{"description":"Rate limit exceeded (60 requests per minute per IP). Retry after the Retry-After seconds.","headers":{"Retry-After":{"schema":{"type":"integer"}},"RateLimit-Limit":{"description":"Requests allowed per 60 s window per client IP","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"type":"object","required":["title","status","code"],"properties":{"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"integer"},"code":{"type":"string","description":"Machine-readable error code"},"error":{"type":"string"}}}}}}}}},"/content-api/page":{"get":{"operationId":"getPage","summary":"Get one page as Markdown","parameters":[{"name":"path","in":"query","required":true,"schema":{"type":"string"},"example":"/pricing"}],"responses":{"200":{"description":"Page content (text/markdown when Accept: text/markdown)","content":{"application/json":{"schema":{"type":"object","properties":{"path":{"type":"string"},"url":{"type":"string"},"markdown":{"type":"string"}}}},"text/markdown":{"schema":{"type":"string"}}}},"404":{"description":"Error (RFC 9457 problem details)","content":{"application/problem+json":{"schema":{"type":"object","required":["title","status","code"],"properties":{"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"integer"},"code":{"type":"string","description":"Machine-readable error code"},"error":{"type":"string"}}}}}},"429":{"description":"Rate limit exceeded (60 requests per minute per IP). Retry after the Retry-After seconds.","headers":{"Retry-After":{"schema":{"type":"integer"}},"RateLimit-Limit":{"description":"Requests allowed per 60 s window per client IP","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window resets","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"type":"object","required":["title","status","code"],"properties":{"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"integer"},"code":{"type":"string","description":"Machine-readable error code"},"error":{"type":"string"}}}}}}}}},"/content-api/pages":{"get":{"operationId":"listPages","summary":"List pages","parameters":[{"name":"type","in":"query","schema":{"type":"string","enum":["home","pricing","faq","article","feature","solution","industry","glossary","hub"]}}],"responses":{"200":{"description":"Pages","content":{"application/json":{"schema":{"type":"object","properties":{"pages":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"type":{"type":"string","enum":["home","pricing","faq","article","feature","solution","industry","glossary","hub"]}}}}}}}}}}}},"/content-api/health":{"get":{"operationId":"health","summary":"Service status","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"}}}}}}}}}}}