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

# GET /v1/projects/{projectsId}/locations/{locationsId}/serverConfig

`GET /v1/projects/{projectsId}/locations/{locationsId}/serverConfig`

## Request

- Base URL: `https://container.googleapis.com`
- URL: `https://container.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/serverConfig`
- 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/container`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/container`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/container.read-only`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/container.read-only`

Returns configuration info about the Google Kubernetes Engine service.

## Path parameters

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

## Query parameters

- `projectId` string
- `zone` string

## Response `200`

Successful response

- ServerConfig: Kubernetes Engine service configuration.
  - `channels` ReleaseChannelConfig[]: List of release channel configurations.
    - `channel` 'UNSPECIFIED' | 'RAPID' | 'REGULAR' | 'STABLE' | 'EXTENDED': The release channel this configuration applies to.
    - `customVersions` string[]: Output only. List of custom versions for the channel.
    - `defaultVersion` string: The default version for newly created clusters on the channel.
    - `previewVersions` string[]: Output only. List of preview versions for the channel.
    - `upgradeTargetVersion` string: The auto upgrade target version for clusters on the channel.
    - `validVersions` string[]: List of valid versions for the channel.
  - `defaultClusterVersion` string: Version of Kubernetes the service deploys by default.
  - `defaultImageType` string: Default image type.
  - `validImageTypes` string[]: List of valid image types.
  - `validMasterVersions` string[]: List of valid master versions, in descending order.
  - `validNodeVersions` string[]: List of valid node upgrade target versions, in descending order.

## Changes

- **2026-11-03** `649eae563481`: 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/container.read-only` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/container.read-only` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/container/changes/v1/projects/:projectsId/locations/:locationsId/serverConfig/get.md)

---

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