---
title: "StartQueryRequest"
description: "StartQuery's body: SQL over the `trails` table, in a window of at most 90 days (the last 7\ndays by default)."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Trails API

StartQuery's body: SQL over the `trails` table, in a window of at most 90 days (the last 7
days by default).

## Fields

- `StartQueryRequest.sql` (string, required)
- `StartQueryRequest.from` (string | null, optional) — Inclusive, RFC 3339.
  - format `date-time`
- `StartQueryRequest.to` (string | null, optional) — Exclusive, RFC 3339.
  - format `date-time`


Source: https://docs.ezghcloud.com/trails-api/schemas/StartQueryRequest/index.md
