---
title: "QueryList"
description: "A page of the query history, newest first."
---

> 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

A page of the query history, newest first.

## Fields

- `QueryList.queries` (array<object>, required)
  - `QueryList.queries.cancelRequested` (boolean, required)
  - `QueryList.queries.createdAt` (string, required)
    - format `date-time`
  - `QueryList.queries.createdBy` (string, required) — The principal who started it.
  - `QueryList.queries.from` (string, required)
    - format `date-time`
  - `QueryList.queries.id` (string, required)
    - format `uuid`
  - `QueryList.queries.queuePosition` (integer | null, required) — Its place in the organization's line while it's queued (1 is next), in GetQuery's answer; null otherwise, and in lists.
    - format `int64`
  - `QueryList.queries.sql` (string, required)
  - `QueryList.queries.status` (string, required) — queued, running, succeeded, failed or cancelled.
  - `QueryList.queries.to` (string, required)
    - format `date-time`
  - `QueryList.queries.truncated` (boolean, required)
  - `QueryList.queries.createdByIdentity` (object | null, optional)
  - `QueryList.queries.error` (one of, optional)
    - one of: [QueryError](/trails-api/schemas/QueryError/), `null`
  - `QueryList.queries.finishedAt` (string | null, optional)
  - `QueryList.queries.resultRows` (integer | null, optional)
    - format `int64`
  - `QueryList.queries.startedAt` (string | null, optional)
  - `QueryList.queries.stats` (one of, optional)
    - one of: [QueryStats](/trails-api/schemas/QueryStats/), `null`
- `QueryList.nextCursor` (string | null, optional)


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