List a project's environments
One step with GitLab. We can help you get access.
Look something up
List a project's environments
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Environments API lets you list a project's environments in a single step (GET /api/v4/projects/{id}/environments). GitLab 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.
- Which environments exist in my project?
- Can I list only the production or staging environments?
Say it to your AI assistant
- List all environments in project {id}.
- Find the environment named {name} in project {id}.
For your developer
GET /api/v4/projects/{id}/environments in GitLab REST Environments API. Full spec on APIs.io.