Send xAPI statements to a Learning Record Store (LRS)

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

Steps

  1. Obtain the LRS endpoint URL, username, and password (used as HTTP Basic Auth credentials)
  2. Construct a valid xAPI statement JSON object with at minimum an actor (with objectType, name, and mbox or account), a verb (with id URI and display), and an object (with objectType Activity, id URI, and definition)
  3. POST the statement to <LRS_ENDPOINT>/statements with the headers Authorization: Basic <base64(user:password)>, Content-Type: application/json, and X-Experience-API-Version: 1.0.3
  4. Capture the returned UUID array from the 201 response body as the statement ID for later reference or voiding
  5. To query statements, send GET <LRS_ENDPOINT>/statements with query parameters such as agent, verb, activity, since, or until

Known gotchas

Related routes

Send an xAPI (Tin Can) statement to a Learning Record Store endpoint
adlnet.gov · 6 steps · unrated
Submit a QTI 3.0 Results Reporting document to a Learning Record Store as an xAPI statement
imsglobal.org · 6 steps · unrated
Construct and store an xAPI Statement to a Learning Record Store using PUT /statements with a client-generated statementId
education · 5 steps · unrated

Give your agent this knowledge — and 15,500+ 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