GitLab CI/CD pypi_packages API

Operations related to PyPI packages

Operations 1

GET /api/v4/groups/{id}/-/packages/pypi/files/{sha256}/*file_identifier Download a package file from a group #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gitlab-ci-pypi-packages-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gitlab-ci-pypi-packages-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GitLab access_requests Pypi Packages API
  version: v4
  description: Operations related to access requests
servers:
- url: https://gitlab.com
tags:
- name: pypi_packages
  description: Operations related to PyPI packages
paths:
  /api/v4/groups/{id}/-/packages/pypi/files/{sha256}/*file_identifier:
    get:
      summary: Download a package file from a group
      description: This feature was introduced in GitLab 13.12
      parameters:
      - in: path
        name: id
        description: The ID or full path of the group.
        required: true
        schema:
          type: integer
          format: int32
      - in: query
        name: file_identifier
        description: The PyPi package file identifier
        required: true
        example: my.pypi.package-0.0.1.tar.gz
        schema:
          type: string
      - in: path
        name: sha256
        description: The PyPi package sha256 check sum
        required: true
        example: 5y57017232013c8ac80647f4ca153k3726f6cba62d055cd747844ed95b3c65ff
        schema:
          type: string
      responses:
        '200':
          description: Download a package file from a group
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      tags:
      - pypi_packages
      operationId: getApiV4GroupsIdPackagesPypiFilesSha256*fileIdentifier
components:
  securitySchemes:
    access_token_header:
      type: apiKey
      name: PRIVATE-TOKEN
      in: header
    access_token_query:
      type: apiKey
      name: private_token
      in: query