Skip to main content

Get cough trend (group)

GET 

/:customer_id/groups/:group_id/users/:uid/insights/trend

Get the cough trend at a point in time for a user in a group

Request

Path Parameters

    customer_id Customer Idrequired

    Id of the tenant

    group_id Group Idrequired

    Id of the group

    uid uuidrequired

    Id of the user

Query Parameters

    date date-time

    Default value: 2024-12-03T11:29:46.198896Z

    Date around which the trend is calculated.

    device_id uuid

    Id of the device to use, if omitted calculated across all devices.

    granularity Granularity

    Possible values: [day, week, month]

    Default value: day

    Compare day to day, or week to week, etc...

    metric any

    Metric to use.

Responses

Successful response

Schema
    pvalue Pvaluerequired

    Calculated p-value from a Kruskal-Wallis test

    angle Anglerequired

    Trend inclination

    direction Directionrequired

    Possible values: [up, down]

    Trend going 'up' or 'down'

Loading...