{"openapi":"3.1.0","info":{"title":"Siglata public NLWeb search","version":"1.0.0","description":"Public website and documentation search. NLWeb 0.54 list/conv_search profile. No authentication or organization file access."},"servers":[{"url":"https://www.siglata.com"}],"paths":{"/ask":{"post":{"operationId":"askPublicSite","summary":"Search public Siglata pages in natural language","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":1000},"site":{"anyOf":[{"type":"string","enum":["all","siglata.com","www.siglata.com"]},{"type":"null"}]},"max_results":{"anyOf":[{"type":"integer","minimum":1,"maximum":20},{"type":"null"}]}},"required":["text"],"additionalProperties":false},"prefer":{"anyOf":[{"type":"object","properties":{"streaming":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"mode":{"anyOf":[{"type":"string","enum":["list"]},{"type":"null"}]},"response_format":{"anyOf":[{"type":"string","enum":["conv_search"]},{"type":"null"}]},"accept-language":{"anyOf":[{"type":"string","enum":["pt","pt-BR","en","en-US"]},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"required":["query"],"additionalProperties":false}}}},"responses":{"200":{"description":"Cited Schema.org results. JSON when prefer.streaming is false; otherwise one finite SSE data event.","content":{"application/json":{"schema":{"type":"object","required":["_meta","results"],"properties":{"_meta":{"type":"object"},"results":{"type":"array","items":{"type":"object","required":["@type","name","url","grounding"]}}}}},"text/event-stream":{"schema":{"type":"string"}}}},"400":{"description":"Invalid or unsupported query fields"},"413":{"description":"Body exceeds 8192 bytes"},"415":{"description":"Content-Type must be application/json"},"503":{"description":"Public corpus unavailable"}}}}}}