store learner preference data in an xAPI Agent Profile document independent of any activity

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

Steps

  1. Identify the agent (learner) and a profileId under which to store the data
  2. PUT the profile document (arbitrary JSON, e.g. accessibility or UI preferences) to the Agent Profile resource with the agent and profileId
  3. GET the profile back using the same agent and profileId to confirm storage
  4. Use GET without a profileId to list all profile ids stored for that agent, filtered optionally by since timestamp
  5. Apply ETag/If-Match on updates the same way as the State API to avoid overwriting concurrent writes

Known gotchas

Related routes

store and retrieve a bookmark-style activity state document via the xAPI State API
adlnet.gov · 5 steps · unrated
Store and retrieve xAPI statements from an open-source Learning Locker LRS
learninglocker.atlassian.net · 5 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