ask

Ask a question (POST)

Answer a question from recent stories. The reply copies facts word for word. It uses no LLM. Set prefer.streaming to true to get text/event-stream.

post/ask

Request

  • Base URL: https://hangingcontext.com
  • URL: https://hangingcontext.com/ask
  • Auth: none required

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.

Request body

querystring required

The question.

topicstring

Only search this topic slug.

daysinteger
limitinteger

Response

The answer.

querystring required
no_matchboolean
next_stepstring

Example response

{
  "_meta": {
    "response_type": "answer"
  }
}

Changes

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