Adaptive Tests endpoint
Reporting for sessions attempted with adaptive Activities.
Endpoints:
Usage
The format of requests to the Data API uses the following syntax:
https://data.learnosity.com/{LTS_VERSION}/{endpoint}
For example, to use the v2025.2.LTS version and the /sessions/reports/adaptive endpoint, you would create a request like so:
https://data.learnosity.com/v2025.2.LTS/sessions/reports/adaptive
Important The Data API is not a REST API. All requests must use the POST method, with the action request body parameter specifying the operation to use. The Learnosity SDK must be used to make requests to Data API.
Note The Data API usage is subject to rate limits.
Related articles:
- Getting Started with the Data API
- See Release Cadence and Version Lifecycle for more information on available LTS versions.
Get Reports for Adaptive Tests
This is a premium feature and may not be included in your product license. For more information, reach out to your Learnosity Customer Success Manager.
Retrieves a report for sessions attempted with adaptive Items.
For a session taken via the self-hosted adaptive flow, this endpoint's response will include the custom_state data recorded for that session.
| Endpoint | /{LTS_VERSION}/sessions/reports/adaptive |
|---|---|
| HTTP method | POST |
| Action type | "get" |
Request body parameters
Body content type: application/json
-
activity_id array[string]
A list of Activity IDs.
Maximum entries:
1000 -
limit integer
Restricts the number of records returned.
Default:
50Maximum:
50 -
maxtime integer string
A timestamp filter based on the session's updated time. The latest UTC Unix timestamp or datetime string (ISO 8601 format) to get results from.
-
maxtime_started integer string
A timestamp filter based on the session's start time. The latest UTC Unix timestamp or datetime string (ISO 8601 format) to get results from.
Version added: v2023.3.LTS
-
maxtime_completed integer string
A timestamp filter based on the session's submission time. The latest UTC Unix timestamp or datetime string (ISO 8601) to get results from.
Version added: v2023.3.LTS
-
mintime integer string
A timestamp filter based on the session's updated time. The earliest UTC Unix timestamp or datetime string (ISO 8601 format) to filter results to.
-
mintime_started integer string
A timestamp filter based on the session's start time. The earliest UTC Unix timestamp or datetime string (ISO 8601 format) to filter results to.
Version added: v2023.3.LTS
-
mintime_completed integer string
A timestamp filter based on the session's submission time. The earliest UTC Unix timestamp or datetime string (ISO 8601 format) to filter results to.
Version added: v2023.3.LTS
-
next string
A token used to request the next page of results.
After making an initial request, if it would produce a result set larger than the specified
limit, the return packet will include a token inmeta.next. Pass the token provided bymeta.nextalong with the original request parameters to retrieve the next page of results. -
session_id array[string]
A list of session IDs to retrieve.
Maximum length:
1000 -
sort string
Determines the response sorting by ascending or descending order.
Default:
descPossible values
ascdesc
-
status array[string]
Retrieve only sessions that contain any of the specified statuses.
Possible values
IncompleteCompletedDiscardedPending Scoring
-
user_id array[string]
A list of user IDs to include.
Maximum length:
1000
Request body example
{
"activity_id": [
"CCASWinter14G06AVE"
]
}
Responses
Response example
{
"meta": {
"status": true,
"timestamp": 1399598503,
"next": "1395250200.452010",
"records": 1
},
"data": [
{
"meta": {
"status": true
},
"user_id": "cacf6e44-0819-4f13-bcca-833077aa96e1",
"activity_id": "activity_101",
"num_attempted": "2",
"num_questions": "10",
"session_id": "F9CE1BCC-8063-49AB-9381C8C4E4EED59E",
"score": 0,
"session_duration": "4",
"status": "Completed",
"dt_started": "2014-04-28T03:02:00Z",
"dt_completed": "2014-04-28T03:05:40Z",
"adaptive": {
"ability_estimate": {
"ability_estimate": -2.7108152670834,
"standard_error": 0.26591405064314
},
"items": null,
"exposed_items": {
"operational": [
"317816404",
"317784096",
"317802868",
"288959069",
"288983212",
"288908402",
"290095962"
],
"seeding": [
"368259876",
"368256055",
"368292926"
]
}
}
}
]
}