---
title: "getProjectVars"
method: GET
path: "/platform/projects/{id}/vars"
tags: ["Platform"]
---

# getProjectVars

`GET /platform/projects/{id}/vars`

## Request

- Base URL: `https://api.imprezahost.com/v1`
- URL: `https://api.imprezahost.com/v1/platform/projects/{id}/vars`
- Auth: API key in header `X-API-Key` and API key in header `X-API-Secret`

Read scope. The project's variable group: every variable name, which are secret, and the non-secret values (sensitive-looking ones masked). Secret values are never returned; group_id is null when the project has no group. The read carries revision, a counter that goes up on every write; send it back as base_revision on the PUT.

## Path parameters

- `id` string, required

## Response `200`

Variable group read shape

## Other responses

- `400`: Invalid input
- `403`: Required scope missing
- `404`: Resource or current ownership unavailable
- `409`: Conflicting association or active operation
- `503`: Storage unavailable; read before retrying

---

[API](https://skmtc.dev/imprezahost/apis/impreza-host-public-api.md) · [All operations](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/revisions/db86511f604f?raw)
