EduMark API docs

What do you want to do?

Pick a task to see the steps, the code and what it costs. New here? Start with the quickstart: a free sandbox key and your first request in five minutes.

Mark learners’ work

Proposed marks and feedback, and the learner’s file back with margin comments, ready for a marker to approve.

  1. Upload the file

    Reserve a file id, PUT the bytes, then complete the upload so it is checked and scanned.

    POST /v1/files
    curl -X POST 'https://api.edumark.ai/v1/files' \
      -H "Authorization: Bearer $EDUMARK_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)"
  2. Ask for marking

    Send the document with your marking guide and feedback style. You get a job straight away.

    POST /v1/marking/jobs
    curl -X POST 'https://api.edumark.ai/v1/marking/jobs' \
      -H "Authorization: Bearer $EDUMARK_API_KEY" \
      -H "Idempotency-Key: $(uuidgen)" \
      -H "Content-Type: application/json" \
      -d '{
      "document": {
        "file_id": "file_3f9a6c2e8b1d4f7a9c0e5b2d8a6f1c3e"
      },
      "context_text": "Question 1 (6 marks): Explain how photosynthesis stores energy. Award 1 mark each for: chloroplasts, photolysis, oxygen, ATP, Calvin cycle, glucose.",
      "feedback": {
        "tone": "supportive_developmental",
        "length": "standard",
        "address": "direct"
      }
    }'
  3. Wait for the result

    Poll the job (or listen for the job.completed webhook). The finished job carries the result and any files.

    GET /v1/jobs/{job_id}
    curl 'https://api.edumark.ai/v1/jobs/job_01JB7Q8M4X2V9R' \
      -H "Authorization: Bearer $EDUMARK_API_KEY"
  4. Download the marked file

    marked.docx has the margin comments; feedback.pdf is a one-page summary. A person approves before anything reaches the learner.

    GET /v1/jobs/{job_id}/files/{name}
    curl 'https://api.edumark.ai/v1/jobs/job_01JB7Q8M4X2V9R/files/report.pdf' \
      -H "Authorization: Bearer $EDUMARK_API_KEY"
Cost estimator

What would a month cost?

Credits a month3,000
Cost at 9p a credit£270
Balance it buys£300

Topping up 3,000 credits at once saves £30.00. From 5,000 credits the price drops to 8p a credit. Prices exclude VAT. Sandbox keys are free, and failed jobs are never charged.

  1. 10pany amount
  2. 9p1,000+ credits
  3. 8p5,000+ credits
  4. 7p20,000+ credits

Guides and reference

Guides