---
title: "Get all project variables for a project"
method: GET
path: "/v1/projects/{projectId}/variables"
tags: ["Project Variables"]
---

# Get all project variables for a project

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

Get all project variables for a project

## Path parameters

- `projectId` string, uuid, required

## Query parameters

- `page` unknown
- `size` unknown

## Response `200`

Project variables have been retrieved

- PagedResultListProjectVariable
  - `page` integer — The 0-indexed page number of the returned results.
  - `results` ProjectVariable[] — Page of results or empty.
    - `behaviour` 'COPIED' | 'SHARED'
    - `description` string
    - `id` string, uuid
    - `name` string
    - `supportsDoubleResolution` boolean
    - `type` 'NUMBER' | 'TEXT' | 'DATETIME'
    - `value` unknown
  - `size` integer — The size of each page of results.
  - `total` integer — Total number of available results across all pages.

## Other responses

- `400` — Wrong request parameters used
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Project not found
- `500` — Unexpected error occurred
- `504` — Gateway timeout

---

[API](https://skmtc.net/maia/apis/maia-public-rest-api.md) · [All operations](https://skmtc.net/maia/apis/maia-public-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/maia/maia-public-rest-api/revisions/6239825f68eb/schema)
