Skip to content
Scale

xAPI / Learning Record Store

Send registration, completion, pass, fail and certificate statements to your own LRS — queued, so a slow LRS never slows a learner.

xAPI / Learning Record Store — Sikshya LMS illustration

Overview

xAPI support sends statements about what learners do to a Learning Record Store you run. Registering for a course, completing one, passing or failing a quiz, submitting an assignment, earning a certificate — each becomes a statement using the standard ADL verbs, which is what lets an LRS hold records from Sikshya alongside records from everything else without a translation layer in between.

Nothing is sent inline. A statement is queued when the event happens and sent afterwards, for two reasons: a learner pressing "mark complete" must not wait on somebody else’s server, and a statement has to survive that server being down for an afternoon. Draining the queue carries both a count and a wall-clock budget, so a site with a thousand queued statements can never turn one page load into a thousand HTTP requests — whatever is left over waits for the next run.

Who a statement is about is a setting, because it is a data-protection decision rather than a technical one. An xAPI Agent has to be identified by exactly one property: an email address is what most LRSs expect and what makes a learner recognisable across systems, a hashed address keeps that recognition without handing the address over, and an account identifier hands over neither. You choose before anything is sent.

Why this matters

Organisations that report on learning across several systems keep the record outside any one of them, in a Learning Record Store. The integration has to be honest about the network: an LRS can be slow, or down for an afternoon, and a learner pressing "mark complete" must not wait on it or lose the record because of it.

What you get

  • Statements for registering, unregistering, completing, passing, failing, submitting and earning, using the standard ADL verbs.
  • Statements are queued, never sent inline, so nothing a learner does waits on your LRS.
  • Choose how a learner is identified — an email address, a hashed address, or an account identifier that reveals neither.
  • Nothing is queued until an endpoint is configured, so enabling the add-on early does not build a backlog that floods the LRS when credentials arrive.

What it unlocks

  • Standard verbs

    Registered, unregistered, completed, passed, failed, submitted and earned, as the ADL vocabulary defines them, so any LRS that accepts xAPI over HTTP understands them without a mapping layer.

  • A queue with a budget

    Each drain carries both a count and a wall-clock budget, so a thousand queued statements can never turn one page load into a thousand HTTP requests. Whatever is left waits for the next run.

  • Actor identity as a setting

    An xAPI Agent must be identified by exactly one property, and which one is a data-protection decision rather than a technical one. An email address is what most LRSs expect; a hashed address keeps a learner recognisable without handing the address over; an account identifier hands over neither.

How it works

  1. 1

    Point it at your LRS

    Add the endpoint and credentials, and choose how learners should be identified. Until that is done, nothing is queued.

  2. 2

    Learners generate statements

    Registering, completing, passing, failing, submitting and earning a certificate each queue a statement as they happen.

  3. 3

    The queue drains in the background

    Sending happens away from the request, within a count and time budget, and retries what did not get through.

Who it is for

  • Reporting across several systems

    Course records from Sikshya in the same store as records from everything else the organisation runs.

  • A record that outlives the website

    Learning history kept somewhere independent of this WordPress install.

  • Compliance evidence

    An external, auditable record of completions, held in a system built for exactly that.

Good to know

How it behaves, what it needs, and where its limits are.

Nothing queues before you are ready
Until an endpoint and credentials exist, no statement is queued. This is on purpose: queueing anyway would build a backlog that floods the LRS with months of history the moment credentials are entered.
Duplicates are the LRS’s decision, not a guess
Each statement carries its own id, which travels with the queued row. If a statement is sent twice the LRS rejects the second as a conflict, so a retry cannot double-count.
Sending is budgeted
Each drain stops at a count or a time limit, whichever comes first, and resumes next run. A long outage produces a backlog that clears steadily rather than one that takes the site down with it.
You need an LRS
This sends records; it is not a store. You supply the LRS, its endpoint, its credentials and its retention policy.

Frequently asked

What if my LRS is down?

The statement is already queued, so it is not lost, and it is retried. Each statement carries its own id, so even a double send is rejected by the LRS as a duplicate rather than recorded twice.

Which LRS does this work with?

Any that accepts xAPI statements over HTTP with an endpoint and credentials. The verbs and the statement shape are the standard ones.

Does it send learner email addresses?

Only if you choose that identifier. Hashed addresses and account identifiers are both options, and the choice is yours to make before anything is sent.

Does this replace Sikshya’s own reports?

No. Progress and completion stay in your database and the built-in reports keep working. xAPI is for getting the same facts into a system outside WordPress.

Can I pick which events are sent?

The statements map to real learning events — registration, completion, pass, fail, submission, certificate. Statements are only produced for things that actually happened.

Ready to ship xAPI / Learning Record Store?

Activate the Sikshya Pro Scale tier to unlock this feature. The free plugin handles everything else.