What is xAPI and What is an LRS?
The Experience API (xAPI) is a technology standard that allows systems to store and retrieve data from a wide range of learning experiences. The specification is comprised of two main components:
The data model - The xAPI data model is a JavaScript Object Notation (JSON) representation of learning events. Although an oversimplification, the xAPI is often thought of as a sentence including an actor, verb, and object. For example, a simple xAPI statement may include a representation John Doe (actor) completed (verb) the Computer Science 101 course (object).
The transport mechanism - The xAPI data is stored and retrieved via a RESTful web service that allows authorized applications to interact with an LRS.
Note: Some folks call xAPI, “TinCan API”. They are not technically the same thing, but practically, if you’re hearing “TinCan API”, there is a good chance they are actually referring to xAPI.
A Learning Record Store (LRS), at minimum, is the server-side implementation of the xAPI. This means that content and other systems (like LMSs) can store and retrieve xAPI data from the LRS using that standardized xAPI data model and transport mechanism. LRSs often include other services beyond an implementation of xAPI.
Related Articles
What are xAPI Extensions and How Do I Use Them in My xAPI Statements?
Best Practices for xAPI Extensions Activity, Context, and Result Extensions in xAPI Statements Do you need to know when and how to best use Activity, Context or Result Extensions in your xAPI Statements? This is a common challenge and a frequently ...
How Do I Send xAPI Data to an LRS?
How do I send xAPI data to an LRS? If you want to send xAPI to an LRS, then you'll need to give your content or application the proper credentials to store the data in the LRS. You'll need the following: The xAPI Endpoint for the LRS. LRS Credentials ...
Will Students See Errors in an xAPI Course with No LRS?
If you develop an xAPI course package and don't yet have an LRS, or the LRS is down, then the student should not see any error messages. It will depend on the authoring tool you use. To be sure, you should test it. We've gotten more questions about ...
What are Different Ways xAPI Data Can Flow from an LMS to an LRS?
Client Side This is the most common case. This is usually the approach taken if you create your content in a commercial authoring tool and export the content to xAPI/TinCan. The content package sends xAPI data directly to the LRS. The content package ...
Why Does My xAPI Say “und”?
Because you didn't set the language of your xAPI package when you published your courseware in your authoring tool. What is a Language Map? When an LRS gets a text string, like an object.definition.name, or object.definition.description, the xAPI ...