// This file was auto-generated by Fern from our API Definition.

export interface InsightTimeRange {
    /**
     * This is the start date for the time range.
     *
     * Should be a valid ISO 8601 date-time string or relative time string.
     * If not provided, defaults to the 7 days ago.
     *
     * Relative time strings of the format "-{number}{unit}" are allowed.
     *
     * Valid units are:
     * - d: days
     * - h: hours
     * - w: weeks
     * - m: months
     * - y: years
     */
    start?: Record<string, unknown> | undefined;
    /**
     * This is the end date for the time range.
     *
     * Should be a valid ISO 8601 date-time string or relative time string.
     * If not provided, defaults to now.
     *
     * Relative time strings of the format "-{number}{unit}" are allowed.
     *
     * Valid units are:
     * - d: days
     * - h: hours
     * - w: weeks
     * - m: months
     * - y: years
     */
    end?: Record<string, unknown> | undefined;
    /**
     * This is the timezone you want to set for the query.
     *
     * If not provided, defaults to UTC.
     */
    timezone?: string | undefined;
}
