PollAnswerResponse

  • data
    Type: object · Data
    required

    The answer data containing the latest answer, sources, and related resources.

    • question
      Type: string · Question
      required

      The question given by the user

    • question_id
      Type: string · Question IdFormat: uuid
      required

      The UUID of the question for which the latest answer is requested.

    • affiliation_products
      Type: array object[] · Affiliation Products

      A list of suggested affiliation products.

      Empty object
    • answer
      Type: string · Answer

      The latest answer for the given question.

    • answer_stage
      Type: string · Answer Stage

      The status of the answer generating process.

    • finish_reason
      enum

      The reason why the answer generating process is finished.

      values
      • not_finished
      • success
      • error
      • forbidden
    • finished
      Type: boolean · Finished

      Whether the answer generating process is finished.

    • followup_questions
      Type: array string[] · Followup Questions

      A list of suggested follow-up questions.

    • metadata
      Type: object

      Extra data for the answer. Carries any metadata you sent with the question. Miso adds miso_generated_by: "answer_update_monitor" when the answer is a generated Answer Update rather than a question the reader typed.

    • parent_question_id
      Type: string · Parent Question IdFormat: uuid

      The UUID of the parent question if the current question is a follow-up to a previous question.

    • related_resources
      Type: array object[] · Related Resources

      A list of related resources relevant to the question and answer.

      Empty object
    • revision
      Type: integer · Revision

      The revision number of the answer response data. Updated answer data has larger revision number, used by the SDK to check data order.

    • sources
      Type: array object[] · Sources

      A list of sources related to the answer.

      Empty object
  • message
    Type: string · Message

    The status of the API response ('success' or other human readable api status).