---
title: "List prior queries"
method: GET
path: "/evaluate/queries"
tags: ["Evaluation"]
---

# List prior queries

`GET /evaluate/queries`

Paginate through all prior queries for the app, newest first.

User tokens only see their own queries; admin tokens see every query in the
app and can narrow to a single user with the `user_id` filter.

## Query parameters

- `user_id` string, nullable — Filter queries by the user that issued them.
- `cursor` string, nullable
- `size` integer

## Response `200`

Successful Response

- CursorPageQueryListItem
  - `items` QueryListItem[], required
    - `query_id` string, required — The ID of the query.
    - `user_id` string, nullable — The ID of the user that issued the query, if any.
    - `time` string, date-time, required — When the query was issued.
    - `query` string, required — The query string that was issued.
  - `next_cursor` string, nullable, required

## Other responses

- `422` — Validation Error

## Changes

> 37 revisions in range; 1 not diffed.

- **2026-06-10** `5361a6e3cabe` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hyperspell/apis/hyperspell-api/changes/evaluate/queries/get.md)

---

[API](https://skmtc.dev/hyperspell/apis/hyperspell-api.md) · [All operations](https://skmtc.dev/hyperspell/apis/hyperspell-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hyperspell/hyperspell-api/revisions/5721acd588e6/schema)
