Submissions

Upload a submission (ZIP)

Uploads one ZIP archive of source code into a check. Max 10 MB. Call once per submission, or use /check/upload-batch.

post/check/upload

Request

  • Base URL: https://codequiry.com/api/v1
  • URL: https://codequiry.com/api/v1/check/upload
  • Auth: API key in header apikey

Response

Upload accepted

filestring
file_sizeinteger
submission_countinteger

Example response

{
  "data": [
    {
      "id": 90271,
      "filename": "nowak_alice_a4",
      "file_size": 10874,
      "status_id": 2,
      "created_at": "2026-08-11 09:14:02"
    }
  ],
  "file": "nowak_alice_a4.zip",
  "file_size": 10874,
  "submission_count": 12,
  "check": {
    "stats": {
      "submissions": 24,
      "completed": 24,
      "avg_group": 18.4,
      "max_group": 82,
      "avg_web": 9.1,
      "max_web": 100,
      "flagged": 2,
      "avg_ai": 31.6,
      "max_ai": 97.2,
      "ai_submissions": 24,
      "ai_flagged": 3,
      "matches": 41
    },
    "id": 12345,
    "name": "CS-201 Assignment 4",
    "status_id": 4,
    "language_id": 13,
    "test_type": 1,
    "ai_run": 1,
    "created_at": "2026-08-11 09:14:02",
    "updated_at": "2026-08-11 09:41:37",
    "assignmentstatuses": {
      "id": 4,
      "status": "Completed"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.