Session-Response-Feedback - Endpoints - Data API

Session Response Feedback endpoint

Manages retrival and update of feedback linked to individual Item responses in a session.

Endpoints:

Usage

The format of requests to the Data API use the following syntax:

https://data.learnosity.com/{LTS_VERSION}/{endpoint}

For example, to use the v2025.1.LTS version and the /sessions/responses/feedback endpoint, you would create a request like so:

https://data.learnosity.com/v2025.1.LTS/sessions/responses/feedback

Important 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 Data API usage is subject to rate limits.

Related articles:

Get Session Response Feedback

Retrieves the feedback linked to individual Item responses in a session.

Endpoint /{LTS_VERSION}/sessions/responses/feedback
HTTP method POST
Action type "get"

Request body parameters

Body content type: application/json

  • session_id string

    A session ID to retrieve.

Request body example

{
    "session_id": [
        "30f62430-5dfa-48eb-bacd-c898d5bdf682"
    ]
}

Responses

Response example

{
    "meta": {
        "status": true,
        "timestamp": 1744349597
    },
    "data": [
        {
            "session_id": "30f62430-5dfa-48eb-bacd-c898d5bdf682",
            "items": [
                {
                    "item_reference": "f2175579-3544-47f5-bcdb-73f216798471",
                    "responses": [
                        {
                            "response_id": "30f62430-5dfa-48eb-bacd-c898d5bdf682_4747e121c5af5f53e3a517a76025e281",
                            "graders": [
                                {
                                    "grader_id": "grader1234",
                                    "content": "Good job!",
                                    "rendering_format": "plaintext_inline",
                                    "time_created": "2025-04-02 00:37:14.441805+00",
                                    "time_updated": "2025-04-10 01:28:39.263707+00"
                                    }]
                            }]

                }]

            ],
}

Update Session Response Feedback

Updates feedback for individual Item responses within a specific session.

Endpoint /{LTS_VERSION}/sessions/responses/feedback
HTTP method POST
Action type "update"

Request body parameters

Body content type: application/json

  • session_id string

    The ID of the session.

  • items array[object]

    A list of Items responses to update.

    The following properties are supported.

    • item_reference string

      The Item ID.

    • responses array[object]

      A list of response object definitions for updating the session responses feedback.

      The following properties are supported.

      • response_id string

        The ID of the response.

      • feedback array[object]

        The following properties are supported.

        • grader_id string

          The ID of the grader.

        • content string

          The feedback text.

        • rendering_format string

          The format of the feedback rendering.

Request body example

{
    "sessions": [
        {
            "session_id": "30f62430-5dfa-48eb-bacd-c898d5bdf682",
            "items": [
                {
                    "item_reference": "f2175579-3544-47f5-bcdb-73f216798471",
                    "responses": [
                        {
                            "response_id": "30f62430-5dfa-48eb-bacd-c898d5bdf682_4747e121c5af5f53e3a517a76025e281",
                            "feedback": [
                                {
                                    "grader_id": "grader1234",
                                    "content": "Good job!",
                                    "rendering_format": "plaintext_inline"
                                }
                            ]
                        }
                    ]
                }
            ]
        }
    ]
}

Responses

Response example

{
    "meta": {
        "status":true,
        "timestamp": 1744251497
    },
    "data": {
      []
    }
}
Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.