---
title: "List variables for a project"
method: GET
path: "/runners/variables/projects/{projectId}"
tags: ["projectVariable_other"]
---

# List variables for a project

`GET /runners/variables/projects/{projectId}`

## Path parameters

- `projectId` string, required

## Response `200`

List of project variables

- VariableWithOrigin[]
  - `key` string
  - `value` string
  - `sensitivity` 'string' | 'secret'
  - `destination` 'env' | 'iac'
  - `origin` VariableOrigin
    - `type` 'project' | 'workspace' | 'variable_set', required
    - `fullName` string
    - `fullId` string
    - `variableSetFullName` string
    - `variableSetFullId` string
    - `consumerType` 'project' | 'workspace'
    - `projectDepth` integer
    - `variableSetDepth` integer
    - `variableSetId` string, required

---

[API](https://skmtc.net/firefly/apis/api-gateway.md) · [All operations](https://skmtc.net/firefly/apis/api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/firefly/api-gateway/revisions/eea119b4113f/schema)
