GitLab API icon

GitLab API

Gitlab

Actions1062

Tags → getApiV4ProjectsIdRepositoryTagsTagName

AI-generated

Summary

Retrieves a specific repository tag from a GitLab project by its project ID (or URL-encoded path) and tag name.

Inputs

  • id (required) — The ID or URL-encoded path of the project.
  • tag_name (required) — The name of the tag to retrieve.

Output shape

object

The tag object returned by the GitLab API, containing fields such as name, message, target, commit, and optionally release.

Examples

Example 1: Get tag v1.0.0 from project with ID 13083

Project ID = 13083, Tag name = v1.0.0

Links

Discussion