1. Who this guide is for
This guide explains how to use the API to find out which learning paths are assigned to each user in your organization and their progress, even before the content is released.
This is especially useful if you want to connect LibraCyber to your company LMS (for example, Docebo): with this data, you can pre-enroll users in the corresponding courses. To record completions, use the API described in Training API: completed content (generic LMS).
Before you start, read Start here: API authentication: there you'll find how to get your credentials and token.
2. The API call
GET <api_base_url>/training/user-learning-paths
with the header Authorization: Bearer <access_token>.
You’ll receive one row for each user and learning path pair: a user assigned to three paths will appear in three rows.
Available filters (all optional)
| Parameter | Format | What it does |
|---|---|---|
lang |
language code (e.g. it, en) |
Language for the learning path name |
country |
ISO country code (e.g. IT) |
Only users from that country |
learning_path_id |
learning path ID | Only rows for that learning path |
first_release_date_from |
YYYY-MM-DD | Only paths whose first content was released on or after this date. Excludes paths not yet started |
page |
number starting from 1 | Enables pagination |
per_page |
from 1 to 1000 (default 100) | Rows per page, used together with page
|
3. What you receive
| Field | Meaning |
|---|---|
Firstname, Lastname
|
User’s first and last name |
Username, Email
|
User’s username and email on the platform |
Country, Team
|
User’s country and team (empty if not available) |
External_data |
Only present if your organization has configured this data |
Learning_Path_Id |
Learning path ID. This never changes and is not language-dependent |
Learning_Path |
Learning path name in the requested language (empty if translation is not available) |
Path_Status |
User’s progress in the path (see table below) |
Assigned_Contents |
How many contents in the path are assigned to the user |
Released_Contents |
How many of these have already been released |
Started_Contents |
How many the user has opened at least once |
First_Release_Date |
Date of the first release in the path for that user |
First_Module_Start_Date |
Date the user opened the first released content |
Path_Start_Date |
Date the user first opened any content in the path |
Dates are in YYYY-MM-DD format and are left empty if the event hasn’t happened yet.
Path status
| Path_Status | Meaning |
|---|---|
ASSIGNED_NOT_RELEASED |
Path assigned, no content released yet |
RELEASED_NOT_STARTED |
Content available, but the user hasn’t opened any yet |
IN_PROGRESS |
User has started the path |
Example
{
"status": 200,
"data": [
{
"Firstname": "Mario",
"Lastname": "Rossi",
"Username": "mario.rossi",
"Email": "mario.rossi@example.com",
"Country": "IT",
"Team": "Amministrazione",
"Learning_Path_Id": "3f2b9c41-5d7e-4a16-9b83-c0e4d5a71f28",
"Learning_Path": "Awareness L1",
"Path_Status": "IN_PROGRESS",
"Assigned_Contents": 24,
"Released_Contents": 6,
"Started_Contents": 4,
"First_Release_Date": "2026-06-01",
"First_Module_Start_Date": "2026-06-03",
"Path_Start_Date": "2026-06-03"
}
],
"pagination": {
"current_page": 1, "per_page": 100, "total_items": 1, "total_pages": 1,
"has_next": false, "has_prev": false, "next_page": null, "prev_page": null,
"first_page": 1, "last_page": 1, "from": 1, "to": 1
}
}
If you don’t use page, you’ll get all rows in a single response, without the pagination block. If there are no results, you’ll get an empty data list.
4. Integration tips
| 💡 |
Use Learning_Path_Id to link paths to your LMS courses, not the name: the name can be changed and varies by language. |
- A "released" content may still be locked for the user until they complete the previous one: content sequence is always managed by LibraCyber.
- If you’re using pagination, go through all pages in quick succession to get a consistent snapshot.
- Additional content (Pills and Assets) is not counted.
5. If something doesn’t work
| Code | What it means | What to do |
|---|---|---|
EXT_1000 |
An invalid parameter (the message tells you which one) | Fix the indicated parameter |
EXT_1008 |
Invalid country code | Use a two-letter ISO code (e.g. IT) |
EXT_1002, EXT_1003
|
Temporary error retrieving data | Try again later; if it keeps happening, contact support |
EXT_1001 |
Token expired or invalid | Request a new token |
If the problem persists, contact support and include the API call you made, date and time, and the full error message. We can help you with testing, first in the test environment and then in production.