Skip to main content
GET
/
edubridge
/
time-saved
/
user
/
{userId}
Get total time saved for a student this school year
curl --request GET \
  --url https://api.alpha-1edtech.ai/edubridge/time-saved/user/{userId} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "totalHoursSaved": 600,
    "totalDaysSaved": 25,
    "schoolDaysElapsed": 120,
    "earliestStartDate": "2024-08-25T00:00:00.000Z",
    "schoolYearStartDate": "2024-08-15T00:00:00.000Z",
    "calculation": {
      "standardSchoolHoursPerDay": 7,
      "timebackHoursPerDay": 2,
      "hoursSavedPerDay": 5,
      "formula": "120 school days × 5 hours saved per day = 600 hours"
    }
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

userId
string
required

The unique identifier for the student

Response

Successful response

data
object
required

Time saved calculation for the student during the current school year