Files
gitlab-foss/doc/api/version.md
2025-07-02 12:13:07 +00:00

950 B

stage, group, info, title
stage group info title
Deploy Environments To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments Version API

{{< details >}}

  • Tier: Free, Premium, Ultimate
  • Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated

{{< /details >}}

{{< alert type="note" >}}

We recommend you use the Metadata API instead of the Version API. It contains additional information and is aligned with the GraphQL metadata endpoint. The Version API is a mirror of the Metadata API.

{{< /alert >}}

Retrieves version information for the GitLab instance. Responds with 200 OK for authenticated users.

GET /version
curl --header "PRIVATE-TOKEN: <your_access_token>" \
  "https://gitlab.example.com/api/v4/version"

Example responses

See Metadata API for the response.