read

NLWeb /ask: a natural-language question, answered as matching items

Implements the NLWeb protocol (github.com/nlweb-ai/NLWeb) in list mode: keyword retrieval over the build log, docs links and site pages, each result with its schema.org object. summarize and generate are answered as lists and say so in _meta. Streams as Server-Sent Events (start, result, complete) when streaming=true, prefer.streaming=true, or Accept: text/event-stream; plain JSON otherwise. POST accepts the same parameters as a JSON body.

get/ask

Request

  • Base URL: https://cotal.ai
  • URL: https://cotal.ai/ask
  • Auth: none declared

Query parameters

querystring required
mode'list' | 'summarize' | 'generate'
streamingboolean
query_idstring
prevstring

Comma-separated previous queries.

Response

Matching items (JSON), or an SSE stream when streaming was requested.

query_idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.