---
title: "List all variables"
method: GET
path: "/v4/variables/"
tags: ["Variables"]
---

# List all variables

`GET /v4/variables/`

## Request

- Base URL: `https://api.kadoa.com`
- URL: `https://api.kadoa.com/v4/variables/`
- Auth: API key in header `x-api-key`

Retrieve all variables in the current team/user scope (max 100).

## Response `200`

200

- VariablesListResponse: Response containing a list of variables
  - `variables` Variable[], required
    - union: A variable. Secret responses contain metadata only and never expose the value.
      - object
        - `id` string, required: Unique variable identifier
        - `key` string, required: Variable key (unique per team/user scope)
        - `value` string, required: Variable value
        - `dataType` 'STRING' | 'OBJECT' | 'ARRAY' | 'NUMBER'
        - `createdAt` string, required: ISO 8601 creation timestamp
        - `updatedAt` string: ISO 8601 last update timestamp
      - object
        - `id` string, required: Unique variable identifier
        - `key` string, required: Variable key (unique per team scope)
        - `dataType` 'SECRET', required
        - `provider` 'GOOGLE_SECRET_MANAGER', required
        - `managementMode` 'KADOA_MANAGED' | 'CUSTOMER_MANAGED', required
        - `status` 'ACTIVE' | 'NEEDS_ATTENTION' | 'DELETING', required
        - `currentVersion` string
        - `lastResolvedVersion` string
        - `createdAt` string, required: ISO 8601 creation timestamp
        - `updatedAt` string: ISO 8601 last update timestamp
        - `lastRotatedAt` string
        - `lastResolvedAt` string
  - `error` string, nullable, required

## Other responses

- `401`: 401
- `403`: 403
- `500`: 500

---

[API](https://skmtc.dev/kadoa/apis/kadoa-api.md) · [All operations](https://skmtc.dev/kadoa/apis/kadoa-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kadoa/apis/kadoa-api/revisions/bf7803c927b4?raw)
