Query xAPI statements from a Learning Record Store using GET /statements with filter parameters

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

Steps

  1. Call GET {endpoint}/statements with the required X-Experience-API-Version header set (e.g. 1.0.3).
  2. Filter results using the agent, verb, activity, registration, since, and until query parameters — since returns statements stored after the given timestamp (exclusive) while until returns statements stored at or before it (inclusive).
  3. Broaden matches with the boolean related_activities and related_agents parameters (both default false) to include context-referenced activities/agents and sub-statements.
  4. Shape the response with format (ids, exact, or canonical; default exact) and cap results with limit (0 means the server's maximum); set ascending=true to reverse the default newest-first ordering.
  5. Page through large result sets by following the more IRL returned in the StatementResult object, treating it as an opaque link rather than parsing it, valid for at least 24 hours.

Known gotchas

Related routes

Construct and store an xAPI Statement to a Learning Record Store using PUT /statements with a client-generated statementId
education · 5 steps · unrated
Query an LRS for xAPI statements filtered by actor and verb using GET /statements
adlnet.gov · 6 steps · unrated
Send xAPI statements to a Learning Record Store (LRS)
adlnet.gov · 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