Run

Start a check

Queues analysis for a check that already has submissions. webcheck and dbcheck only take effect when BOTH are supplied (both true → engine 1, both false → engine 9); otherwise the check's existing engine is used. The check is set to status_id 7 (queued).

post/check/start

Request

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

Request body

check_idinteger required
webcheckboolean

Enable internet/web matching.

dbcheckboolean

Enable Codequiry database matching.

test_typeinteger

Approved engine id (overrides webcheck/dbcheck mapping).

ai_runboolean

Run AI-generated-code detection on this check. Accepts true/false/1/0.

base_code_detectionboolean

Detect shared base/boilerplate (starter) code.

Example request

{
  "check_id": 12345,
  "webcheck": true,
  "dbcheck": true,
  "test_type": 1
}

Response

Check queued

successboolean
statusstring
submission_countinteger
checkURLstring

Example response

{
  "success": true,
  "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"
    }
  },
  "status": "In Queue",
  "submission_count": 28,
  "checkURL": "https://dashboard.codequiry.com/course/678/assignment/12345/overview"
}

Changes

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