Skip to main content
GET
/
v1
/
console
/
attempts
List Student Attempts
curl --request GET \
  --url http://localhost:8000/v1/console/attempts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "attempts_remaining": 123,
      "attempts_used": 123,
      "base_attempts": 123,
      "case_study_id": "<string>",
      "case_study_title": "<string>",
      "extra_attempts": 123,
      "has_active_grants": true,
      "revoked_attempts": 123,
      "student_email": "<string>",
      "student_name": "<string>",
      "total_allowed": 123,
      "user_id": "<string>",
      "best_score": 123,
      "latest_attempt_at": "2023-11-07T05:31:56Z"
    }
  ],
  "page": 123,
  "page_size": 123,
  "total": 123,
  "total_pages": 123,
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your JWT access token

Query Parameters

case_study_id
string
required
search
string | null
status
string | null

has_remaining, exhausted, or has_extra

sort_by
string
default:student_name
sort_order
string
default:asc
skip
integer
default:0
Required range: x >= 0
limit
integer
default:50
Required range: 1 <= x <= 100

Response

Successful Response

data
StudentAttemptSummary · object[]
required
page
integer
required
page_size
integer
required
total
integer
required
total_pages
integer
required
message
string | null
success
boolean
default:true