Briyah SDK - v2.0.6
    Preparing search index...

    Interface DataQuery

    A question, as an agent asks it.

    With no groupBy and no metrics this is a plain listing of rows. With either, it is an aggregate: groupBy names the dimensions and metrics the numbers, exactly as a pivot table would.

    interface DataQuery {
        dataset: string;
        filters?: DataFilter[];
        groupBy?: string[];
        limit?: number;
        metrics?: DataMetric[];
        orderBy?: DataOrder[];
        select?: string[];
    }
    Index
    dataset: string
    filters?: DataFilter[]
    groupBy?: string[]
    limit?: number
    metrics?: DataMetric[]
    orderBy?: DataOrder[]
    select?: string[]

    Fields to return when this is a listing rather than an aggregate.