Checks
Get a check (REST)
Retrieves a check with its status, submission count, and submissions. Equivalent to POST /check/get.
get/checks/{checkId}
Request
- Base URL: https://codequiry.com/api/v1
- URL: https://codequiry.com/api/v1/checks/{checkId}
- Auth: API key in header apikey
Path parameters
checkIdinteger required
Example:12345
The check (assignment) id.
Response
Check detail
Example response
{
"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": "Completed",
"submission_count": 28,
"submissions": [
{
"id": 90271,
"assignment_id": 12345,
"filename": "nowak_alice_a4.zip",
"status_id": 4,
"total_result": 75,
"result_web": 89,
"submissionresults": [
{
"id": 3104428,
"submission_id": 90271,
"submission_id_compared": 90272,
"score": 86,
"file": "nowak_alice_a4/BankAccount.java",
"file_matched": "carter_ben_a4/BankAccount.java",
"lines": 90,
"longest": 60,
"source": "Peer submission"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.