---
updatedAt: 2026-05-27T00:16:27.000Z
agentTools:
  projectIndex: https://360learning.readme.io/llms.txt
---

# Create a path session

> 🔑
>
> Required OAuth scope: `paths:write`.

Creates a path session for the given path.

Required fields include the session name, start date, the ID of the main instructor, and registration validation options.

On success, the API returns the full session object, including your input and system-generated fields like `_id`, timestamps (`createdAt`, `modifiedAt`), and `groupId` (owner group).

**About session owner group assignment (`groupId`)**\
You don't provide `groupId` directly. The system assigns an owner group to the newly created path session automatically based on the `mainInstructorId`:

1. **Identify eligible groups:** The system retrieves all groups where the `mainInstructorId` has at least the author role.
2. **Group selection logic:** If eligible groups exist, they are sorted, and the first group in the sorted list is selected as the session owner group. The sorting criteria are applied in this order:
   * Public groups first.
   * Next, groups are sorted by their hierarchy depth in ascending order (meaning groups higher up in the organizational tree are chosen first).
   * Finally, groups are sorted by the number of users they contain in descending order (larger groups come first).
3. **Fallback:** If the `mainInstructorId` does not have the author role in any group, the system defaults to using the path's owner group as the session owner group.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "paths": {
    "/api/v2/paths/{pathId}/sessions": {
      "post": {
        "description": "> 🔑\n>\n> Required OAuth scope: `paths:write`.\n\nCreates a path session for the given path.",
        "operationId": "v2.paths.CreatePathSessionController_createPathSession",
        "parameters": [
          {
            "name": "360-api-version",
            "in": "header",
            "description": "The version of the API.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "v2.0"
              ]
            }
          },
          {
            "name": "pathId",
            "required": true,
            "in": "path",
            "description": "The unique ID of the path.",
            "schema": {
              "format": "ObjectId",
              "pattern": "^[a-fA-F0-9]{24}$",
              "example": "507f1f77bcf86cd799439011",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InputPathSessionDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns the information about the created session.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PathSessionDTO"
                }
              }
            }
          },
          "400": {
            "description": "The server cannot or will not process the request due to something that is perceived to be a client error.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "description": "The given `endDate` is before the given `startDate`.",
                      "title": "Invalid Start Or End Date",
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "invalidStartOrEndDate"
                              ]
                            },
                            "message": {
                              "type": "string",
                              "example": "A human-readable message to help with debugging."
                            }
                          },
                          "required": [
                            "code",
                            "message"
                          ]
                        }
                      },
                      "required": [
                        "error"
                      ]
                    },
                    {
                      "description": "At least one of the given IP addresses is invalid.",
                      "title": "Invalid Ip Filtering",
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "invalidIpFiltering"
                              ]
                            },
                            "message": {
                              "type": "string",
                              "example": "A human-readable message to help with debugging."
                            }
                          },
                          "required": [
                            "code",
                            "message"
                          ]
                        }
                      },
                      "required": [
                        "error"
                      ]
                    },
                    {
                      "description": "Automatic re-enrollment is set to `certificationExpiryDate` but certificate is missing.",
                      "title": "Missing Certificate",
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "missingCertificate"
                              ]
                            },
                            "message": {
                              "type": "string",
                              "example": "A human-readable message to help with debugging."
                            }
                          },
                          "required": [
                            "code",
                            "message"
                          ]
                        }
                      },
                      "required": [
                        "error"
                      ]
                    },
                    {
                      "description": "The given `pathId` corresponds to an archived path.",
                      "title": "Path Archived",
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "pathArchived"
                              ]
                            },
                            "message": {
                              "type": "string",
                              "example": "A human-readable message to help with debugging."
                            }
                          },
                          "required": [
                            "code",
                            "message"
                          ]
                        }
                      },
                      "required": [
                        "error"
                      ]
                    },
                    {
                      "description": "The `assessors` property of `registrationRequestSetting` is required when `enrollmentRequestEnabled` or `unenrollmentRequestEnabled` is `true`.",
                      "title": "Registration Request Assessors Missing",
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "registrationRequestAssessorsMissing"
                              ]
                            },
                            "message": {
                              "type": "string",
                              "example": "A human-readable message to help with debugging."
                            }
                          },
                          "required": [
                            "code",
                            "message"
                          ]
                        }
                      },
                      "required": [
                        "error"
                      ]
                    },
                    {
                      "description": "The `assessors` property of `registrationRequestSetting` must be omitted when both `enrollmentRequestEnabled` and `unenrollmentRequestEnabled` are `false`.",
                      "title": "Registration Request Assessors Not Allowed",
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "registrationRequestAssessorsNotAllowed"
                              ]
                            },
                            "message": {
                              "type": "string",
                              "example": "A human-readable message to help with debugging."
                            }
                          },
                          "required": [
                            "code",
                            "message"
                          ]
                        }
                      },
                      "required": [
                        "error"
                      ]
                    },
                    {
                      "description": "Either `registrationRequestValidation` or `registrationRequestSetting` must be provided when creating a path session.",
                      "title": "Registration Request Configuration Missing",
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "registrationRequestConfigurationMissing"
                              ]
                            },
                            "message": {
                              "type": "string",
                              "example": "A human-readable message to help with debugging."
                            }
                          },
                          "required": [
                            "code",
                            "message"
                          ]
                        }
                      },
                      "required": [
                        "error"
                      ]
                    },
                    {
                      "description": "The given assessor option (`registrationRequestValidation` or `registrationRequestSetting.assessors`) is not active for this group.",
                      "title": "Invalid Registration Request Option",
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "invalidRegistrationRequestOption"
                              ]
                            },
                            "message": {
                              "type": "string",
                              "example": "A human-readable message to help with debugging."
                            }
                          },
                          "required": [
                            "code",
                            "message"
                          ]
                        }
                      },
                      "required": [
                        "error"
                      ]
                    },
                    {
                      "description": "Unenrollment requests are not enabled for this company — `unenrollmentRequestEnabled` cannot be set to `true`.",
                      "title": "Unenrollment Request Feature Disabled",
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "unenrollmentRequestFeatureDisabled"
                              ]
                            },
                            "message": {
                              "type": "string",
                              "example": "A human-readable message to help with debugging."
                            }
                          },
                          "required": [
                            "code",
                            "message"
                          ]
                        }
                      },
                      "required": [
                        "error"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "The given access token is either missing, invalid, has expired, or has been revoked.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "invalid_token"
                      ]
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "403": {
            "description": "The given access token does not have the required OAuth scope to execute the request.",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Invalid Scope",
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "enum": [
                            "invalid_scope"
                          ]
                        },
                        "message": {
                          "type": "string",
                          "example": "A human-readable message to help with debugging."
                        }
                      },
                      "required": [
                        "code",
                        "message"
                      ]
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "404": {
            "description": "The server cannot find the requested resource.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "description": "The given `pathId` does not correspond to any existing path.",
                      "title": "Path Not Found",
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "pathNotFound"
                              ]
                            },
                            "message": {
                              "type": "string",
                              "example": "A human-readable message to help with debugging."
                            }
                          },
                          "required": [
                            "code",
                            "message"
                          ]
                        }
                      },
                      "required": [
                        "error"
                      ]
                    },
                    {
                      "description": "At least one of the given `mainInstructorId` or `instructorIds` does not correspond to any existing and non-deleted user.",
                      "title": "Users Not Found",
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "usersNotFound"
                              ]
                            },
                            "message": {
                              "type": "string",
                              "example": "A human-readable message to help with debugging."
                            }
                          },
                          "required": [
                            "code",
                            "message"
                          ]
                        }
                      },
                      "required": [
                        "error"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "429": {
            "description": "The client has sent too many requests in a short amount of time. ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "tooManyRequests"
                      ]
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ],
        "summary": "Create a path session",
        "tags": [
          "Paths"
        ]
      }
    }
  },
  "info": {
    "title": "Core API",
    "description": "",
    "version": "1.0.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://app.360learning.com",
      "description": "Production EU"
    },
    {
      "url": "https://app.us.360learning.com",
      "description": "Production US"
    }
  ],
  "components": {
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "/api/v2/oauth2/token",
            "scopes": {}
          }
        },
        "description": "Use the token from the authentication endpoint in the Authorization header.\n\nExample: `Authorization: Bearer <token>`"
      }
    },
    "schemas": {
      "CertificationExpiryDateAutomaticReenrollmentDTO": {
        "title": "Certification Expiry Date Automatic Reenrollment",
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "certificationExpiryDate"
            ],
            "description": "The type of automatic reenrollment set for this path session."
          },
          "delayDays": {
            "type": "number",
            "description": "The number of days to enroll the learner prior to the next due date.",
            "example": 90
          }
        },
        "required": [
          "type",
          "delayDays"
        ]
      },
      "PathCompletionDateAutomaticReenrollmentDTO": {
        "title": "Path Completion Date Automatic Reenrollment",
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "pathCompletionDate"
            ],
            "description": "The type of automatic reenrollment set for this path session."
          },
          "delayDays": {
            "type": "number",
            "description": "The number of days to enroll the learner prior to the next due date.",
            "example": 90
          },
          "recurrenceMonths": {
            "type": "number",
            "description": "Only available when `automaticReenrollment.type` is `pathCompletionDate`. The number of months from the last completion of the path that the learner should have completed the path again by.",
            "example": 3
          }
        },
        "required": [
          "type",
          "delayDays",
          "recurrenceMonths"
        ]
      },
      "IPFilteringDTO": {
        "title": "IP Filtering",
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean",
            "description": "True if the IP filtering is active. False otherwise."
          },
          "authorizedAddresses": {
            "maxItems": 1000,
            "description": "The list of authorized IP addresses.",
            "example": "'141.25.186.74', '56.231.*.85', '96.127.36.47/28', etc",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "active",
          "authorizedAddresses"
        ]
      },
      "PathSessionRegistrationRequestSettingDTO": {
        "title": "Path Session Registration Request Setting",
        "type": "object",
        "properties": {
          "enrollmentRequestEnabled": {
            "type": "boolean",
            "description": "Whether learners must submit a request, validated by the assessors, to enroll in the session."
          },
          "unenrollmentRequestEnabled": {
            "type": "boolean",
            "description": "Whether learners must submit a request, validated by the assessors, to unenroll from the session."
          },
          "assessors": {
            "type": "string",
            "enum": [
              "instructors",
              "managers",
              "adminsAndManagers",
              "adminsCoachesInstructorsManagers"
            ],
            "description": "The roles that validate both enrollment and unenrollment requests. Options are:\n- `instructors`: The instructors validate the registration request.\n- `managers`: The managers validate the registration request.\n- `adminsAndManagers`: The managers and group admin validate the registration request.\n- `adminsCoachesInstructorsManagers`: Managers, instructors, group admins and coaches validate the registration request."
          }
        },
        "required": [
          "enrollmentRequestEnabled",
          "unenrollmentRequestEnabled"
        ]
      },
      "InputPathSessionDTO": {
        "title": "Input Path Session",
        "type": "object",
        "properties": {
          "mainInstructorId": {
            "type": "string",
            "description": "The unique ID of the main instructor of the path session.",
            "format": "ObjectId",
            "example": "507f1f77bcf86cd799439011",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "startDate": {
            "format": "date-time",
            "type": "string",
            "description": "The date and time when the path session starts, in the `YYYY-MM-DDThh:mm:ss.sssZ` format (ISO 8601 in Coordinated Universal Time (UTC))."
          },
          "endDate": {
            "format": "date-time",
            "type": "string",
            "description": "The date and time when the path session ends, in the `YYYY-MM-DDThh:mm:ss.sssZ` format (ISO 8601 in Coordinated Universal Time (UTC))."
          },
          "userLimit": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of learners that can self enroll in the path session."
          },
          "automaticReenrollment": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/CertificationExpiryDateAutomaticReenrollmentDTO"
              },
              {
                "$ref": "#/components/schemas/PathCompletionDateAutomaticReenrollmentDTO"
              }
            ],
            "description": "The automatic reenrollment settings if enabled for the path session."
          },
          "ipFiltering": {
            "description": "The IP filtering configuration of the path session.",
            "allOf": [
              {
                "$ref": "#/components/schemas/IPFilteringDTO"
              }
            ]
          },
          "registrationRequestValidation": {
            "type": "string",
            "deprecated": true,
            "enum": [
              "disabled",
              "instructors",
              "managers",
              "adminsAndManagers",
              "adminsCoachesInstructorsManagers"
            ],
            "description": "DEPRECATED — Use `registrationRequestSetting` instead. Ignored when `registrationRequestSetting` is provided. Only applies to enrollment requests. The registration request validation options for open access registrations. Options are:\n- `disabled`: There is no validation for registration.\n- `instructors`: The instructors validate the registration request.\n- `managers`: The managers validate the registration request.\n- `adminsAndManagers`: The managers and group admin validate the registration request.\n- `adminsCoachesInstructorsManagers`:Managers, instructors, group admins and coaches validate the registration request."
          },
          "registrationRequestSetting": {
            "description": "The registration request settings of the session, configuring both enrollment and unenrollment requests. Takes precedence over `registrationRequestValidation` when both are provided.",
            "allOf": [
              {
                "$ref": "#/components/schemas/PathSessionRegistrationRequestSettingDTO"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The title of the path session.",
            "example": "Employee Onboarding October Session.",
            "minLength": 1
          },
          "additionalInformation": {
            "type": "string",
            "description": "The additional information of the path session.",
            "example": "A0015221",
            "minLength": 1
          },
          "instructorIds": {
            "maxItems": 100,
            "description": "The list of unique IDs of the co-instructors of the path session.",
            "example": [
              "507f1f77bcf86cd799439011"
            ],
            "type": "array",
            "items": {
              "type": "string",
              "format": "ObjectId",
              "pattern": "^[a-fA-F0-9]{24}$"
            }
          }
        },
        "required": [
          "mainInstructorId",
          "startDate",
          "name"
        ]
      },
      "PathSessionTranslatedFields": {
        "title": "Path Session Translated Fields",
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The translation of the field `name` for this language.",
            "example": "Accueil des employés Session d'Octobre",
            "minLength": 1
          }
        }
      },
      "PathSessionTranslationDTO": {
        "title": "Path Session Translation",
        "type": "object",
        "properties": {
          "lang": {
            "type": "string",
            "enum": [
              "bg",
              "cs",
              "da",
              "de",
              "el",
              "en",
              "es",
              "fi",
              "fr",
              "hr",
              "ht_HT",
              "hu",
              "id",
              "it",
              "ja",
              "kar_MM",
              "ko",
              "lt",
              "mh_MH",
              "nl",
              "nl_BE",
              "no",
              "pl",
              "pt",
              "ro",
              "ru",
              "rw_RW",
              "sk",
              "sl",
              "so_SO",
              "sv",
              "sw_KE",
              "th",
              "ti_ET",
              "tr",
              "uk",
              "zh",
              "am_ET",
              "bn",
              "bs",
              "ca",
              "cy",
              "en_CA",
              "en_GB",
              "es_AR",
              "es_MX",
              "et",
              "fr_CA",
              "gu",
              "he_IL",
              "hy",
              "kk",
              "km",
              "lo",
              "lv",
              "mi",
              "mn_MN",
              "mr",
              "ms",
              "my_MM",
              "nn_NO",
              "or",
              "pa",
              "pt_BR",
              "pt_MZ",
              "rn_BI",
              "si",
              "ta",
              "te",
              "tl_PH",
              "ur",
              "uz",
              "yo_NG",
              "zh_tw",
              "el",
              "hi",
              "sr",
              "ar",
              "vi",
              "zh_HANT"
            ],
            "description": "The language of the translation.",
            "example": "fr"
          },
          "published": {
            "type": "boolean",
            "description": "True if the translation is available to users in this language; false otherwise."
          },
          "translatorIds": {
            "description": "The list of unique IDs of the translators assigned to this language.",
            "example": [
              "507f1f77bcf86cd799439011"
            ],
            "type": "array",
            "items": {
              "type": "string",
              "format": "ObjectId",
              "pattern": "^[a-fA-F0-9]{24}$"
            }
          },
          "translatedFields": {
            "description": "The translations of the path session fields for this language.",
            "allOf": [
              {
                "$ref": "#/components/schemas/PathSessionTranslatedFields"
              }
            ]
          }
        },
        "required": [
          "lang",
          "published",
          "translatorIds",
          "translatedFields"
        ]
      },
      "PathSessionDTO": {
        "title": "Path Session",
        "type": "object",
        "properties": {
          "mainInstructorId": {
            "type": "string",
            "description": "The unique ID of the main instructor of the path session.",
            "format": "ObjectId",
            "example": "507f1f77bcf86cd799439011",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "startDate": {
            "format": "date-time",
            "type": "string",
            "description": "The date and time when the path session starts, in the `YYYY-MM-DDThh:mm:ss.sssZ` format (ISO 8601 in Coordinated Universal Time (UTC))."
          },
          "endDate": {
            "format": "date-time",
            "type": "string",
            "description": "The date and time when the path session ends, in the `YYYY-MM-DDThh:mm:ss.sssZ` format (ISO 8601 in Coordinated Universal Time (UTC))."
          },
          "userLimit": {
            "type": "integer",
            "minimum": 1,
            "description": "The maximum number of learners that can self enroll in the path session."
          },
          "automaticReenrollment": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/CertificationExpiryDateAutomaticReenrollmentDTO"
              },
              {
                "$ref": "#/components/schemas/PathCompletionDateAutomaticReenrollmentDTO"
              }
            ],
            "description": "The automatic reenrollment settings if enabled for the path session."
          },
          "ipFiltering": {
            "description": "The IP filtering configuration of the path session.",
            "allOf": [
              {
                "$ref": "#/components/schemas/IPFilteringDTO"
              }
            ]
          },
          "_id": {
            "type": "string",
            "description": "The unique ID of the path session.",
            "format": "ObjectId",
            "example": "507f1f77bcf86cd799439011",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string",
            "description": "The date and time when the path session was created, in the `YYYY-MM-DDThh:mm:ss.sssZ` format (ISO 8601 in Coordinated Universal Time (UTC))."
          },
          "groupId": {
            "type": "string",
            "description": "The unique ID of the path session owner group.",
            "format": "ObjectId",
            "example": "507f1f77bcf86cd799439011",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "instructorIds": {
            "description": "The list of unique IDs of the co-instructors of the path session.",
            "example": [
              "507f1f77bcf86cd799439011"
            ],
            "type": "array",
            "items": {
              "type": "string",
              "format": "ObjectId",
              "pattern": "^[a-fA-F0-9]{24}$"
            }
          },
          "isAudienceBuilder": {
            "type": "boolean",
            "description": "True if the path session is an audience builder session; false otherwise."
          },
          "modifiedAt": {
            "format": "date-time",
            "type": "string",
            "description": "The date and time when the path session was last updated, in the `YYYY-MM-DDThh:mm:ss.sssZ` format (ISO 8601 in Coordinated Universal Time (UTC))."
          },
          "name": {
            "type": "string",
            "description": "The title of the path session.",
            "example": "Employee Onboarding October Session."
          },
          "pathId": {
            "type": "string",
            "description": "The unique ID of the path the session belongs to.",
            "format": "ObjectId",
            "example": "507f1f77bcf86cd799439011",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "registrationRequestValidation": {
            "type": "string",
            "deprecated": true,
            "enum": [
              "disabled",
              "instructors",
              "managers",
              "adminsAndManagers",
              "adminsCoachesInstructorsManagers"
            ],
            "description": "DEPRECATED — Use `registrationRequestSetting` instead. Only applies to enrollment requests. The registration request validation options for open access registrations. Options are:\n- `disabled`: There is no validation for registration.\n- `instructors`: The instructors validate the registration request.\n- `managers`: The managers validate the registration request.\n- `adminsAndManagers`: The managers and group admin validate the registration request.\n- `adminsCoachesInstructorsManagers`:Managers, instructors, group admins and coaches validate the registration request."
          },
          "registrationRequestSetting": {
            "description": "The registration request settings of the session, configuring both enrollment and unenrollment requests.",
            "allOf": [
              {
                "$ref": "#/components/schemas/PathSessionRegistrationRequestSettingDTO"
              }
            ]
          },
          "additionalInformation": {
            "type": "string",
            "description": "The additional information of the path session.",
            "example": "A0015221"
          },
          "rootSessionId": {
            "type": "string",
            "description": "The unique ID of the root session.",
            "format": "ObjectId",
            "example": "507f1f77bcf86cd799439011",
            "pattern": "^[a-fA-F0-9]{24}$"
          },
          "translations": {
            "description": "The different translations available for the path session.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PathSessionTranslationDTO"
            }
          }
        },
        "required": [
          "mainInstructorId",
          "startDate",
          "_id",
          "createdAt",
          "groupId",
          "instructorIds",
          "isAudienceBuilder",
          "modifiedAt",
          "name",
          "pathId",
          "registrationRequestValidation",
          "registrationRequestSetting",
          "translations"
        ]
      }
    }
  },
  "x-readme": {
    "apply-tag-changes": true
  }
}
```