GitLab Container Registry Tags API

Container image tags

Operations 4

GET /projects/{id}/registry/repositories/{repository_id}/tags List tags for a repository #
DELETE /projects/{id}/registry/repositories/{repository_id}/tags Delete repository tags in bulk #
GET /projects/{id}/registry/repositories/{repository_id}/tags/{tag_name} Get details of a single tag #
DELETE /projects/{id}/registry/repositories/{repository_id}/tags/{tag_name} Delete a single tag #

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-container-registry-tags-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-container-registry-tags-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GitLab Container Registry Repositories Tags API
  description: REST API for the GitLab Container Registry, providing access to container image repositories, tags, and registry metadata stored alongside GitLab projects.
  version: 1.0.0
  contact:
    name: GitLab
    url: https://docs.gitlab.com/api/container_registry/
servers:
- url: https://gitlab.com/api/v4
  description: GitLab.com API
security:
- PrivateToken: []
- OAuth2:
  - api
tags:
- name: Tags
  description: Container image tags
paths:
  /projects/{id}/registry/repositories/{repository_id}/tags:
    get:
      summary: List tags for a repository
      operationId: listRepositoryTags
      tags:
      - Tags
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: repository_id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: A list of tags
    delete:
      summary: Delete repository tags in bulk
      operationId: deleteRepositoryTagsBulk
      tags:
      - Tags
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: repository_id
        in: path
        required: true
        schema:
          type: integer
      - name: name_regex_delete
        in: query
        schema:
          type: string
      - name: name_regex_keep
        in: query
        schema:
          type: string
      - name: keep_n
        in: query
        schema:
          type: integer
      - name: older_than
        in: query
        schema:
          type: string
      responses:
        '202':
          description: Bulk tag deletion scheduled
  /projects/{id}/registry/repositories/{repository_id}/tags/{tag_name}:
    get:
      summary: Get details of a single tag
      operationId: getRepositoryTag
      tags:
      - Tags
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: repository_id
        in: path
        required: true
        schema:
          type: integer
      - name: tag_name
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Tag details
    delete:
      summary: Delete a single tag
      operationId: deleteRepositoryTag
      tags:
      - Tags
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: repository_id
        in: path
        required: true
        schema:
          type: integer
      - name: tag_name
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Tag deleted
components:
  securitySchemes:
    PrivateToken:
      type: apiKey
      in: header
      name: PRIVATE-TOKEN
    OAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://gitlab.com/oauth/authorize
          tokenUrl: https://gitlab.com/oauth/token
          scopes:
            api: Full API access