---
title: "GET /apl-starred-queries"
method: GET
path: "/apl-starred-queries"
tags: ["starred"]
---

# GET /apl-starred-queries

`GET /apl-starred-queries`

## Request

- Base URL: `https://api.axiom.co/v2`
- URL: `https://api.axiom.co/v2/apl-starred-queries`
- Auth: OAuth 2
  - Authorization code: `https://accounts.google.com/o/oauth2/v2/auth`
  - Token URL: `https://www.googleapis.com/oauth2/v4/token` scopes: `starredQueries|read`
- TypeScript: <https://skmtc.dev/axiom/apis/axiom-public-api/docs/apl-starred-queries/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists saved APL queries on datasets you can read, sorted by name. Use `who` to choose whose queries to return, and `limit` and `offset` to paginate.

## Query parameters

- `limit` integer
- `offset` integer
- `dataset` string
- `who` string
- `qs` string

## Response `200`

Saved queries.

- StarredQueryWithId[]
  - `dataset` string
  - `kind` 'apl', required
  - `metadata` object, required
  - `name` string, required
  - `query` APLRequestWithOptions, required
    - `apl` string, required
    - `cursor` string
    - `defaultLimit` integer
    - `defaultOrder` APLRequestWithOptionsDefaultOrder[]
      - `desc` boolean
      - `field` string
    - `endTime` string
    - `includeCursor` boolean
    - `includeCursorField` boolean
    - `libraries` string[]
    - `queryOptions` QueryOptions
      - `disableCache` boolean
      - `disableStats` boolean
      - `disableTrace` boolean
      - `maxDataPoints` integer
      - `maxSeries` integer
      - `noAggregation` boolean
      - `noFill` boolean
      - `noInterpolation` boolean
      - `priority` 'low' | 'medium' | 'high'
      - `resolution` string
      - `displayNull` 'auto' | 'null' | 'span' | 'zero' | '': Controls how empty intervals are rendered in time series charts. `auto` infers from the query, `null` leaves gaps, `span` connects adjacent points, `zero` fills with zero.
      - `overlayCharts` 'true' | 'false' | ''
      - `shownColumns` string
      - `timeSeriesVariant` 'area' | 'bars' | 'line' | 'lines' | ''
      - `timeSeriesView` 'charts' | 'resultsTable' | 'charts|resultsTable' | ''
    - `startTime` string
    - `variables` object
  - `who` string, required
  - `id` string, required

## Other responses

- `400`: Invalid `who`.
- `404`: You can't read the dataset in `dataset`.

## Changes

- **2026-10-16** (v2) `fbc1b8430feb`: 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `404`

[Operation history](https://skmtc.dev/axiom/apis/axiom-public-api/changes/apl-starred-queries/get.md)

---

[API](https://skmtc.dev/axiom/apis/axiom-public-api.md) - [All operations](https://skmtc.dev/axiom/apis/axiom-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/axiom/apis/axiom-public-api/revisions/7e39a295e3ba?raw)
