GitLab API

GitlabTool

Actions1095

Group_packages → getApiV4GroupsIdPackages

AI-generated

Summary

Retrieve a paginated list of packages from a specified GitLab group with optional filters and sorting.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab group whose packages to retrieve.
  • exclude_subgroups — Exclude packages from subgroups when set to true.
  • page — The page number to retrieve in the paginated results.
  • per_page — The number of packages to return per page.
  • order_by — Field by which to order the returned packages (created_at, name, version, type, project_path). Defaults to created_at.
  • sort — Sort direction of the returned packages; either ascending (asc) or descending (desc). Defaults to asc.
  • package_type — Filter packages by a specific type (e.g., maven, npm, conan, nuget, etc.).
  • package_name — Filter packages by name.
  • package_version — Filter packages by version.
  • include_versionless — Include packages that have no version.
  • status — Filter packages by status (default, hidden, processing, error, pending_destruction, deprecated).

Output shape

a paginated list of package objects from the specified GitLab group

Supports pagination via 'page' and 'per_page' query parameters. Response includes filtered and sorted package data depending on the provided query parameters. Requires authentication unless 'Skip Authentication' is set to true.

Examples

Example 1: Get first page with default 20 packages ordered by created_at ascending

Set the group 'id' path parameter, leave other query parameters unset or default.

Links

Discussion