API Reference

This endpoint serves as the core interface for the Ask-AI API, designed to process and respond to user questions. Upon submission of a question, this endpoint evaluates the query and returns a structured response containing potential answers

The response will hold:

  • candidate_answers - A list of candidate answers to the submitted question
  • question_id - A unique identifier assigned to the question
  • expect_direct_answer - A boolean flag indicating whether the question is expected to get a generative answer. If this flag is true, please use Get External Direct Answer API in order to get the generative answer stream
Language
Authorization
Header
Click Try It! to start a request and see the response here!