GitLab API

GitlabTool

Actions1095

Environments → getApiV4ProjectsIdEnvironmentsEnvironmentId

AI-generated

Summary

Retrieve detailed information about a specific environment within a GitLab project by specifying the project ID or URL-encoded path and the environment ID.

Inputs

  • Id (required) — The ID or URL-encoded path of the GitLab project owned by the authenticated user.
  • Environment_id (required) — The integer ID of the specific environment within the project to retrieve.
  • Skip Authentication — Optionally skip authentication for this request; defaults to false.
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.

Output shape

a JSON object representing the environment details as returned by the GitLab API.

Returns a single environment record with all its details. Authentication is required unless explicitly skipped. The operation uses the HTTP GET method on the path /api/v4/projects/{id}/environments/{environment_id}.

Links

Discussion