answers

Synthesized, cited answer (RAG)

Ask a natural-language question and get a synthesized answer grounded only in Horizon's recent corpus, with inline [n] citations. One call instead of search-then-read.

post/api/v1/ask

Request

  • Base URL: https://horizon.alchemylab.sh
  • URL: https://horizon.alchemylab.sh/api/v1/ask
  • Auth: HTTP bearer

Request body

questionstring required

e.g. 'what did OpenAI ship this week?'

daysinteger

How many days back to retrieve over.

limitinteger

Max sources to retrieve.

Response

Answer with citations.

questionstring
answerstring

Prose with inline [n] citation markers.

retrievedinteger

How many sources were retrieved.

attributionstring

Changes

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