v1
latestOpenAPI 3.1.02026-08-04164270844.7 KBList all sessions
🔑
Required OAuth scope: paths:read.
📖
This endpoint is paginated with a page size of 500 path sessions. For more information, see the Pagination guide.
Lists all path sessions in your platform. This endpoint does not return path session translations. To retrieve translations, use the Retrieve a path session endpoint or the List all sessions in a path endpoint.
Query parameters
Filter on createdAt property with LHS bracket notation.
Expected value format is a date (YYYY-MM-DDThh:mm:ss.sssZ). The milliseconds are always set to 0.
{
"lt": "2020-01-01T10:30:26.000Z",
"gte": "2020-01-01T10:30:26.000Z"
}Filter on modifiedAt property with LHS bracket notation.
Expected value format is a date (YYYY-MM-DDThh:mm:ss.sssZ). The milliseconds are always set to 0.
{
"lt": "2020-01-01T10:30:26.000Z",
"gte": "2020-01-01T10:30:26.000Z"
}Filter on startDate property with LHS bracket notation.
Expected value format is a date (YYYY-MM-DDThh:mm:ss.sssZ). The milliseconds are always set to 0.
{
"lt": "2020-01-01T10:30:26.000Z",
"gte": "2020-01-01T10:30:26.000Z"
}Filter on endDate property with LHS bracket notation.
Expected value format is a date (YYYY-MM-DDThh:mm:ss.sssZ). The milliseconds are always set to 0.
{
"lt": "2020-01-01T10:30:26.000Z",
"gte": "2020-01-01T10:30:26.000Z"
}Filter on sessionId property with LHS bracket notation.
Expected value format is a valid ID (24 digits or letters).
{
"eq": "507f1f77bcf86cd799439011",
"ne": "507f1f77bcf86cd799439011",
"in": [
"507f1f77bcf86cd799439011"
],
"nin": [
"507f1f77bcf86cd799439011"
]
}Filter on pathId property with LHS bracket notation.
Expected value format is a valid ID (24 digits or letters).
{
"eq": "507f1f77bcf86cd799439011",
"ne": "507f1f77bcf86cd799439011",
"in": [
"507f1f77bcf86cd799439011"
],
"nin": [
"507f1f77bcf86cd799439011"
]
}Headers
The version of the API.
Response
Returns one page of 500 path sessions.
Example response
[
{
"mainInstructorId": "507f1f77bcf86cd799439011",
"automaticReenrollment": {
"delayDays": 90
},
"_id": "507f1f77bcf86cd799439011",
"groupId": "507f1f77bcf86cd799439011",
"instructorIds": [
"507f1f77bcf86cd799439011"
],
"name": "Employee Onboarding October Session.",
"pathId": "507f1f77bcf86cd799439011",
"additionalInformation": "A0015221",
"rootSessionId": "507f1f77bcf86cd799439011"
}
]