Export gradebook values for all students in a course via Brightspace Valence grades API

domain: docs.valence.desire2learn.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate via OAuth 2.0 to obtain a bearer token scoped to the Brightspace tenant
  2. GET /d2l/api/lp/{ver}/enrollments/myenrollments/ or resolve the course org unit ID from the course offering endpoint
  3. GET /d2l/api/le/{ver}/{orgUnitId}/grades/ to retrieve the list of grade objects (grade item IDs, names, max points)
  4. GET /d2l/api/le/{ver}/{orgUnitId}/grades/{gradeObjectId}/values/ with a pageSize query parameter to page through all student GradeValue objects
  5. For each page follow the PagingInfo.Bookmark token in the next request until HasMoreItems is false
  6. Map the returned Points and DisplayedGrade fields per user to your downstream gradebook or reporting system

Known gotchas

Related routes

Create a grade item and post a student's score via the Brightspace Valence Grades API
education · 5 steps · unrated
Retrieve and delete course completion records for a Brightspace org unit via the Valence Grades API
education · 5 steps · unrated
Retrieve a Brightspace learner's scheduled and overdue content items across their courses via the Valence Content API myItems endpoints
education · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans