List feature views

You can retrieve a list of all the feature view instances created within an online store in your Google Cloud project. For each feature view, you can also view the feature data source, which can be either of the following:

  • One or more feature groups and their constituent features. Each feature group is associated with a feature data source, such as a BigQuery table or view. Each feature designates a column in the BigQuery data source.

  • A BigQuery table or view directly associated with the feature view.

Before you begin

Authenticate to Vertex AI, unless you've done so already.

Select the tab for how you plan to use the samples on this page:


When you use the Google Cloud console to access Google Cloud services and APIs, you don't need to set up authentication.


To use the REST API samples on this page in a local development environment, you use the credentials you provide to the gcloud CLI.

    Install the Google Cloud CLI, then initialize it by running the following command:

    gcloud init

For more information, see Authenticate for using REST in the Google Cloud authentication documentation.

List feature views in an online store

Use the following samples to retrieve a list of feature views created for an online store in your project for a specific location.


Use the following instructions to view the list of feature views in an online store using the Google Cloud console.

  1. In the Vertex AI section of the Google Cloud console, go to the Feature Store page.

    Go to the Feature Store page

  2. Click Online store.

  3. Click the name of the online store to view its details on the Online store details page.

  4. In the Feature views section, you can view the list of all the online stores for the selected location.


To retrieve a list of all the FeatureView instances created within a specific online store in your project, send a GET request by using the featureViews.list method.

Before using any of the request data, make the following replacements:

  • LOCATION_ID: Region where the online store is located, such as us-central1.
  • PROJECT_ID: Your project ID.
  • FEATUREONLINESTORE_NAME: The name of the online store for which you want to view the list of feature views.

HTTP method and URL:


To send your request, choose one of these options:


Execute the following command:

curl -X GET \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \


Execute the following command:

$cred = gcloud auth print-access-token
$headers = @{ "Authorization" = "Bearer $cred" }

Invoke-WebRequest `
-Method GET `
-Headers $headers `
-Uri "" | Select-Object -Expand Content

You should receive a JSON response similar to the following:

  "featureViews": [
      "name": "projects/PROJECT_NUMBER/locations/LOCATION_ID/featureOnlineStores/FEATUREONLINESTORE_NAME/featureViews/FEATUREVIEW_NAME",
      "createTime": "2023-09-06T23:46:49.936284Z",
      "updateTime": "2023-09-06T23:46:49.936284Z",
      "etag": "AMEw9yOStRkXitA-ICOx0niGcNUAKkG3a5JNwo38VF-bT6BmIgdSmkd8Rskgi-NFgKmi",
      "featureRegistrySource": {
        "featureGroups": [
            "featureGroupId": "FEATUREGROUP_ID",
            "featureIds": [

What's next