Skip to main content
GET
/
v1
/
console
/
attempts
/
{user_id}
Get Student Attempt Detail
curl --request GET \
  --url http://localhost:8000/v1/console/attempts/{user_id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "attempts": [
      {
        "attempt_label": "<string>",
        "counted_as_attempt": true,
        "duration_seconds": 123,
        "session_id": "<string>",
        "status": "<string>",
        "ended_at": "2023-11-07T05:31:56Z",
        "score": 123,
        "started_at": "2023-11-07T05:31:56Z"
      }
    ],
    "case_study_id": "<string>",
    "case_study_title": "<string>",
    "entitlement": {
      "attempts_remaining": 123,
      "attempts_used": 123,
      "base_attempts": 123,
      "extra_attempts": 123,
      "revoked_attempts": 123,
      "total_allowed": 123
    },
    "student_email": "<string>",
    "student_name": "<string>",
    "transactions": [
      {
        "actor_user_id": "<string>",
        "amount": 123,
        "created_at": "2023-11-07T05:31:56Z",
        "expired": true,
        "id": "<string>",
        "reason": "<string>",
        "actor_name": "<string>",
        "expires_at": "2023-11-07T05:31:56Z"
      }
    ],
    "user_id": "<string>"
  },
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your JWT access token

Path Parameters

user_id
string
required

Query Parameters

case_study_id
string
required

Response

Successful Response

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