User Assessment History

Use the userAssessmentHistory query to retrieve the history of answers a user has submitted within an assessment.

Available Arguments

Argument

Type

Description

assessmentId

ID!

Id of Assessment.

after

String

before

String

first

Int

Retrieves the first results from the list.

last

Int

Available Fields

Field

Type

Description

id

ID

Id of user’s answer to a specific question within an assessment attempt.

createdAt

DateTime!

Assessment creation date YYYY-MM-DDT hh:mm:ssZ

attempts

Int

Number of times the user has completed or submitted the assessment.

finalQuestion

AssessmentQuestion

Assessment final question.

question

AssessmentQuestion

Assessment Questions.

answer

AssessmentAnswer

Assessment Answer.

updatedAt

DateTime!

Assessment last update date YYYY-MM-DDT hh:mm:ssZ

Example with filter: "status"

query{
    userAssessmentHistory(assessmentId: "QXNzZXNzvWVudDpmMTAxU2YwZC04MTIyLTQwMjctYmJiNi04ZTM1ODFlNWRhY2Q=") {
      edges {
        node {
          id
          attempts
          answerText
          createdAt
          updatedAt
          answer {
            id
            text
          }
          question {
            id
            text
          }
        }
      }
    }
  }

Last updated

Was this helpful?