# Viewing xAPI Statements

Navigate to the **xAPI Statements** tab to view the last 100 xAPI statements processed.

Please ensure you have completed [setup](https://documentation.globebyte.com/reasoning-ai/actions-for-learning/setting-up-xapi-actions) before accessing this screen.

<figure><img src="https://1749012385-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcTyQ05dv9UTW8n6ypeAM%2Fuploads%2FB2d56Jcqlfx0hsFDBbVV%2FScreenshot%202024-08-29%20at%2018.52.26.png?alt=media&#x26;token=df164f61-0f31-40f8-9048-b40e0375d3d4" alt="" width="375"><figcaption></figcaption></figure>

Note that this is a temporary log and xAPI statements are **automatically deleted after 24 hours** from receipt.

The **xAPI Statements** view includes the following values:

* Date/Time
* Actor
* Verb
* Object
* Full Statement
* Statement ID

Here's an example of the populated statement table view:

**xAPI Statements**

<table><thead><tr><th width="140">Date/Time</th><th width="125">Actor</th><th>Verb</th><th>Object</th><th>Full Statement</th><th>Statement ID</th></tr></thead><tbody><tr><td>31 Dec 2024 01:23:45</td><td>Test Candidate</td><td>Completed</td><td>Course 3.6</td><td>{"actor":{"objectType":"Agent","name":"Test Candidate...</td><td>8111d32f-11bd-4b03-9c8e...</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td></tr></tbody></table>

The statements are always arranged by date/time stamp (most recent first) and include a short form **Actor, Verb, Object** summary of the statement as well as the **Full Statement** in JSON format which can be selected and copied to the clipboard.

To view the entire contents of the Full Statement table cell you can use the column header toggle to switch the display mode between "Clip text" and "Wrap text".

{% hint style="success" %}
**Tip:** To view the entire xAPI statement in an easy to digest format, copy the **Full Statement** from the table and paste into an online **JSON validation tool** such as the [lrs.adlnet.gov/statementvalidator](https://lrs.adlnet.gov/statementvalidator) to prettify the code.
{% endhint %}

The unique **Statement ID** for the statement is also included for reference. This can be used to locate the statement in the source learning platform for troubleshooting/investigative purposes. You can use the column header toggle to switch the display mode between "Clip text" and "Wrap text" to view the entire contents of the Statement ID table cell.

{% hint style="warning" %}
**Troubleshooting:** If your inbound xAPI Statements are incomplete (e.g there is no "Verb" data displaying) this may be due to an unexpected language in the xAPI statement structure. Setting default language(s) according to your expectations may resolve any issues. See [here](https://documentation.globebyte.com/reasoning-ai/actions-for-learning/setting-a-default-statement-language) for further details on setting languages.
{% endhint %}

You can **manually refresh the page** at any time to display the 100 most recently received statements.

Remember that this is a temporary log and xAPI statements are **automatically deleted after 24 hours** from receipt.

{% hint style="info" %}

### **xAPI at a glance**

An xAPI (Experience API) statement is a data format used to track and record learning experiences and activities. The core components of an xAPI statement include, but are not limited to, the following:

1. **Actor**: Identifies who performed the action. This can be a person or a system.
2. **Verb**: Describes the action taken by the actor. Common examples include "completed," "viewed," or "attempted."
3. **Object**: Defines what the action was performed on, such as a course, lesson, or activity.
4. **Result**: Optional component detailing the outcome of the action, including scores, success indicators, or completion statuses.
5. **Context**: Additional contextual information about the statement, such as the platform used, instructor details, or other relevant settings.
6. **Timestamp**: The exact time the action took place.

Understanding these components is crucial for leveraging xAPI to track, analyze, and optimize learning experiences effectively. By structuring data consistently, xAPI enables rich insights into learning behaviors and outcomes, facilitating better educational and training programs. To take a deeper dive check out [xapi.com/statements-101](https://xapi.com/statements-101/) &#x20;
{% endhint %}
