@modelhealth/modelhealth
    Preparing search index...

    Interface Activity

    A movement recording trial with associated videos and results.

    Activities represent individual recording trials and contain references to captured videos and results.

    const activities = await client.activityList(session.id);
    for (const activity of activities) {
    console.log(`${activity.name ?? activity.id}: ${activity.status}`);
    }
    interface Activity {
        activityType?: ActivityTypeInfo;
        analysisStatus?: string;
        createdAt: Date;
        createdBy?: string;
        id: string;
        name?: string;
        notes?: string;
        results: ActivityResult[];
        session: string;
        status: string;
        tags: string[];
        trashed: boolean;
        updatedAt: Date;
        videos: Video[];
    }
    Index
    activityType?: ActivityTypeInfo

    The activity type as reported, if one was set.

    Carries {id, name, displayName} through unchanged — including a type this SDK build doesn't recognize.

    analysisStatus?: string

    State of the analysis pipeline: "processing", "done", "error", or undefined when this activity was not loaded through a path that reports it (for example, nested inside a session).

    createdAt: Date

    When this activity was created.

    createdBy?: string

    Username of the account that owns the parent session, if known.

    id: string
    name?: string
    notes?: string

    Free-text notes attached to the activity, if any.

    results: ActivityResult[]
    session: string

    ID of the parent session. A bare ID, not a Session object.

    status: string
    tags: string[]

    Tags attached to the activity.

    trashed: boolean

    Whether the activity is in the trash.

    updatedAt: Date

    When this activity was last updated.

    videos: Video[]