v1

latestOpenAPI 3.0.22026-08-0426137631.3 KB
Q&A APIs

Upload Question Bank API

Question Bank API lets you upload your question bank to Miso. A question bank is a list of questions that can be used for Question Autocomplete and Similar Question Search.

This API follows a replace-all model, i.e. a successful upload request will replace all the existing questions in the question bank.

For example, the following request will replace the existing question bank with the given three questions:

POST /v1/qa/questions
{"data": [
    {"question": "What is python?"},
    {"question": "What is list comprehension?"},
    {"question": "How to sort a list in Python?"}
]}
post/v1/qa/questions

Request body

Response

Successful Response

messagestring

Example response

{
  "data": {
    "miso_id": "123e4567-e89b-12d3-a456-426614174000"
  }
}