---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/savedQueries"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/savedQueries"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/savedQueries

`GET /v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/savedQueries`

## Request

- Base URL: `https://aiplatform.googleapis.com`
- URL: `https://aiplatform.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/savedQueries`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/aiplatform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/aiplatform`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Lists SavedQueries in a Dataset.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `datasetsId` string, required

## Query parameters

- `filter` string
- `orderBy` string
- `pageSize` integer
- `pageToken` string
- `readMask` string, google-fieldmask

## Response `200`

Successful response

- GoogleCloudAiplatformV1ListSavedQueriesResponse: Response message for DatasetService.ListSavedQueries.
  - `nextPageToken` string: The standard List next-page token.
  - `savedQueries` GoogleCloudAiplatformV1SavedQuery[]: A list of SavedQueries that match the specified filter in the request.
    - `annotationFilter` string: Output only. Filters on the Annotations in the dataset.
    - `annotationSpecCount` integer: Output only. Number of AnnotationSpecs in the context of the SavedQuery.
    - `createTime` string, google-datetime: Output only. Timestamp when this SavedQuery was created.
    - `displayName` string: Required. The user-defined name of the SavedQuery. The name can be up to 128 characters long and can consist of any UTF-8 characters.
    - `etag` string: Used to perform a consistent read-modify-write update. If not set, a blind "overwrite" update happens.
    - `metadata` unknown
    - `name` string: Output only. Resource name of the SavedQuery.
    - `problemType` string: Required. Problem type of the SavedQuery. Allowed values: * IMAGE_CLASSIFICATION_SINGLE_LABEL * IMAGE_CLASSIFICATION_MULTI_LABEL * IMAGE_BOUNDING_POLY * IMAGE_BOUNDING_BOX * TEXT_CLASSIFICATION_SINGLE_LABEL * TEXT_CLASSIFICATION_MULTI_LABEL * TEXT_EXTRACTION * TEXT_SENTIMENT * VIDEO_CLASSIFICATION * VIDEO_OBJECT_TRACKING
    - `supportAutomlTraining` boolean: Output only. If the Annotations belonging to the SavedQuery can be used for AutoML training.
    - `updateTime` string, google-datetime: Output only. Timestamp when SavedQuery was last updated.

## Changes

- **2026-11-06** `3aca3b348f0c`: 4 info
  - the security scope `https://www.googleapis.com/auth/aiplatform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/aiplatform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2c`
- **2026-10-30** `34fcc627b062`: 4 info
  - the security scope `https://www.googleapis.com/auth/aiplatform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/aiplatform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/aiplatform/changes/v1/projects/:projectsId/locations/:locationsId/datasets/:datasetsId/savedQueries/get.md)

---

[API](https://skmtc.dev/google/apis/aiplatform.md) - [All operations](https://skmtc.dev/google/apis/aiplatform/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/aiplatform/revisions/3aca3b348f0c?raw)
