Sessions

Get all students for a session

Changed on

Retrieve all students associated with a specific session, including bridge table information

get/sessions/{session_id}/students

Request

  • Base URL: http://localhost:8080/api/v1
  • URL: http://localhost:8080/api/v1/sessions/{session_id}/students
  • Auth: none declared

Path parameters

session_idstring uuid required
Example:123e4567-e89b-12d3-a456-426614174000

UUID of the session

Query parameters

presentboolean

Filter students by attendance status

pageinteger

Page Number of pagination

limitinteger

Number of Items per page in pagination

therapist_idstring uuid
Example:550e8400-e29b-41d4-a716-446655440000

Filter students by therapist UUID

Response

List of students with session relationship details

session_student_idinteger required

The unique ID of the session-student relationship

session_idstring uuid required

UUID of the associated session

presentboolean required

Whether the student was present at the session

notesstring nullable

Session-specific notes about the student

created_atstring date-time

When the session-student relationship was created

updated_atstring date-time

When the session-student relationship was last updated

Example response

[
  {
    "session_student_id": 1,
    "student": {
      "id": "843d4807-1397-4227-9328-330adea56993",
      "first_name": "John",
      "last_name": "Doe",
      "dob": "2010-05-15T00:00:00Z",
      "therapist_id": "9dad94d8-6534-4510-90d7-e4e97c175a65",
      "school_id": 3,
      "school_name": "Generate High",
      "district_id": 2,
      "grade": 5,
      "iep": [
        "Active IEP with speech therapy goals",
        "Occupational therapy accommodations"
      ],
      "created_at": "2025-09-18T14:14:11.66268Z",
      "updated_at": "2025-09-18T14:14:11.66268Z"
    },
    "session_id": "123e4567-e89b-12d3-a456-426614174000",
    "present": true,
    "notes": "Showed significant progress with motor skills",
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-15T10:35:00Z",
    "ratings": [
      {
        "category": "engagement",
        "level": "high",
        "description": "Student was highly engaged throughout the session"
      }
    ]
  }
]

Changes