Skip to main content

CreateSessionRequest

Extended request type for creating a session, including metadata

Extends

Properties

actorId?

optional actorId: string;

ID of the user performing the action


curriculumId?

optional curriculumId: string;

Optional curriculum ID to associate with the session

Inherited from

CreateSessionData.curriculumId


duration?

optional duration: number;

Optional duration in minutes (defaults to 60 min if not provided)

Inherited from

CreateSessionData.duration


idempotencyKey?

optional idempotencyKey: string;

Idempotency key for preventing duplicate requests


scheduledAt

scheduledAt: ISOString;

Date and time when the session should be scheduled (ISO string format)

Inherited from

CreateSessionData.scheduledAt


studentId

studentId: string;

ID of the student for the session

Inherited from

CreateSessionData.studentId


tutorId

tutorId: string;

ID of the tutor for the session

Inherited from

CreateSessionData.tutorId