ask
Ask a question (GET)
Answer a question from recent stories. The reply copies facts word for word. It uses no LLM. The protocol is NLWeb. Send Accept: text/event-stream or stream=true to stream.
get/ask
Request
- Base URL: https://hangingcontext.com
- URL: https://hangingcontext.com/ask
- Auth: none required
Query parameters
querystring
The question, in plain words. The name q is also accepted. Leave it out to get the help page.
streamboolean
Set to true to get text/event-stream.
Headers
HC-API-Version'1'
The API version you expect. Version 1 is the only version today. Every response carries the HC-API-Version header.
Response
The answer.
Example response
{
"_meta": {
"response_type": "answer"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.