The Experience API (xAPI) is a specification that defines how to store and retrieve a wide range of experiences a person learner has within online and offline training activities allowing learning to be shared between multiple environments and systems. This flexible record of learning experiences improves the ability to comprehend and compare learning experiences and their outcomes. A Learning Record Store (LRS) provides an API defined by the xAPI spec to store and retrieve data about these experiences using the data models defined in the xAPI spec.
The xAPI provides four data models for recording elements of a learning experience, these are:
Statements which are : the key data model in the xAPI. It provides an immutable record of an agent’s interaction experiences with an activity. A set of statements can be used to track a complete learning experience. Voiding can be used to invalidate previous statements, henceforth removing them from normal retrieval methods.a training activity using the “[actor] [verb] [object]” format.
Activity Profiles that record additional mutable (dynamic) information about an activity for use inside the learning activity (e.g. an expiration date). This isn't heavily used.
Agent Profiles that record additional mutable information about a learner for use inside a learning activity (e.g. their language or accessibility preferences). This isn't heavily used.
State is for storing dynamic things specific to the learner and the learning activity (e.g. their progress through the activity). This is heavily used.
To begin using the xAPI in Learning Lockerour LRS, you can checkout check out our guides for integrating with Learning Lockerthe LRS, inserting statements, and retrieving statements. For more detailed documentation of the xAPI conformant HTTP interfaces that Learning Locker the LRS provides, you can checkout the xAPI HTTP interface documentation.