# xAPI

**xAPI** (Experience API, also known as Tin Can API) is a standard for tracking learning experiences. Chamilo can both generate and consume xAPI statements.

## What xAPI Does

xAPI tracks learning activities as **statements** in the format: "Actor did Verb on Object." For example:

* "Jane completed Module 1"
* "John scored 85% on the Final Exam"
* "Maria watched the Introduction Video"

These statements are stored in a **Learning Record Store (LRS)**, providing a comprehensive record of learning activity.

## Configuration

1. In the platform settings, configure the **LRS endpoint**:
   * **LRS URL** — The address of your Learning Record Store
   * **LRS authentication** — Credentials for sending data to the LRS
2. Enable xAPI tracking for the desired activities

## What Chamilo Tracks via xAPI

Chamilo can generate xAPI statements for:

* Course access and completion
* Exercise attempts and scores
* Learning path item progress
* Portfolio items

Other tools (such as Documents and Forums) are not currently emitted as xAPI events by the plugin.

## Use Cases

* **Cross-platform tracking** — Track learning activity across multiple tools and platforms in a single LRS
* **Advanced analytics** — Use LRS analytics tools to generate insights that go beyond Chamilo's built-in reporting
* **Compliance reporting** — Generate audit trails of training completion for regulatory requirements


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chamilo.org/administration-guide/admin-guide/integrations/xapi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
