Skip to main content
GET
/
v1
/
console
/
dropoff
/
students
/
{student_id}
Get Student Risk Profile
curl --request GET \
  --url http://localhost:8000/v1/console/dropoff/students/{student_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "academic": {
      "avg_exam_score": 123,
      "avg_grade_point": 123,
      "avg_total_score": 123,
      "best_exam_score": 123,
      "n_exams_total": 123,
      "pct_exams_completed": 123
    },
    "behavior": {
      "active_days_14d": 123,
      "active_days_30d": 123,
      "active_days_7d": 123,
      "content_completed_14d": 123,
      "content_completed_30d": 123,
      "learning_mins_14d": 123,
      "learning_mins_30d": 123,
      "learning_mins_7d": 123,
      "login_days_14d": 123,
      "login_days_30d": 123,
      "login_days_7d": 123,
      "submissions_14d": 123,
      "submissions_30d": 123
    },
    "payment": {
      "amount_due": 123,
      "balance": 123,
      "expected_amount": 123,
      "payment_risk": 123,
      "payment_status": "<string>"
    },
    "student_id": "<string>",
    "confidence": 123,
    "courses": [],
    "current_cohort": "<string>",
    "current_program": "<string>",
    "days_since_last_activity": 123,
    "drop_off_score": 123,
    "faculty": "<string>",
    "fullname": "<string>",
    "latest_scored_at": "2023-11-07T05:31:56Z",
    "missed_deadline": true,
    "model_run_id": "<string>",
    "model_version": "<string>",
    "program": "<string>",
    "program_level": "<string>",
    "risk_level": "<string>",
    "risk_reasons": [],
    "score_date": "2023-12-25",
    "score_trend_slope": 123,
    "student_email": "<string>",
    "threshold": 123,
    "trend": [],
    "week_of_session": 123
  },
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your JWT access token

Path Parameters

student_id
string
required

Response

Successful Response

data
StudentRiskProfile · object
message
string | null
success
boolean
default:true