GitLab API icon

GitLab API

Gitlab

Actions1062

Project_packages → getApiV4ProjectsIdPackages

AI-generated

Summary

Retrieves a list of packages for a given GitLab project.

Inputs

  • id (required) — The ID or URL-encoded path of the project
  • page — Current page number, defaults to 1
  • per_page — Number of items per page, defaults to 20
  • order_by — Field to order by (created_at, name, version, type), defaults to created_at
  • sort — Sort direction (asc, desc), defaults to asc
  • package_type — Filter by package type (maven, npm, conan, nuget, pypi, composer, generic, golang, debian, rubygems, helm, terraform_module, rpm, ml_model)
  • package_name — Filter by package name
  • package_version — Filter by package version
  • include_versionless — Include packages without a version
  • status — Filter by package status (default, hidden, processing, error, pending_destruction, deprecated)

Output shape

array of package objects

Each object follows the GitLab Packages API schema.

Links

Discussion