List Completed Smart IA Sessions
Convenience method that only return "Completed" Smart IA Sessions
Returns a paginated list of completed sessions
Query parameters
- 
    
  Filter the results by session start date Supports either a ISO 8601 formatted date or a Unix timestamp. For example startDate[gt]=1688200245orstartDate[lt]=2023-07-15T12:00:00.000ZThe following operators cannot be used together - gtand- gte
- ltand- lte
 
- 
    
  Filter the results by session end date Supports either a ISO 8601 formatted date or a Unix timestamp. For example endDate[gt]=1688200245orendDate[lt]=2023-07-15T12:00:00.000ZThe following operators cannot be used together - gtand- gte
- ltand- lte
 
- 
    
  Filter the results by user ID. Multiple identifiers can be specified by repeating the query parameter. e.g. userId=value1&userId=value2This parameter supports a maximum of 30 identifiers. At least 1but not more than30elements.
- 
    
  Filter the results by test ID. Multiple identifiers can be specified by repeating the query parameter. e.g. testId=value1&testId=value2This parameter supports a maximum of 30 identifiers. At least 1but not more than30elements.
- 
    
  Filter the results by test subject. Multiple identifiers can be specified by repeating the query parameter. e.g. subject=value1&subject=value2This parameter supports a maximum of 30 identifiers. At least 1but not more than30elements.
- 
    
  Specify the pagination limit, defaults to 100 
- 
    
  Specify the pagination offset, defaults to 0. Cannot be used with cursor
- 
    
  Provide the next or previous page cursor 
- 
    
  Specify the sort order of the results. The default sort order is sort[field]=startDate&sort[direction]=asc
curl \
 --request GET 'https://connect.century.tech/api/v1/smart-ia/sessions/completed' \
 --header "x-api-key: $API_KEY"{
  "data": [
    {
      "test": {
        "name": "English Smart Initial Assessment",
        "testId": "c5a77fda-7174-446f-a4f5-0f47ccbf15ce",
        "subject": "English",
        "testVersionId": "38444333-7450-49d5-922d-eb16a8f30589"
      },
      "user": {
        "emails": [
          "john.doe@email.com"
        ],
        "gender": "male",
        "userId": "68f06c66-702a-4c26-b8c5-b6dc4f81f25d",
        "fullName": "John Doe",
        "lastName": "Doe",
        "username": "john_doe",
        "firstName": "John",
        "dateOfBirth": "2010-07-01"
      },
      "result": {
        "level": "L1 - Lower",
        "duration": "PT1H30M",
        "createdDate": "2023-07-10T15:30:00.000Z"
      },
      "status": "COMPLETED",
      "endDate": "2023-07-10T15:30:00.000Z",
      "sessionId": "d93ba3c3-2482-4b0d-8b99-42a20e68e11e",
      "startDate": "2023-07-10T14:00:00.000Z"
    }
  ],
  "pagination": {
    "limit": 30,
    "total": 300,
    "offset": 100,
    "nextCursor": "eyJsaW1pdCI6MSxiZWZvcmU6IiIsc29ydDpbWyJlbmREYXRlIiwiZGVzYyJdXX0=",
    "previousCursor": "eyJsaW1pdCI6MSxiZWZvcmU6IiIsc29ydDpbWyJlbmREYXRlIiwiZGVzYyJdXX0="
  }
}