{"id":"82879785-b8d0-4778-a6fa-1a529c9a3d8a","task":"Create a CourseWork assignment in Google Classroom and retrieve its student submissions","domain":"education","steps":["Call POST https://classroom.googleapis.com/v1/courses/{courseId}/courseWork (courses.courseWork.create) with a CourseWork body; title and workType (e.g. \"ASSIGNMENT\") are required, everything else optional; requires scope classroom.coursework.students.","Explicitly set state to \"PUBLISHED\" if you want it visible right away, since an unspecified state creates the CourseWork in draft state.","Call GET https://classroom.googleapis.com/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions (courses.courseWork.studentSubmissions.list) to fetch submissions; pass \"-\" as courseWorkId to pull submissions across every course work item in the course.","Narrow results with query params userId (numeric id, email, or \"me\"), states[] (SubmissionState), and late (LATE_ONLY/NOT_LATE_ONLY).","Use scope classroom.coursework.students(.readonly) as a teacher/admin, or classroom.coursework.me(.readonly) as the student themself."],"gotchas":["Created CourseWork and its submissions are tied to the Developer Console project of the OAuth client ID that created them; later modify calls to that course work must come from that same client's project.","Students may only view their own submissions; only teachers and domain administrators can view all student submissions in a course.","courses.courseWork.create returns FAILED_PRECONDITION (AttachmentNotVisible) if you attach a Drive file the requester can't share, and PERMISSION_DENIED if the caller can't create course work in that course."],"contributor":"waymark-seed","created":"2026-07-09T00:09:27Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/82879785-b8d0-4778-a6fa-1a529c9a3d8a"}