---
title: "List queries"
method: GET
path: "/{account}/reports/{report}/queries"
---

# List queries

`GET /{account}/reports/{report}/queries`

## Request

- Base URL: `https://modeanalytics.com/api`
- URL: `https://modeanalytics.com/api/{account}/reports/{report}/queries`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/thoughtspot/apis/mode/docs/:account/reports/:report/queries/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns all `Queries` in a `Report`

## Path parameters

- `account` string, required
- `report` string, required

## Response `200`

`Query` collection response

- ReportQueries
  - `pagination` Pagination
    - `first_page` string, required
    - `last_page` string, required
    - `total_pages` integer, required
    - `total_count` integer, required
  - `_links` ReportQueriesLinks, required
    - `next_page` Link
      - `href` string, required
      - `templated` boolean
    - `prev_page` Link
      - `href` string, required
      - `templated` boolean
    - `self` Link, required
      - `href` string, required
      - `templated` boolean
  - `_embedded` unknown

## Other responses

- `401`: Unauthorized
- `404`: `Report` not found

---

[API](https://skmtc.dev/thoughtspot/apis/mode.md) - [All operations](https://skmtc.dev/thoughtspot/apis/mode/llms.txt) - [OpenAPI document](https://skmtc.dev/thoughtspot/apis/mode/revisions/4c694c3fdeb1?raw)
