---
updatedAt: 2025-08-27T17:32:02.000Z
agentTools:
  projectIndex: https://documentation.bunnyshell.com/llms.txt
---

# View a specific environment variable.

View a specific environment variable.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "API Bunnyshell Environments",
    "description": "Interact with Bunnyshell Platform",
    "termsOfService": "https://www.bunnyshell.com/bunnyshell-customer-agreement/",
    "contact": {
      "name": "API Support",
      "url": "https://www.bunnyshell.com/",
      "email": "osi+support@bunnyshell.com"
    },
    "version": "1.1.0"
  },
  "servers": [
    {
      "url": "api.environments.bunnyshell.com/",
      "description": ""
    }
  ],
  "paths": {
    "/v1/environment_variables/{id}": {
      "get": {
        "operationId": "environment_variableView",
        "tags": [
          "environment_variable"
        ],
        "responses": {
          "200": {
            "description": "environment_variable resource",
            "content": {
              "application/hal+json": {
                "schema": {
                  "$ref": "#/components/schemas/environment_variable-item"
                }
              }
            }
          },
          "404": {
            "description": "Resource not found"
          },
          "4XX": {
            "description": "Request Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/problem.generic"
                }
              }
            }
          }
        },
        "summary": "View a specific environment variable.",
        "description": "View a specific environment variable.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Resource identifier",
            "required": true,
            "deprecated": false,
            "schema": {
              "type": "string"
            },
            "style": "simple",
            "explode": false
          }
        ],
        "deprecated": false
      },
      "parameters": []
    }
  },
  "components": {
    "schemas": {
      "environment_variable-item": {
        "type": "object",
        "description": "An environment variable used during Bunnyshell workflows.",
        "properties": {
          "id": {
            "readOnly": true,
            "description": "Environment variable identifier.",
            "type": "string"
          },
          "name": {
            "readOnly": true,
            "description": "Environment variable name.",
            "type": "string"
          },
          "value": {
            "readOnly": true,
            "description": "Environment variable value.",
            "type": "string",
            "nullable": true
          },
          "secret": {
            "readOnly": true,
            "description": "Environment variable marked as secret.",
            "type": "boolean"
          },
          "environment": {
            "readOnly": true,
            "description": "Environment identifier.",
            "type": "string"
          },
          "organization": {
            "readOnly": true,
            "description": "Organization identifier.",
            "type": "string"
          }
        }
      },
      "problem.generic": {
        "type": "object",
        "description": "Generic Error",
        "properties": {
          "title": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "violations": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/problem.violation"
            }
          }
        }
      },
      "problem.violation": {
        "type": "object",
        "description": "A validation error",
        "properties": {
          "propertyPath": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "oauth": {
        "type": "oauth2",
        "description": "OAuth 2.0 password Grant",
        "flows": {
          "password": {
            "tokenUrl": "/token",
            "refreshUrl": "refresh",
            "scopes": {}
          }
        }
      },
      "ApiKeyAuth": {
        "type": "apiKey",
        "description": "Value for the X-Auth-Token header parameter.",
        "name": "X-Auth-Token",
        "in": "header"
      },
      "JWT": {
        "type": "apiKey",
        "description": "Value for the Authorization header parameter.",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "oauth": []
    },
    {
      "ApiKeyAuth": []
    },
    {
      "JWT": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```