---
title: "List all variables for a project"
method: GET
path: "/projects/{id}/variables"
tags: ["Variables"]
---

# List all variables for a project

`GET /projects/{id}/variables`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/variables`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Returns project-level environment variables used by deployed functions and frontends.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `page` integer
- `limit` integer
- `cursor` string
- `ending_before` string
- `offset` integer
- `search` string

## Response `200`

Successful response

- PaginatedVariables
  - `data` Variable[], required
    - `shared` boolean: Include this name in the project's shared function variables. Omission preserves existing membership; new variables default to true for legacy clients. Send false explicitly to create a non-shared variable.
    - `frontend_shared` boolean: Whether this name is in the project's shared frontend-variable list.
    - `id` string, uuid, required
    - `project_id` string, uuid, required
    - `name` string, required
    - `value` string, required
    - `status` 'provisioning' | 'active' | 'failed': Latest project variable propagation status, when a sync has run.
    - `current_sync_id` string, uuid: Identifier of the latest variable propagation sync.
    - `provisioning_started_at` string, date-time: Timestamp when the current variable propagation phase started.
    - `deploy_source` 'git' | 'cli' | 'web' | 'api' | 'system' | 'unknown': What initiated the latest variable propagation sync, when one has run.
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `page` integer, required: Current page number (1-indexed)
  - `limit` integer, required: Number of items per page
  - `total` integer, required: Total number of items across all pages
  - `has_more` boolean, required: Whether there are more pages available
  - `next` string: URL path to next page (only present if has_more is true)
  - `next_cursor` string: Opaque cursor for the next page (cursor pagination only; present if has_more is true)
  - `prev_cursor` string: Opaque cursor for the previous page (cursor pagination only; present when a previous page exists). Send as `ending_before`.

## Other responses

- `404`: Project not found

## Changes

- **2026-10-07** `23e7875e7c4c`: 2 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
  - added the optional property `data/items/frontend_shared` to the response with the `200` status
- **2026-09-19** `3a6f365f3f35`: 3 breaking, 16 info
  - added the new path request parameter `id`
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `404`
  - added the new optional `query` request parameter `cursor`
  - …15 more
- **2026-08-27** `bb44e98aba2e`: 8 breaking, 11 warning
  - the response's body type changed from `object` to no type for status `200`
  - the response's body type changed from `object` to no type for status `404`
  - removed the required property `data` from the response with the `200` status
  - removed the required property `error` from the response with the `404` status
  - …15 more
- **2026-07-27** `bb52784e098a`: 7 info
  - added the new optional `query` request parameter `cursor`
  - added the new optional `query` request parameter `ending_before`
  - added the new optional `query` request parameter `offset`
  - added the new optional `query` request parameter `search`
  - …3 more

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/variables/get.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
