List GitLab environments
list_environmentsList all environments for a GitLab project, with optional filters by name, search term, or state (available, stopping, stopped) to identify deployment targets or diagnose CI issues.
Instructions
List all environments for a project, optionally filtered by name, search term, or state (available, stopping, stopped).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Return the environment with this name. Mutually exclusive with search. | |
| page | No | ||
| search | No | Search environments by name. Mutually exclusive with name. Must be at least 3 characters. | |
| states | No | Comma-separated state filter. Accepted values: available, stopping, stopped. | |
| project | Yes | GitLab project ID or full path such as group/project. | |
| per_page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |