@modelhealth/modelhealth
    Preparing search index...

    Interface SessionListOptions

    Named filters for SessionsResource.list.

    All fields are optional — omit any to leave that filter unconstrained.

    interface SessionListOptions {
        limit?: number;
        orderBy?: SessionOrderBy;
        subject?: number | Subject;
    }
    Index
    limit?: number

    Caps the total number of sessions the stream yields across the whole iteration. Omit to iterate every match.

    orderBy?: SessionOrderBy

    Field to sort by. Defaults to "-createdAt".

    subject?: number | Subject

    Only the session(s) belonging to this subject. Accepts a Subject or its id.