---
title: "Get list of project variables"
method: GET
path: "/projects/{projectId}/variables"
tags: ["Project Variables"]
---

# Get list of project variables

`GET /projects/{projectId}/variables`

Retrieve a list of objects representing the user-defined variables
within a project.

## Path parameters

- `projectId` string, required

## Response `default`

- ProjectVariable[]
  - `id` string, required — The identifier of ProjectVariable
  - `created_at` string, date-time, nullable, required — The creation date
  - `updated_at` string, date-time, nullable, required — The update date
  - `name` string, required — Name of the variable
  - `attributes` object, required — Arbitrary attributes attached to this resource
  - `value` string — Value of the variable
  - `is_json` boolean, required — The variable is a JSON string
  - `is_sensitive` boolean, required — The variable is sensitive
  - `visible_build` boolean, required — The variable is visible during build
  - `visible_runtime` boolean, required — The variable is visible at runtime
  - `application_scope` string[], required — Applications that have access to this variable

---

[API](https://skmtc.net/upsun/apis/upsun-com-rest-api.md) · [All operations](https://skmtc.net/upsun/apis/upsun-com-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/upsun/upsun-com-rest-api/revisions/6cc88fde6435/schema)
