List an environment's variables
One step with Platform.sh. We can help you get access.
Look something up
List an environment's variables
Works with AI assistantsUse Platform.sh: its Platform.sh Environment Variables API lets you list an environment's variables in a single step (GET /projects/{projectId}/environments/{environmentId}/variables). Platform.sh also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- What user-defined variables are set on an environment?
- Can I see all the variables an environment inherits?
Say it to your AI assistant
- List the variables on environment {environmentId} of project {projectId}.
- Show every user-defined variable in {environmentId} of {projectId}.
For your developer
GET /projects/{projectId}/environments/{environmentId}/variables in Platform.sh Environment Variables API. Full spec on APIs.io.