> For the complete documentation index, see [llms.txt](https://www.xapijs.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.xapijs.dev/xapi-wrapper-library.md).

# xAPI Wrapper Library

- [Introduction](https://www.xapijs.dev/xapi-wrapper-library/introduction.md)
- [Getting Started](https://www.xapijs.dev/xapi-wrapper-library/getting-started.md): How to get the library up and running in your project.
- [The XAPI Class](https://www.xapijs.dev/xapi-wrapper-library/xapi-class.md): The xAPI class which manages the communication with the LRS.
- [Statement Resource](https://www.xapijs.dev/xapi-wrapper-library/statement-resource.md): Manages learner statements.
- [State Resource](https://www.xapijs.dev/xapi-wrapper-library/state-resource.md): Manages learner state for an activity.
- [Activity Profile Resource](https://www.xapijs.dev/xapi-wrapper-library/activity-profile-resource.md): Manages cross-learner state for an activity.
- [Agent Profile Resource](https://www.xapijs.dev/xapi-wrapper-library/agent-profile-resource.md): Manage information about a particular person.
- [About Resource](https://www.xapijs.dev/xapi-wrapper-library/about-resource.md): Get information about the LRS.
- [Agents Resource](https://www.xapijs.dev/xapi-wrapper-library/agents-resource.md): Gets agent information about a particular person.
- [Activities Resource](https://www.xapijs.dev/xapi-wrapper-library/activities-resource.md): Gets activity information about a particular activity.
- [Helpers](https://www.xapijs.dev/xapi-wrapper-library/helpers.md): A selection of useful helpers for converting data into the required formats.
- [Verbs](https://www.xapijs.dev/xapi-wrapper-library/verbs.md)
- [Attachment Usages](https://www.xapijs.dev/xapi-wrapper-library/attachment-usages.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://www.xapijs.dev/xapi-wrapper-library.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.
