Contact Us Support Forum Get Email Updates
 
 

Thanks! Someone will be in touch with you shortly.

Rather just email us? Email us here.
Rather speak with someone in person?
Call any time with Experience API questions:

866.497.2676

xAPI Lab

This tool helps generate valid statements and demonstrates various interactions with an LRS. This is a fork of xAPI Lab produced by ADL and available on Github.

It is recommended that you use the xAPI Specification as a reference when using this tool.

Status History

To begin, enter your LRS endpoint and credentials into the boxes below, then select to work with Statements or Documents.

Need an LRS?

You can get a free LRS for testing and development!

Find out more

Want to see the anatomy of a xAPI statement? Want to see what’s wrong with a statement that you’ve created on your own? Just fill in the fields here and you can generate a xAPI statement. If you already have a xAPI statement and want to test the validity of it (or find out what’s wrong with it) just paste your statement into the big field at the bottom, and click “Validate JSON”.

Actor

Use Only One IFI Below:

An Account Object Insert Example JSON

Optional:

Use Only One IFI Below, Unless Anonymous Group:

An Account Object Insert Example JSON

Optional:

Required if Anonymous Group, Otherwise Optional:

Array of Agent Objects

Verb

Select a verb from the list or enter your own. xAPI allow verb names in multiple languages; this tool only supports one at a time.

Object

Enter an Activity Id and Definition. Not all Activity Definition properties are supported by this tool yet.

An Array of interaction components Insert Example JSON
An Array of interaction components Insert Example JSON
An Array of interaction components Insert Example JSON
An Array of interaction components Insert Example JSON
An Array of interaction components Insert Example JSON
An Array of Strings Insert Example JSON

Use Only One IFI Below:

An Account Object Insert Example JSON

Optional:

Use Only One IFI Below, Unless Anonymous Group:

An Account Object Insert Example JSON

Optional:

Required if Anonymous Group, Otherwise Optional:

Array of Agent Objects

string

Array of Agent Objects Insert Example JSON
A Context Activities Object Insert Example JSON

Statements can include multiple attached files. This tool allows you to attach one.

Generate JSON Statement

Statements Sent to the LRS View Statements

This form will help you with basic retrieval of raw statements, if you're looking for something easier to read, check out the Statement Viewer.

Query Options

Get Statements

Statements Recieved From the LRS View Statements

Learn more

Want to understand Statements more? Why not read the Statements Deep Dive?

Read now

Global Document Values

Send Documents

Document

Send State

Send Activity Profile

Send Agent Profile

Documents Sent to the LRS

Receive Documents

Global

Document

Documents Received from the LRS

Documents Deleted from the LRS

Learn more

Want to understand Documents more? Why not read the Documents Deep Dive?

Read now


Experience API Email Updates

* indicates required

Experience API Email Updates

Thanks for signing up for the Experience API newsletter!

Make sure to follow us on Twitter @ProjectTinCan,
and tweet this page to let others know about the Experience API.

Close