---
title: "GET /v2/projects/{projectsId}/locations/{locationsId}/instances:getConfig"
method: GET
path: "/v2/projects/{projectsId}/locations/{locationsId}/instances:getConfig"
tags: ["projects"]
---

# GET /v2/projects/{projectsId}/locations/{locationsId}/instances:getConfig

`GET /v2/projects/{projectsId}/locations/{locationsId}/instances:getConfig`

## Request

- Base URL: `https://notebooks.googleapis.com`
- URL: `https://notebooks.googleapis.com/v2/projects/{projectsId}/locations/{locationsId}/instances:getConfig`
- Auth: one of:
  - 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`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/notebooks`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/notebooks`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/notebooks.readonly`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/notebooks.readonly`

Returns various configuration parameters.

## Path parameters

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

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Response `200`

Successful response

- Config: Response for getting WbI configurations in a location
  - `availableImages` ImageRelease[]: Output only. The list of available images to create a WbI.
    - `description` string: Output only. The description of the image.
    - `imageFamily` string: Output only. The image family of the image. (ex: workbench-instances or workbench-2603)
    - `imageName` string: Output only. The name of the image of the form workbench-instances-vYYYYmmdd--
    - `releaseName` string: Output only. The release of the image of the form m123
  - `defaultValues` DefaultValues: DefaultValues represents the default configuration values.
    - `machineType` string: Output only. The default machine type used by the backend if not provided by the user.
  - `disableWorkbenchLegacyCreation` boolean: Output only. Flag to disable the creation of legacy Workbench notebooks (User-managed notebooks and Google-managed notebooks).
  - `supportedValues` SupportedValues: SupportedValues represents the values supported by the configuration.
    - `acceleratorTypes` string[]: Output only. The accelerator types supported by WbI.
    - `machineTypes` string[]: Output only. The machine types supported by WbI.

## Changes

- **2026-12-05** `4dfb67434032`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/notebooks` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/notebooks` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/notebooks/changes/v2/projects/:projectsId/locations/:locationsId/instances:getConfig/get.md)

---

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