Skip to main content

Get cough trend (JWT)

GET 

/insights/trend

Get the cough trend at a point in time

Request

Query Parameters

    date date-time

    Date around which the trend is calculated. Defaults to now.

    device_id uuid

    Id of the device on which to base the calculations of. If omitted all data from all devices will be used.

    granularity string

    Possible values: [day, week, month]

    Default value: day

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

Responses

OK

Schema
    pvalue float

    Calculated p-value from a Kruskal-Wallis test

    angle float

    Trend inclination

    direction string

    Trend going 'up' or 'down'

Loading...