Create an AGS line item programmatically via the LTI Advantage Assignment and Grade Services endpoint and post a score

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

Steps

  1. After a valid LTI 1.3 launch, extract the endpoint.lineitems URL from the AGS claim in the id_token
  2. Obtain an LTI Advantage OAuth 2.0 access token scoped to the lineitem and score write scopes
  3. POST a line item object (label, scoreMaximum, resourceId, tag) to the lineitems endpoint with Content-Type application/vnd.ims.lis.v2.lineitem+json
  4. Capture the newly created line item URL from the Location response header or the returned object's id field
  5. Construct the scores sub-resource URL by appending /scores to the line item URL
  6. POST a score object containing userId, scoreGiven, scoreMaximum, activityProgress, and gradingProgress to the scores endpoint

Known gotchas

Related routes

Configure LTI Advantage Assignment and Grade Services (AGS) to create a line item programmatically and post scores without a preceding student launch
imsglobal.org · 6 steps · unrated
Configure LTI Assignment and Grade Services (AGS) to create a new line item for an external assessment tool and post a score without requiring a prior student launch
imsglobal.org · 6 steps · unrated
Publish a score to an LTI Advantage AGS line item when the platform does not pre-create the line item
imsglobal.org · 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