---
title: "GET /environments/{environmentID}/variables"
method: GET
path: "/environments/{environmentID}/variables"
tags: ["DaVinci Admin Variables", "DaVinci Admin APIs", "PingOne DaVinci"]
---

# GET /environments/{environmentID}/variables

`GET /environments/{environmentID}/variables`

## Request

- Base URL: `https://api.pingone.com/v1`
- URL: `https://api.pingone.com/v1/environments/{environmentID}/variables`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pingidentity/apis/pingone-platform-api-2/docs/environments/:environmentID/variables/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `environmentID` string, uuid, required

## Query parameters

- `limit` integer
- `cursor` string
- `filter` string

## Headers

- `X-Ping-External-Session-ID` string
- `X-Ping-External-Transaction-ID` string

## Response `200`

Successful Operation.

- ComPingidentityPingoneDavinciVariablesResponseVariablesResponse
  - `_embedded` object, required
    - `variables` ComPingidentityPingoneDavinciVariablesResponseVariableResponse[], required
      - `_links` object, required
        - `environment` ComPingidentityApiResponseLink, required
          - `href` string, uri, required
          - `name` string
          - `profile` string, uri
          - `title` string, uri
          - `type` string
        - `self` ComPingidentityApiResponseLink, required
          - `href` string, uri, required
          - `name` string
          - `profile` string, uri
          - `title` string, uri
          - `type` string
      - `dataType` 'array' | 'boolean' | 'button' | 'list' | 'listInt' | 'mapping' | 'number' | 'object' | 'propertyGroup' | 'screenConfig' | 'secret' | 'skConnectorList' | 'skEvent' | 'string' | 'timestamp', required
      - `environment` ComPingidentityApiRelationshipPingOneRO, required
        - `id` string, uuid, required
      - `id` string, uuid, required
      - `name` string, required
      - `context` string
      - `createdAt` string, date-time
      - `displayName` string
      - `flow` ComPingidentityApiRelationshipDaVinciRO
        - `id` string, required
      - `max` number
      - `min` number
      - `mutable` boolean
      - `updatedAt` string, date-time
      - `value` union
        - boolean
        - number
        - object
        - string
  - `_links` object, required
    - `environment` ComPingidentityApiResponseLink, required
      - `href` string, uri, required
      - `name` string
      - `profile` string, uri
      - `title` string, uri
      - `type` string
    - `self` ComPingidentityApiResponseLink, required
      - `href` string, uri, required
      - `name` string
      - `profile` string, uri
      - `title` string, uri
      - `type` string
    - `next` ComPingidentityApiResponseLink
      - `href` string, uri, required
      - `name` string
      - `profile` string, uri
      - `title` string, uri
      - `type` string
  - `size` number, required
  - `count` number, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden - Note: This may occur if the environment doesn't exist. Check for environment existence with GET /environments/{environmentID} first. - Note: This may be due to eventual consistency if the environment was recently created. Try again after a short delay.
- `404`: Not Found - Note: This may be due to eventual consistency if the environment was recently created. Try again after a short delay.
- `415`: Unsupported Media Type
- `429`: Too Many Requests
- `500`: Internal Server Error
- `502`: Bad Gateway
- `503`: Service Unavailable

## Changes

- **2025-12-01** (3.1) `6581e0a8e178`: 2 info
  - added the optional property `details/items/innerError/supportedAttributes` to the response with the `400` status
  - added the optional property `details/items/innerError/supportedOperators` to the response with the `400` status
- **2025-11-18** (3.1) `386d2d092d61`: 2 breaking
  - the response property `id` became optional for the status `429`
  - the `id` response property's minLength was decreased from `1` to `0` for the response status `429`
- **2025-08-18** (3.1) `16b3c51ddcde`: 2 breaking
  - the response property `id` became optional for the status `403`
  - the `id` response property's minLength was decreased from `1` to `0` for the response status `403`

[Operation history](https://skmtc.dev/pingidentity/apis/pingone-platform-api-2/changes/environments/:environmentID/variables/get.md)

---

[API](https://skmtc.dev/pingidentity/apis/pingone-platform-api-2.md) - [All operations](https://skmtc.dev/pingidentity/apis/pingone-platform-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/pingidentity/apis/pingone-platform-api-2/revisions/6ad8bc078fb8?raw)
