@0x3639/intervals-icu
    Preparing search index...

    Interface PaceCurveOptions

    Query for GET /athlete/{id}/pace-curves

    interface PaceCurveOptions {
        curves?: string[];
        gap?: boolean;
        includeRanks?: boolean;
        newest?: string;
        now?: string;
        pmType?: "CS";
        subMaxEfforts?: number;
        type?: ActivityType;
    }

    Hierarchy (View Summary)

    Index
    curves?: string[]

    Curves to return (default: the past year). Each entry is one of 1y/2y (past year, past 2 years…), 42d (past 42 days…), s0/s1 (current season, previous season…), all (all time), or r.2023-10-01.2023-10-31 (an explicit date range). An entry may carry a -kj0 or -kj1 suffix to return the matching fatigued curve.

    gap?: boolean

    Return gradient-adjusted pace curves (default false)

    includeRanks?: boolean

    Include the athlete's ranking for each effort (default false)

    newest?: string

    Newest local date (ISO-8601) the curves are computed back from; defaults to today

    now?: string

    Current local date (ISO-8601)

    pmType?: "CS"

    Pace model to fit: CS

    subMaxEfforts?: number

    Number of sub-maximal efforts to return per duration (integer, default 0)

    The sport (Ride, Run etc.) whose activities feed the curves. Required for power curves.