Examplary
Start for free
Developer docs

Developer changelog

Changes to the API, SDKs, embeds, and question type platform, in chronological order.

  1. Question quality in the exam generation embed preview

    The preview step in the exam generation embed now shows a Quality badge next to each generated question. Hover over it to see which quality criteria the question passes and which it doesn't. That makes it easier for your user to decide whether to save the questions or go back and generate again.

    It's the same analysis as the question quality endpoint, and it appears automatically when showPreview is on. There's nothing extra to configure.

  2. The mark-answer embed flow is now grade-answer

    The embed flow for reviewing and grading a single answer has a new name to match the rest of the grading API: create it with "flow": "grade-answer" on POST /embed-sessions. The presets, scopes and behaviour haven't changed.

    mark-answer still works as a deprecated alias, so existing integrations keep running, but switch to grade-answer when you're next in that code. The grade answer flow docs use the new name.

  3. Grade your students' answers over the API

    The AI grading teachers use in Examplary now works from your own platform too. Import your students' answers with POST /exams/{id}/sessions and set autoGrade: true, and each answer comes back with a score per rubric criterion, the reasoning behind it and feedback for the student.

    Already imported answers without grading them? POST /exams/{id}/sessions/{sessionId}/auto-grade grades one session, and POST /exams/{id}/sessions/auto-grade grades the whole exam. Both pick up every answer that doesn't have a grade yet, including ones whose grading failed, and tell you how many they queued. While grading runs, answers show a gradingStatus of auto-grading-pending.

    The new grading docs walk through the whole flow, from rubrics to results.

  4. Calibrate auto-grading with answers you've already graded

    A rubric tells the AI what earns points, but not how strictly to apply it. You can now show it, by uploading answers your teachers have already graded. POST /exams/{id}/questions/{questionId}/calibration-answers takes up to 1,000 answers per call, each with the pointsAwarded and, ideally, a short reasoning.

    When grading, Examplary picks the most representative of these examples and uses them to decide on partial credit, so feel free to send as many as you have. Graded on a different scale? Set pointsToEarn and the score is rescaled. Calibration answers can't be changed or removed once added.

    The new calibration guide covers choosing good examples.

  5. Importing questions returns the questions

    When POST /exams/{id}/questions/import finishes straight away, its response used to only say it worked. It now also includes the imported questions under questions, so you can read their IDs and content without fetching the exam again.

    Larger files are still imported in the background and respond with "status": "started". For those, the new exam.import.completed webhook brings the questions instead.

  6. Add, update and delete exam questions over the API

    Managing the questions in an exam one call at a time just got a lot less fiddly. POST /exams/{id}/questions now takes a question, or an array of up to 100, and returns the added questions as an array. Heads up: the body is the question itself now, so drop the old { "question": … } wrapper.

    PATCH can now change the title, description, settings, tags, externalId, metadata and sectionId, and the new DELETE /exams/{id}/questions/{questionId} removes a question. Every question route also accepts your own externalId, or first and last, in place of {questionId}, so you don't need to keep Examplary's IDs around.

  7. External IDs and metadata on sessions and source materials

    Assessment sessions can now carry an externalId and a metadata map, like users already do. Use them to link a session to the attempt in your LMS, then find it again with ?externalId= on GET /exams/{id}/sessions. Set them when you create sessions, which now also accepts an array of up to 100 at once. Heads up: that endpoint now always returns an array.

    Source materials get metadata too, next to the externalId they already had. Slices inherit it.

    Metadata values are scalars. A PATCH merges into what's there, and setting a key to null removes it.

  8. Webhooks

    No more polling to find out whether a test has finished generating or a session has been graded: Examplary can now tell you. Register an HTTPS URL with POST /webhooks and pick your events: exam.generation.completed, exam.import.completed, exam.questions.generation.completed, exam.session.completed and exam.session.grading.completed. Generation and import events include the exam's questions, so you don't need a follow-up request.

    Requests are signed following the Standard Webhooks spec, and failed deliveries are retried for about 45 minutes. A webhook covers your own work by default, specific tests through resources, or the whole workspace for admins. The calls need the new webhooks:read and webhooks:write scopes.

    The webhooks guide covers payloads, signature checks and retries.

  9. Review generated questions before the exam generation embed finishes

    The exam generation embed used to complete the moment generation was done, so your user never saw the questions until they were back in your app. Set showPreview: true in the session's presets and they now get a read-only list of the generated questions first.

    From there they can choose Save questions, or Back to settings to tweak the settings and generate again (which clears the generated questions). The session only completes, and examplary:embed-status-update only fires with status: "completed", once they save. It's off by default. See the preview step reference for details.

  10. Bring your own student levels to the exam generation embed

    The student level dropdown in the exam generation embed used to offer only Examplary's built-in school levels. That's a poor fit if your learners are, say, beginner and advanced drivers. Pass availableStudentLevels in the session's presets and the dropdown shows only your levels instead:

    {
      "presets": {
        "availableStudentLevels": [
          { "id": "beginner", "name": "Beginner driver", "instructions": "Use simple language and avoid jargon." }
        ]
      }
    }
    

    The instructions go into the AI prompt, so generated questions match the level your user picked. The chosen level is saved with the exam, so grading and feedback use it later too. Keep instructions to two or three sentences. See custom student levels for the full shape.