Query an LRS for xAPI statements filtered by actor and verb using GET /statements

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

Steps

  1. Construct the actor filter as a URL-encoded JSON Agent object using the same IFI type used when the statements were stored
  2. Construct the verb filter as a URL-encoded IRI string matching the verb id used in the stored statements
  3. Issue a GET to /statements with query parameters actor and verb, plus limit to control page size
  4. Parse the StatementResult response body for the statements array and the more field
  5. If the more field is a non-empty relative IRL, construct the full URL and issue another GET to retrieve the next page
  6. Continue until the more field is absent or an empty string, indicating the last page

Known gotchas

Related routes

Send xAPI statements to an LRS and query statements by actor and activity
xapi.com · 6 steps · unrated
Query an LRS for xAPI voided statements and retrieve a voided statement by StatementRef id
adlnet.gov · 6 steps · unrated
Query xAPI statements from a Learning Record Store using GET /statements with filter parameters
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