---
title: "Fetch a list of Report queries"
method: GET
path: "/reporting/queries"
---

# Fetch a list of Report queries

`GET /reporting/queries`

## Query parameters

- `cursor` string
- `per_page` integer
- `search` string

## Response `200`

A paged array of Report queries

- object
  - `page` integer — current page of data, as specified by the 'page' request parameter. This page number is 0-indexed.
  - `last_page` integer — the final page number for the dataset. This is zero-indexed, so that a dataset with a record count less than or equal to the page size will be 0.
  - `data` ReportQuery[] — Details about the Report queries
    - `id` integer — The canonical identifier for this report query
    - `name` string — The human-readable name for this report query
    - `osquery_sql` string — The SQL query used to generate the report
    - `result_count` integer — Number of rows returned in the result set
    - `created_at` string, date-time — when the report query was created
    - `results` integer[] — The returned rows of data for the reporting query

## Other responses

- `403` — An 'unauthorized' response may occur for features restricted by or unavailable to your organization

---

[API](https://skmtc.net/kolide/apis/k2-api.md) · [All operations](https://skmtc.net/kolide/apis/k2-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kolide/k2-api/versions/7013d788398e/schema)
