interface DataQueryBase {
    details?: boolean;
    end_date?: string | Date;
    groups?: string | string[];
    ids?: string | string[];
    origins?: string | string[];
    series?: string | string[];
    start_date?: string | Date;
    values?: valuesTypes | valuesTypes[];
    variables?: string | string[];
}

Properties

details?: boolean

Add internal details in each record

end_date?: string | Date

Set the end date of query

Default

Date.now()
groups?: string | string[]

Filter by groups.

It can ben a array of strings or only one string, each string being a group.

ids?: string | string[]

Filter by ids It can ben a array of string or only one string

origins?: string | string[]

Filter by origins It can ben a array of string or only one string

Deprecated

Filtering by origins will be removed along with the Legacy buckets.

series?: string | string[]

Filter by series It can ben a array of string or only one string

Deprecated

Deprecating this in favor of groups.

start_date?: string | Date

Set the start date of query

Filter by values It can ben a array or only one element

variables?: string | string[]

Filter by variables It can ben a array of string or only one string