VERSION 1
TOKEN "endpoint_billing_get_verifications_per_workspace_per_day__v1_endpoint_read_5992" READ

NODE get_usage
SQL >

    %
    SELECT countMerge(count) as usage, workspaceId, time
    FROM mv_billing_hourly_verifications
    where time > now() - INTERVAL 32 DAY and time <= now()
    group by workspaceId, time
