{"openapi":"3.1.0","info":{"title":"pieczak.org public API","version":"0.2.0","description":"Read-only. No account. Results come only from reviewed public records; nothing is generated."},"paths":{"/api/v1/status":{"get":{"summary":"Service status and record count","responses":{"200":{"description":"OK"}}}},"/api/v1/search":{"get":{"summary":"Search public records","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","maxLength":200}},{"name":"type","in":"query","schema":{"type":"string","enum":["knowledge","solution","need","resource","capability","experience","opportunity","outcome"]}},{"name":"lang","in":"query","schema":{"type":"string","enum":["en","pl"]}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":25}}],"responses":{"200":{"description":"Ranked results with source"},"400":{"description":"Bad query"},"429":{"description":"Rate limited"}}}},"/api/v1/external/openalex":{"get":{"summary":"Live search in OpenAlex (external, not reviewed by us). Off unless the operator enabled it; the query is sent to api.openalex.org.","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","maxLength":200}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":10}}],"responses":{"200":{"description":"External results, or an empty list with a reason"},"400":{"description":"Bad query"}}}},"/api/v1/records/{id}":{"get":{"summary":"One record","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Record"},"404":{"description":"Not found"}}}}}}