GitLab API

GitlabTool

Actions1095

Deployments → getApiV4ProjectsIdDeployments

AI-generated

Summary

Lists deployments for a GitLab project. Use the project ID or URL-encoded path and optional filters, ordering, and pagination settings to retrieve matching deployments.

Inputs

  • skipAuthentication — Skips authentication when enabled; otherwise the GitLab API credential is used.
  • baseUrl — Base URL field, defaulting to https://gitlab.com. The node source says the actual base URL is defined in the GitLab API credential.
  • method — HTTP method selector, default GET; other methods are available even though this operation is a deployment listing.
  • pathParameters.id (required) — Project ID or URL-encoded project path.
  • queryParameters.page — Page number for pagination.
  • queryParameters.per_page — Number of deployments per page.
  • queryParameters.order_by — Ordering field. The schema default is id; it declares id, iid, created_at, updated_at, and finished_at.
  • queryParameters.sort — Sort direction, asc or desc; schema default is asc.
  • queryParameters.updated_after — Filter to deployments updated after an ISO 8601 date-time.
  • queryParameters.updated_before — Filter to deployments updated before an ISO 8601 date-time.
  • queryParameters.finished_after — Filter to deployments finished after an ISO 8601 date-time.
  • queryParameters.finished_before — Filter to deployments finished before an ISO 8601 date-time.
  • queryParameters.environment — Filter by environment name.
  • queryParameters.status — Filter by deployment status: created, running, success, failed, canceled, skipped, or blocked.

Output shape

A list of deployment records returned by the GitLab API.

The operation uses GET by default at /api/v4/projects/{id}/deployments. Results may be paginated using page and per_page. The source pack does not expose response transformation details.

Links

Discussion