Skip to main content
POST
Raise a query on exam feedback
Step 8 of 8 in Evaluate an exam. Use it after the provisional result is published.

Rules

  • feedbackId, queryType, and text are all required.
  • feedbackId comes from Get exam answer feedback and queries. It has to be an existing feedback record.
  • text is the student’s own words. It goes to the AI as the student’s comment.
Every query triggers an AI re-evaluation of that answer, whatever the queryType. If the AI agrees with the student, the answer’s marks change and the exam’s totals change with them. Only expose this to students once you are happy for that to happen.

What happens next

1

The query is recorded

Its status becomes 2 In Review at once, and the response returns the whole feedback record with the new query inside feedbackQuery.
2

The AI takes a second look

It sees the question, the model answer, the student’s answer, the marks, and the student’s comment.
3

The AI replies

Its justification is added to the query’s responses with createdByRole of AI, the marks are revised if it agrees, and the query’s status becomes 3 Resolved. Poll Get exam answer feedback and queries to pick this up.

Next step

Reply to an exam feedback query

Add a teacher’s answer to the thread.

Update an exam feedback query status

Mark the query as resolved.

Authorizations

Authorization
string
header
required

Access token from Get an access token. A missing, invalid, or expired token returns 403.

Path Parameters

examId
string<uuid>
required

The exam id returned by Create an exam. Write it in lowercase: this path only matches lowercase hexadecimal characters and hyphens.

Example:

"d19e6868-98dd-4274-a2a5-4a616dd93ea7"

ansSheetId
string<uuid>
required

The answer sheet id returned by Create an exam answer sheet. Write it in lowercase.

Example:

"8a2f4c1e-5b3d-4e6f-9a7b-0c1d2e3f4a5b"

ansId
string<uuid>
required

The answer id from answer[].id in Get exam scores for review. Write it in lowercase.

Example:

"f819bfd2-8aaa-42df-bd18-23cb989b2d16"

Body

application/json
feedbackId
string<uuid>
required

The feedback this query is about, from Get exam answer feedback and queries.

queryType
enum<integer>
required

1 Classification, 2 Re-evaluation Request, 3 Other Concerns.

Available options:
1,
2,
3
text
string
required

What the student wants to say. It is sent to the AI as the student's comment.

Response

The query was recorded and sent for re-evaluation. The response is the whole feedback record, with the new query in feedbackQuery.

data
object

One reason the AI deducted marks from an answer, with any queries raised against it.

Example: